/[qemu]/qemu/linux-user/syscall_defs.h
ViewVC logotype

Diff of /qemu/linux-user/syscall_defs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by bellard, Sat Nov 26 18:47:20 2005 UTC revision 1.24 by bellard, Mon Nov 28 22:28:41 2005 UTC
# Line 1102  struct target_stat64 { Line 1102  struct target_stat64 {
1102  #error unsupported CPU  #error unsupported CPU
1103  #endif  #endif
1104    
1105    #ifdef TARGET_MIPS
1106    struct target_statfs {
1107            target_long             f_type;
1108            target_long             f_bsize;
1109            target_long             f_frsize;       /* Fragment size - unsupported */
1110            target_long             f_blocks;
1111            target_long             f_bfree;
1112            target_long             f_files;
1113            target_long             f_ffree;
1114            target_long             f_bavail;
1115    
1116            /* Linux specials */
1117            int     f_fsid;
1118            target_long             f_namelen;
1119            target_long             f_spare[6];
1120    };
1121    
1122    struct target_statfs64 {
1123            uint32_t        f_type;
1124            uint32_t        f_bsize;
1125            uint32_t        f_frsize;       /* Fragment size - unsupported */
1126            uint32_t        __pad;
1127            uint64_t        f_blocks;
1128            uint64_t        f_bfree;
1129            uint64_t        f_files;
1130            uint64_t        f_ffree;
1131            uint64_t        f_bavail;
1132            int f_fsid;
1133            uint32_t        f_namelen;
1134            uint32_t        f_spare[6];
1135    };
1136    #else
1137    struct target_statfs {
1138            uint32_t f_type;
1139            uint32_t f_bsize;
1140            uint32_t f_blocks;
1141            uint32_t f_bfree;
1142            uint32_t f_bavail;
1143            uint32_t f_files;
1144            uint32_t f_ffree;
1145            int f_fsid;
1146            uint32_t f_namelen;
1147            uint32_t f_frsize;
1148            uint32_t f_spare[5];
1149    };
1150    
1151    struct target_statfs64 {
1152            uint32_t f_type;
1153            uint32_t f_bsize;
1154            uint64_t f_blocks;
1155            uint64_t f_bfree;
1156            uint64_t f_bavail;
1157            uint64_t f_files;
1158            uint64_t f_ffree;
1159            int f_fsid;
1160            uint32_t f_namelen;
1161            uint32_t f_frsize;
1162            uint32_t f_spare[5];
1163    };
1164    #endif
1165    
1166    
1167  #define TARGET_F_DUPFD         0       /* dup */  #define TARGET_F_DUPFD         0       /* dup */
1168  #define TARGET_F_GETFD         1       /* get close_on_exec */  #define TARGET_F_GETFD         1       /* get close_on_exec */
1169  #define TARGET_F_SETFD         2       /* set/clear close_on_exec */  #define TARGET_F_SETFD         2       /* set/clear close_on_exec */

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26