diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-24 15:42:11 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-24 15:42:11 -0700 |
commit | 93365f7d1ad8f7ad910e4d94e12a80ec7a91a7d0 (patch) | |
tree | 29f6679cc92330ad6929673d62d88adea302ccc7 /src/arch/x86/linux/linux.cc | |
parent | 4bb1c5ba0c79b72b20b2ac9e196670011809819f (diff) | |
download | gem5-93365f7d1ad8f7ad910e4d94e12a80ec7a91a7d0.tar.xz |
Add a tgt_iovec structure to support writev, change the name of X86Linux to X86Linux64, add some syscalls.
--HG--
extra : convert_revision : 9c13e9c68f331fe6c4a9abd96f7aee0f064101fc
Diffstat (limited to 'src/arch/x86/linux/linux.cc')
-rw-r--r-- | src/arch/x86/linux/linux.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/x86/linux/linux.cc b/src/arch/x86/linux/linux.cc index 59754d7b3..5e8d2de16 100644 --- a/src/arch/x86/linux/linux.cc +++ b/src/arch/x86/linux/linux.cc @@ -59,7 +59,7 @@ #include <fcntl.h> // open(2) flags translation table -OpenFlagTransTable X86Linux::openFlagTable[] = { +OpenFlagTransTable X86Linux64::openFlagTable[] = { #ifdef _MSC_VER { TGT_O_RDONLY, _O_RDONLY }, { TGT_O_WRONLY, _O_WRONLY }, @@ -93,6 +93,7 @@ OpenFlagTransTable X86Linux::openFlagTable[] = { #endif /* _MSC_VER */ }; -const int X86Linux::NUM_OPEN_FLAGS = - (sizeof(X86Linux::openFlagTable)/sizeof(X86Linux::openFlagTable[0])); +const int X86Linux64::NUM_OPEN_FLAGS = + sizeof(X86Linux64::openFlagTable) / + sizeof(X86Linux64::openFlagTable[0]); |