Message type for VFS_MOUNT

Change-Id: I4114f5a1aa4f9efe49a12996722499b695c17230
This commit is contained in:
2014-05-12 12:00:38 +02:00
parent ad7e3e56c8
commit ecc9010c4b
4 changed files with 34 additions and 29 deletions

View File

@@ -232,17 +232,6 @@
#define NR_VFS_CALLS 49 /* highest number from base plus one */
/* Field names for the mount(2) call. */
#define VFS_MOUNT_FLAGS m11_i1 /* int */
#define VFS_MOUNT_DEVLEN m11_s1 /* size_t */
#define VFS_MOUNT_PATHLEN m11_s2 /* size_t */
#define VFS_MOUNT_TYPELEN m11_s3 /* size_t */
#define VFS_MOUNT_LABELLEN m11_s4 /* size_t */
#define VFS_MOUNT_DEV m11_p1 /* char * */
#define VFS_MOUNT_PATH m11_p2 /* char * */
#define VFS_MOUNT_TYPE m11_p3 /* char * */
#define VFS_MOUNT_LABEL m11_p4 /* char * */
/* Field names for the umount(2) call. */
#define VFS_UMOUNT_NAME m1_p1 /* char * */
#define VFS_UMOUNT_NAMELEN m1_i1 /* size_t */

View File

@@ -155,6 +155,21 @@ typedef struct {
} mess_lc_vfs_getvfsstat;
_ASSERT_MSG_SIZE(mess_lc_vfs_getvfsstat);
typedef struct {
int flags;
size_t devlen;
size_t pathlen;
size_t typelen;
size_t labellen;
vir_bytes dev;
vir_bytes path;
vir_bytes type;
vir_bytes label;
uint8_t padding[20];
} mess_lc_vfs_mount;
_ASSERT_MSG_SIZE(mess_lc_vfs_mount);
typedef struct {
uint32_t nfds;
fd_set *readfds;
@@ -629,6 +644,7 @@ typedef struct {
mess_fs_vfs_readwrite m_fs_vfs_readwrite;
mess_lc_vfs_getvfsstat m_lc_vfs_getvfsstat;
mess_lc_vfs_mount m_lc_vfs_mount;
mess_lc_vfs_select m_lc_vfs_select;
mess_lc_vfs_statvfs1 m_lc_vfs_statvfs1;