linux.hh (11320:42ecb523c64a) linux.hh (11381:516213d2f0cf)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

51 int64_t st_atimeX;
52 int64_t st_mtimeX;
53 int64_t st_ctimeX;
54 int64_t st_blksize;
55 int64_t st_blocks;
56 uint64_t __unused4[2];
57 } tgt_stat;
58
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

51 int64_t st_atimeX;
52 int64_t st_mtimeX;
53 int64_t st_ctimeX;
54 int64_t st_blksize;
55 int64_t st_blocks;
56 uint64_t __unused4[2];
57 } tgt_stat;
58
59 static OpenFlagTransTable openFlagTable[];
59 static SyscallFlagTransTable openFlagTable[];
60
61 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY
62 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY
63 static const int TGT_O_RDWR = 0x00000002; //!< O_RDWR
64 static const int TGT_O_NONBLOCK = 0x00004000; //!< O_NONBLOCK
65 static const int TGT_O_APPEND = 0x00000008; //!< O_APPEND
66 static const int TGT_O_CREAT = 0x00000200; //!< O_CREAT
67 static const int TGT_O_TRUNC = 0x00000400; //!< O_TRUNC

--- 108 unchanged lines hidden ---
60
61 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY
62 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY
63 static const int TGT_O_RDWR = 0x00000002; //!< O_RDWR
64 static const int TGT_O_NONBLOCK = 0x00004000; //!< O_NONBLOCK
65 static const int TGT_O_APPEND = 0x00000008; //!< O_APPEND
66 static const int TGT_O_CREAT = 0x00000200; //!< O_CREAT
67 static const int TGT_O_TRUNC = 0x00000400; //!< O_TRUNC

--- 108 unchanged lines hidden ---