Subversion Repositories HelenOS

Rev

Rev 4368 | Rev 4463 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4368 Rev 4401
Line 36... Line 36...
36
#include <ipc/ipc.h>
36
#include <ipc/ipc.h>
37
#include <libadt/list.h>
37
#include <libadt/list.h>
38
#include <futex.h>
38
#include <futex.h>
39
#include <rwlock.h>
39
#include <rwlock.h>
40
#include <sys/types.h>
40
#include <sys/types.h>
-
 
41
#include <devmap.h>
41
#include <bool.h>
42
#include <bool.h>
42
 
43
 
43
// FIXME: according to CONFIG_DEBUG
44
// FIXME: according to CONFIG_DEBUG
44
// #define dprintf(...) printf(__VA_ARGS__)
45
// #define dprintf(...) printf(__VA_ARGS__)
45
 
46
 
Line 47... Line 48...
47
 
48
 
48
#define VFS_FIRST   IPC_FIRST_USER_METHOD
49
#define VFS_FIRST   IPC_FIRST_USER_METHOD
49
 
50
 
50
/* Basic types. */
51
/* Basic types. */
51
typedef int16_t fs_handle_t;
52
typedef int16_t fs_handle_t;
52
typedef int16_t dev_handle_t;
-
 
53
typedef uint32_t fs_index_t;
53
typedef uint32_t fs_index_t;
54
 
54
 
55
typedef enum {
55
typedef enum {
56
    VFS_READ = VFS_FIRST,
56
    VFS_READ = VFS_FIRST,
57
    VFS_WRITE,
57
    VFS_WRITE,