summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-02-10 09:52:32 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2012-02-10 09:52:32 -0600
commit72f3f526fc327f2030fe2f44844e783f763ef6e3 (patch)
tree54f61ce0e250f01a3834e01b166ac57ec13db261 /src/sim
parent26ca8b87470912d5e593a21fc968dd2ddf0e20b2 (diff)
downloadgem5-72f3f526fc327f2030fe2f44844e783f763ef6e3.tar.xz
sim/system: initialize the pagePtr variable
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/system.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index eb66f7825..e5e68bf89 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -77,6 +77,7 @@ System::System(Params *p)
: MemObject(p), _systemPort("system_port", this),
physmem(p->physmem),
_numContexts(0),
+ pagePtr(0),
init_param(p->init_param),
loadAddrMask(p->load_addr_mask),
nextPID(0),