summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-02-12 16:41:29 -0800
committerGabe Black <gblack@eecs.umich.edu>2012-02-12 16:41:29 -0800
commiteada4268ef3fcd5af7e0a522e6a629b3affa21b8 (patch)
tree399a89a37e6f74ad7391a092adc125460870c468 /src/arch
parent67f16a48fb818a8409420fc6b72a176e1854b8e0 (diff)
downloadgem5-eada4268ef3fcd5af7e0a522e6a629b3affa21b8.tar.xz
X86: open flags: Another patch from Vince Weaver
Diffstat (limited to 'src/arch')
-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 4e5d43d45..716aa8f81 100644
--- a/src/arch/x86/linux/linux.hh
+++ b/src/arch/x86/linux/linux.hh
@@ -150,11 +150,13 @@ class X86Linux32 : 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;