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.cc | |
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.cc')
-rw-r--r-- | src/arch/arm/linux/linux.cc | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/arch/arm/linux/linux.cc b/src/arch/arm/linux/linux.cc index a4c782403..c81eee3c8 100644 --- a/src/arch/arm/linux/linux.cc +++ b/src/arch/arm/linux/linux.cc @@ -56,15 +56,30 @@ OpenFlagTransTable ArmLinux::openFlagTable[] = { { ArmLinux::TGT_O_RDONLY, O_RDONLY }, { ArmLinux::TGT_O_WRONLY, O_WRONLY }, { ArmLinux::TGT_O_RDWR, O_RDWR }, - { ArmLinux::TGT_O_APPEND, O_APPEND }, { ArmLinux::TGT_O_CREAT, O_CREAT }, - { ArmLinux::TGT_O_TRUNC, O_TRUNC }, { ArmLinux::TGT_O_EXCL, O_EXCL }, - { ArmLinux::TGT_O_NONBLOCK, O_NONBLOCK }, { ArmLinux::TGT_O_NOCTTY, O_NOCTTY }, + { ArmLinux::TGT_O_TRUNC, O_TRUNC }, + { ArmLinux::TGT_O_APPEND, O_APPEND }, + { ArmLinux::TGT_O_NONBLOCK, O_NONBLOCK }, #ifdef O_SYNC { ArmLinux::TGT_O_SYNC, O_SYNC }, #endif +#ifdef FASYNC + { ArmLinux::TGT_FASYNC, FASYNC }, +#endif +#ifdef O_DIRECT + { ArmLinux::TGT_O_DIRECT, O_DIRECT }, +#endif +#ifdef O_LARGEFILE + { ArmLinux::TGT_O_LARGEFILE, O_LARGEFILE }, +#endif +#ifdef O_DIRECTORY + { ArmLinux::TGT_O_DIRECTORY, O_DIRECTORY }, +#endif +#ifdef O_NOFOLLOW + { ArmLinux::TGT_O_NOFOLLOW, O_NOFOLLOW }, +#endif #endif /* _MSC_VER */ }; |