changeset df43a146a38a in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=df43a146a38a description: 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: src/sim/process.cc | 5 ----- src/sim/process.hh | 4 ---- 2 files changed, 0 insertions(+), 9 deletions(-) diffs (43 lines): diff -r 824055fe6b30 -r df43a146a38a src/sim/process.cc --- a/src/sim/process.cc Wed Nov 09 14:27:40 2016 -0600 +++ b/src/sim/process.cc Wed Nov 09 14:27:41 2016 -0600 @@ -189,7 +189,6 @@ 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 @@ 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 @@ 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 -r 824055fe6b30 -r df43a146a38a src/sim/process.hh --- a/src/sim/process.hh Wed Nov 09 14:27:40 2016 -0600 +++ b/src/sim/process.hh Wed Nov 09 14:27:41 2016 -0600 @@ -116,10 +116,6 @@ // 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: _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev