diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2016-04-01 16:38:15 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2016-04-01 16:38:15 -0700 |
commit | 0e214bdfd1dd2e963200875bc8f5ea31e5262503 (patch) | |
tree | fb1402ef189c8904cc9f62a65cc9bbcfef26412c /src/arch/mips/linux/linux.hh | |
parent | 41c358c411a0a1dd555c9da9b01c3ff39937b367 (diff) | |
download | gem5-0e214bdfd1dd2e963200875bc8f5ea31e5262503.tar.xz |
syscall_emul: factor out flag tables into common file
The openFlagTable and mmapFlagTables for emulated Linux
platforms are basically identical, but are specified
repetitively for every platform. Use a common file
that gets included for each platform so that we only
have one copy, making them more consistent and simplifying
changes (like adding #ifdefs).
In the process, made some minor fixes that slipped through
due to previous inconsistencies, and added more #ifdefs
to try to fix building on alternative hosts.
Diffstat (limited to 'src/arch/mips/linux/linux.hh')
-rw-r--r-- | src/arch/mips/linux/linux.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/mips/linux/linux.hh b/src/arch/mips/linux/linux.hh index f4b18397e..e0b785c76 100644 --- a/src/arch/mips/linux/linux.hh +++ b/src/arch/mips/linux/linux.hh @@ -91,6 +91,7 @@ class MipsLinux : public Linux static const int TGT_O_APPEND = 0x00000008; //!< O_APPEND static const int TGT_O_NONBLOCK = 0x00000080; //!< O_NONBLOCK static const int TGT_O_DSYNC = 0x00000010; //!< O_DSYNC + static const int TGT_FASYNC = 0x00001000; //!< O_FASYNC static const int TGT_O_DIRECT = 0x00008000; //!< O_DIRECT static const int TGT_O_LARGEFILE = 0x00002000; //!< O_LARGEFILE static const int TGT_O_DIRECTORY = 0x00010000; //!< O_DIRECTORY |