summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2016-04-01 16:38:16 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2016-04-01 16:38:16 -0700
commitdf36764e91bc96d731cbd403c3a4527248eb403c (patch)
tree072a44b6c03008faa87d7030c88946c5de2d6a15 /src/arch
parent0e214bdfd1dd2e963200875bc8f5ea31e5262503 (diff)
downloadgem5-df36764e91bc96d731cbd403c3a4527248eb403c.tar.xz
syscall_emul: remove mmapFlagTable
After all this it turns out we don't even use it.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/alpha/linux/linux.hh3
-rw-r--r--src/arch/arm/linux/linux.hh3
-rw-r--r--src/arch/mips/linux/linux.hh3
-rw-r--r--src/arch/power/linux/linux.hh3
-rw-r--r--src/arch/sparc/linux/linux.hh3
-rw-r--r--src/arch/x86/linux/linux.hh3
6 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/alpha/linux/linux.hh b/src/arch/alpha/linux/linux.hh
index 409ad4dd1..cacb96bd3 100644
--- a/src/arch/alpha/linux/linux.hh
+++ b/src/arch/alpha/linux/linux.hh
@@ -103,9 +103,6 @@ class AlphaLinux : public Linux
static const int TGT_O_PATH = 040000000; //!< O_PATH
//@}
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x000001;
static const unsigned TGT_MAP_PRIVATE = 0x000002;
static const unsigned TGT_MAP_ANON = 0x000010;
diff --git a/src/arch/arm/linux/linux.hh b/src/arch/arm/linux/linux.hh
index 5c814cde1..73f0fa699 100644
--- a/src/arch/arm/linux/linux.hh
+++ b/src/arch/arm/linux/linux.hh
@@ -124,9 +124,6 @@ class ArmLinux32 : public Linux
static const int TGT_O_PATH = 010000000; //!< O_PATH
//@}
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x00001;
static const unsigned TGT_MAP_PRIVATE = 0x00002;
static const unsigned TGT_MAP_ANON = 0x00020;
diff --git a/src/arch/mips/linux/linux.hh b/src/arch/mips/linux/linux.hh
index e0b785c76..38e6abcd1 100644
--- a/src/arch/mips/linux/linux.hh
+++ b/src/arch/mips/linux/linux.hh
@@ -102,9 +102,6 @@ class MipsLinux : public Linux
static const int TGT_O_PATH = 0x00200000; //!< O_PATH
//@}
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x00001;
static const unsigned TGT_MAP_PRIVATE = 0x00002;
static const unsigned TGT_MAP_ANON = 0x00800;
diff --git a/src/arch/power/linux/linux.hh b/src/arch/power/linux/linux.hh
index 55634800e..de149a1a6 100644
--- a/src/arch/power/linux/linux.hh
+++ b/src/arch/power/linux/linux.hh
@@ -163,9 +163,6 @@ class PowerLinux : public Linux
static const int TGT_O_PATH = 010000000; //!< O_PATH
//@}
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x00001;
static const unsigned TGT_MAP_PRIVATE = 0x00002;
static const unsigned TGT_MAP_ANON = 0x00020;
diff --git a/src/arch/sparc/linux/linux.hh b/src/arch/sparc/linux/linux.hh
index d209dcef0..69d373b67 100644
--- a/src/arch/sparc/linux/linux.hh
+++ b/src/arch/sparc/linux/linux.hh
@@ -119,9 +119,6 @@ class SparcLinux : public Linux
static const int NUM_OPEN_FLAGS;
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x00001;
static const unsigned TGT_MAP_PRIVATE = 0x00002;
static const unsigned TGT_MAP_ANON = 0x00020;
diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh
index 47eac12b8..fb8e611cb 100644
--- a/src/arch/x86/linux/linux.hh
+++ b/src/arch/x86/linux/linux.hh
@@ -126,9 +126,6 @@ class X86Linux64 : public Linux
static const int NUM_OPEN_FLAGS;
- /// For mmap().
- static SyscallFlagTransTable mmapFlagTable[];
-
static const unsigned TGT_MAP_SHARED = 0x00001;
static const unsigned TGT_MAP_PRIVATE = 0x00002;
static const unsigned TGT_MAP_32BIT = 0x00040;