sim/system: initialize the pagePtr variable
authorNilay Vaish <nilay@cs.wisc.edu>
Fri, 10 Feb 2012 15:52:32 +0000 (09:52 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Fri, 10 Feb 2012 15:52:32 +0000 (09:52 -0600)
src/sim/system.cc

index eb66f7825a1c281071390e729ee3b440c96f7e86..e5e68bf8910ab7755c4a5ab6a5911fdb3d848170 100644 (file)
@@ -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),