linux.hh (8972:9403273a3b46) linux.hh (11381:516213d2f0cf)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 53 unchanged lines hidden (view full) ---

62 uint64_t st_atime_nsec;
63 uint64_t st_mtimeX;
64 uint64_t st_mtime_nsec;
65 uint64_t st_ctimeX;
66 uint64_t st_ctime_nsec;
67 int64_t unused0[3];
68 } tgt_stat64;
69
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 53 unchanged lines hidden (view full) ---

62 uint64_t st_atime_nsec;
63 uint64_t st_mtimeX;
64 uint64_t st_mtime_nsec;
65 uint64_t st_ctimeX;
66 uint64_t st_ctime_nsec;
67 int64_t unused0[3];
68 } tgt_stat64;
69
70 static OpenFlagTransTable openFlagTable[];
70 static SyscallFlagTransTable openFlagTable[];
71
72 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
73 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
74 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
75 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
76 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
77 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
78 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC

--- 56 unchanged lines hidden (view full) ---

135 uint32_t st_atime_nsec;
136 uint32_t st_mtimeX;
137 uint32_t st_mtime_nsec;
138 uint32_t st_ctimeX;
139 uint32_t st_ctime_nsec;
140 uint64_t st_ino;
141 } __attribute__((__packed__)) tgt_stat64;
142
71
72 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
73 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
74 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
75 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
76 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
77 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
78 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC

--- 56 unchanged lines hidden (view full) ---

135 uint32_t st_atime_nsec;
136 uint32_t st_mtimeX;
137 uint32_t st_mtime_nsec;
138 uint32_t st_ctimeX;
139 uint32_t st_ctime_nsec;
140 uint64_t st_ino;
141 } __attribute__((__packed__)) tgt_stat64;
142
143 static OpenFlagTransTable openFlagTable[];
143 static SyscallFlagTransTable openFlagTable[];
144
145 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
146 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
147 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
148 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
149 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
150 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
151 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC

--- 35 unchanged lines hidden ---
144
145 static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY
146 static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY
147 static const int TGT_O_RDWR = 00000002; //!< O_RDWR
148 static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK
149 static const int TGT_O_APPEND = 00002000; //!< O_APPEND
150 static const int TGT_O_CREAT = 00000100; //!< O_CREAT
151 static const int TGT_O_TRUNC = 00001000; //!< O_TRUNC

--- 35 unchanged lines hidden ---