Message type for VFS_GETVFSSTAT

Change-Id: I27f1f6dc37832ee4adb9854c7306ce6153e31567
This commit is contained in:
2014-05-12 11:34:18 +02:00
parent 7332005370
commit ccdf11c7cf
4 changed files with 16 additions and 11 deletions

View File

@@ -232,11 +232,6 @@
#define NR_VFS_CALLS 49 /* highest number from base plus one */
/* Field names for the getvfsstat(2) call. */
#define VFS_GETVFSSTAT_BUF m1_p1 /* struct statvfs * */
#define VFS_GETVFSSTAT_LEN m1_i1 /* size_t */
#define VFS_GETVFSSTAT_FLAGS m1_i2 /* int */
/* Field names for the statvfs1(2) and fstatvfs1(2) calls. */
#define VFS_STATVFS1_LEN m1_i1 /* size_t */
#define VFS_STATVFS1_NAME m1_p1 /* const char * */

View File

@@ -146,6 +146,15 @@ typedef struct {
} mess_sigcalls;
_ASSERT_MSG_SIZE(mess_sigcalls);
typedef struct {
int32_t flags;
size_t len;
vir_bytes buf; /* struct statvfs */
uint8_t padding[44];
} mess_lc_vfs_getvfsstat;
_ASSERT_MSG_SIZE(mess_lc_vfs_getvfsstat);
typedef struct {
uint32_t nfds;
fd_set *readfds;
@@ -608,6 +617,7 @@ typedef struct {
mess_fs_vfs_readsuper m_fs_vfs_readsuper;
mess_fs_vfs_readwrite m_fs_vfs_readwrite;
mess_lc_vfs_getvfsstat m_lc_vfs_getvfsstat;
mess_lc_vfs_select m_lc_vfs_select;
mess_vfs_fs_breadwrite m_vfs_fs_breadwrite;