diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:18 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:18 -0500 |
commit | 5268067f14d1c0b0df81a6aa688009671926d907 (patch) | |
tree | da19fefa54b8c609880375ec6f53b354dda5250c /src/arch/arm/linux/linux.hh | |
parent | 5d5bf8cbc7c0e388a1af80530601ec0422aab60a (diff) | |
download | gem5-5268067f14d1c0b0df81a6aa688009671926d907.tar.xz |
ARM: Fix SPEC2000 benchmarks in SE mode. With this patch all
Spec2k benchmarks seem to run with atomic or timing mode simple
CPUs. Fixed up some constants, handling of 64 bit arguments,
and marked a few more syscalls ignoreFunc.
Diffstat (limited to 'src/arch/arm/linux/linux.hh')
-rw-r--r-- | src/arch/arm/linux/linux.hh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/arch/arm/linux/linux.hh b/src/arch/arm/linux/linux.hh index 6ad4a862d..33e48fc93 100644 --- a/src/arch/arm/linux/linux.hh +++ b/src/arch/arm/linux/linux.hh @@ -79,11 +79,14 @@ class ArmLinux : public Linux static const int TGT_O_NONBLOCK = 00004000; //!< O_NONBLOCK static const int TGT_O_SYNC = 00010000; //!< O_SYNC static const int TGT_FASYNC = 00020000; //!< FASYNC - static const int TGT_O_DIRECTORY = 00040000; //!< O_DIRECTORY - static const int TGT_O_NOFOLLOW = 00100000; //!< O_NOFOLLOW - static const int TGT_O_DIRECT = 00200000; //!< O_DIRECT - static const int TGT_O_LARGEFILE = 00400000; //!< O_LARGEFILE + static const int TGT_O_DIRECT = 00040000; //!< O_DIRECT + static const int TGT_O_LARGEFILE = 00100000; //!< O_LARGEFILE + static const int TGT_O_DIRECTORY = 00200000; //!< O_DIRECTORY + static const int TGT_O_NOFOLLOW = 00400000; //!< O_NOFOLLOW static const int TGT_O_NOATIME = 01000000; //!< O_NOATIME + static const int TGT_O_CLOEXEC = 02000000; //!< O_NOATIME + + //@} /// For mmap(). @@ -106,7 +109,7 @@ class ArmLinux : public Linux static const unsigned FIONREAD_ = 0x4004667f; static const unsigned TIOCISATTY_ = 0x2000745e; static const unsigned TIOCGETS_ = 0x402c7413; - static const unsigned TIOCGETA_ = 0x40127417; + static const unsigned TIOCGETA_ = 0x5405; static const unsigned TCSETAW_ = 0x5407; // 2.6.15 kernel //@} |