summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/linux.cc
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-03-17 10:22:39 -0700
committerBrandon Potter <brandon.potter@amd.com>2016-03-17 10:22:39 -0700
commitb8688346a51860c7d582cf3fe310895e93a0ab6c (patch)
tree80d22e131e63a687a1b16129ba1e87994f04a0e2 /src/arch/x86/linux/linux.cc
parent75d691060742d59894c147ad1abde4c6c9803346 (diff)
downloadgem5-b8688346a51860c7d582cf3fe310895e93a0ab6c.tar.xz
syscall_emul: rename OpenFlagTransTable struct
The structure definition only had the open system call flag set in mind when it was named, so we rename it here with the intention of using it to define additional tables to translate flags for other system calls in the future.
Diffstat (limited to 'src/arch/x86/linux/linux.cc')
-rw-r--r--src/arch/x86/linux/linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/linux/linux.cc b/src/arch/x86/linux/linux.cc
index 590af0e40..1b6268d65 100644
--- a/src/arch/x86/linux/linux.cc
+++ b/src/arch/x86/linux/linux.cc
@@ -42,7 +42,7 @@
#include "arch/x86/linux/linux.hh"
// open(2) flags translation table
-OpenFlagTransTable X86Linux64::openFlagTable[] = {
+SyscallFlagTransTable X86Linux64::openFlagTable[] = {
#ifdef _MSC_VER
{ TGT_O_RDONLY, _O_RDONLY },
{ TGT_O_WRONLY, _O_WRONLY },
@@ -81,7 +81,7 @@ const int X86Linux64::NUM_OPEN_FLAGS =
sizeof(X86Linux64::openFlagTable[0]);
// open(2) flags translation table
-OpenFlagTransTable X86Linux32::openFlagTable[] = {
+SyscallFlagTransTable X86Linux32::openFlagTable[] = {
#ifdef _MSC_VER
{ TGT_O_RDONLY, _O_RDONLY },
{ TGT_O_WRONLY, _O_WRONLY },