Set memory properly.
authorKevin Lim <ktlim@umich.edu>
Thu, 11 May 2006 19:19:48 +0000 (15:19 -0400)
committerKevin Lim <ktlim@umich.edu>
Thu, 11 May 2006 19:19:48 +0000 (15:19 -0400)
--HG--
extra : convert_revision : 4e6c61d31bf052bb4aabf4bb7a4f0e870b44b771

cpu/cpu_exec_context.cc

index 4400cf842a39700cb1a8857a6a1231b9e8d58009..e15ba7e6664c974c98a8b1b820a51d23c3e5200b 100644 (file)
@@ -94,7 +94,7 @@ CPUExecContext::CPUExecContext(BaseCPU *_cpu, int _thread_num,
 
 CPUExecContext::CPUExecContext(BaseCPU *_cpu, int _thread_num,
                          FunctionalMemory *_mem, int _asid)
-    : cpu(_cpu), thread_num(_thread_num), process(0), mem(NULL), asid(_asid),
+    : cpu(_cpu), thread_num(_thread_num), process(0), mem(_mem), asid(_asid),
       func_exe_inst(0), storeCondFailures(0)
 {
     memset(&regs, 0, sizeof(RegFile));