summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVince Weaver <vince@csl.cornell.edu>2012-04-29 00:31:03 -0700
committerVince Weaver <vince@csl.cornell.edu>2012-04-29 00:31:03 -0700
commit03a91b05333ff5f0aa7630be108295b267ac9d90 (patch)
treeb1068945e0d6538064ee3182896b7980051c6c27
parent38799e2b3fbab4101e34b2a10e407cf41ade603f (diff)
downloadgem5-03a91b05333ff5f0aa7630be108295b267ac9d90.tar.xz
X86: Fix up the open system call's flags.
-rw-r--r--src/arch/x86/linux/linux.hh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh
index 716aa8f81..b2047f65e 100644
--- a/src/arch/x86/linux/linux.hh
+++ b/src/arch/x86/linux/linux.hh
@@ -79,11 +79,13 @@ class X86Linux64 : public Linux
static const int TGT_O_EXCL = 00000200; //!< O_EXCL
static const int TGT_O_NOCTTY = 00000400; //!< O_NOCTTY
static const int TGT_O_SYNC = 00010000; //!< O_SYNC
-// static const int TGT_O_DRD = 0x00010000; //!< O_DRD
-// static const int TGT_O_DIRECTIO = 0x00020000; //!< O_DIRECTIO
-// static const int TGT_O_CACHE = 0x00002000; //!< O_CACHE
-// static const int TGT_O_DSYNC = 0x00008000; //!< O_DSYNC
-// static const int TGT_O_RSYNC = 0x00040000; //!< O_RSYNC
+ static const int TGT_O_ASYNC = 00020000;
+ static const int TGT_O_DIRECT = 00040000; //!< O_DIRECTIO
+ static const int TGT_O_LARGEFILE = 00100000;
+ static const int TGT_O_DIRECTORY = 00200000;
+ static const int TGT_O_NOFOLLOW = 00400000;
+ static const int TGT_O_NOATIME = 01000000;
+ static const int TGT_O_CLOEXEC = 02000000;
static const int NUM_OPEN_FLAGS;