summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:41 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:41 -0600
commitb792e9e43c855cdb2fbf71084ee8e60eb4878741 (patch)
tree108049b5dd14760e53c77b2ffdf9cbd26a962a59 /src/sim
parent3886c4a8f2e1bfe17cbf7a5a76ba0fc978c6bb48 (diff)
downloadgem5-b792e9e43c855cdb2fbf71084ee8e60eb4878741.tar.xz
syscall_emul: [patch 6/22] remove unused fields from Process class
It looks like tru64 has some nxm* system calls, but the two fields that are defined in the Process class are unused by any of the code. There doesn't appear to be any reference in the tru64 code.
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc5
-rw-r--r--src/sim/process.hh4
2 files changed, 0 insertions, 9 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index ceec47ce4..bcb9b582f 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -189,7 +189,6 @@ Process::Process(ProcessParams * params, ObjectFile * obj_file)
0664, false);
mmap_end = 0;
- nxm_start = nxm_end = 0;
// other parameters will be initialized when the program is loaded
// load up symbols, if any... these may be used for debugging or
@@ -470,8 +469,6 @@ Process::serialize(CheckpointOut &cp) const
SERIALIZE_SCALAR(stack_min);
SERIALIZE_SCALAR(next_thread_stack_base);
SERIALIZE_SCALAR(mmap_end);
- SERIALIZE_SCALAR(nxm_start);
- SERIALIZE_SCALAR(nxm_end);
pTable->serialize(cp);
for (int x = 0; x < fd_array->size(); x++) {
(*fd_array)[x].serializeSection(cp, csprintf("FDEntry%d", x));
@@ -488,8 +485,6 @@ Process::unserialize(CheckpointIn &cp)
UNSERIALIZE_SCALAR(stack_min);
UNSERIALIZE_SCALAR(next_thread_stack_base);
UNSERIALIZE_SCALAR(mmap_end);
- UNSERIALIZE_SCALAR(nxm_start);
- UNSERIALIZE_SCALAR(nxm_end);
pTable->unserialize(cp);
for (int x = 0; x < fd_array->size(); x++) {
FDEntry *fde = getFDEntry(x);
diff --git a/src/sim/process.hh b/src/sim/process.hh
index 4b0428585..5d6835c21 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -116,10 +116,6 @@ class Process : public SimObject
// instead, so they can override thie method to return false.
virtual bool mmapGrowsDown() const { return true; }
- // Base of region for nxm data
- Addr nxm_start;
- Addr nxm_end;
-
Stats::Scalar num_syscalls; // number of syscalls executed
protected: