stat.h: remove some big_ types

Change-Id: I84017db3d54edfb823cc52e02d0b07fccb003988
This commit is contained in:
Thomas Veerman
2013-03-07 15:55:22 +00:00
committed by Lionel Sambuc
parent ab19ece134
commit c1a31d53d9
51 changed files with 1228 additions and 176 deletions

View File

@@ -17,7 +17,7 @@
#define CHMOD 15
#define CHOWN 16
#define BRK 17
#define LSEEK 19
#define LSEEK_321 19
#define MINIX_GETPID 20
#define MOUNT 21
#define UMOUNT 22
@@ -48,7 +48,7 @@
#define FSTAT 52
#define LSTAT 53
#define IOCTL 54
#define FCNTL 55
#define FCNTL_321 55
#define FS_READY 57
#define PIPE2 58
#define EXEC 59
@@ -59,6 +59,8 @@
#define ITIMER 64
#define GETMCONTEXT 67
#define SETMCONTEXT 68
#define GETDENTS 69
#define FTRUNCATE 70
/* Posix signal handling. */
#define SIGACTION 71
@@ -70,7 +72,7 @@
#define REBOOT 76
#define SVRCTL 77
#define SYSUNAME 78
#define GETDENTS 80 /* to VFS */
#define GETDENTS_321 80 /* to VFS */
#define LLSEEK 81 /* to VFS */
#define FSTATFS 82 /* to VFS */
#define STATVFS 83 /* to VFS */
@@ -83,14 +85,14 @@
#define GETTIMEOFDAY 90 /* to PM */
#define SETEUID 91 /* to PM */
#define SETEGID 92 /* to PM */
#define TRUNCATE 93 /* to VFS */
#define FTRUNCATE 94 /* to VFS */
#define TRUNCATE_321 93 /* to VFS */
#define FTRUNCATE_321 94 /* to VFS */
#define FCHMOD 95 /* to VFS */
#define FCHOWN 96 /* to VFS */
#define LSEEK 97
#define SPROF 98 /* to PM */
#define CPROF 99 /* to PM */
/* Calls provided by PM and FS that are not part of the API */
#define PM_NEWEXEC 100 /* from VFS or RS to PM: new exec */
#define SRV_FORK 101 /* to PM: special fork call for RS */
#define EXEC_RESTART 102 /* to PM: final part of exec for RS */
@@ -98,6 +100,8 @@
#define ISSETUGID 106 /* to PM: ask if process is tainted */
#define GETEPINFO_O 107 /* to PM: get pid/uid/gid of an endpoint */
#define UTIMENS 108 /* to FS: [f]utimens(); also [fl]utimes */
#define FCNTL 109 /* to VFS */
#define TRUNCATE 110 /* to VFS */
#define SRV_KILL 111 /* to PM: special kill call for RS */
#define GCOV_FLUSH 112 /* flush gcov data from server to gcov files */

View File

@@ -5,6 +5,9 @@
#define OS_RELEASE "3"
#define OS_VERSION "2.1"
/* Keep these in sync with os_version above for temp version check in VFS */
#define OS_VMAJOR 2
#define OS_VMINOR 1
/* This file sets configuration parameters for the MINIX kernel, FS, and PM.
* It is divided up into two main sections. The first section contains
* user-settable parameters. In the second section, various internal system

View File

@@ -75,7 +75,7 @@
#define VFS_FS_PROTO_VERSION(b) (((b) & RES_PROTO_V_MASK) >> RES_PROTO_V_SHIFT)
#define VFS_FS_PROTO_PUT_VERSION(b,v) \
((b) |= (((v) << RES_PROTO_V_SHIFT) & RES_PROTO_V_MASK))
#define VFS_FS_CURRENT_VERSION 0 /* Current version */
#define VFS_FS_CURRENT_VERSION 1 /* Current version */
/* VFS/FS flags */
#define REQ_RDONLY 001

View File

@@ -7,7 +7,7 @@
#include <sys/types.h>
struct statfs {
off_t f_bsize; /* file system block size */
int f_bsize; /* file system block size */
};
int fstatfs(int fd, struct statfs *st);

View File

@@ -18,7 +18,7 @@ struct mapreq
struct mapreqvm
{
int flags; /* reserved, must be 0 */
off_t phys_offset;
phys_bytes phys_offset;
size_t size;
int readonly;
char reserved[36]; /* reserved, must be 0 */