diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-05-11 15:19:48 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-05-11 15:19:48 -0400 |
commit | 92838fd35e4ffc00cc52aacfd2e5317ae7ab8b1b (patch) | |
tree | 55b25fe26869e5bb97e7642c547cc5694e6558bb /cpu/cpu_exec_context.cc | |
parent | 9a96ebf368cace048654186ae1ff8b4fb6672bb7 (diff) | |
download | gem5-92838fd35e4ffc00cc52aacfd2e5317ae7ab8b1b.tar.xz |
Set memory properly.
--HG--
extra : convert_revision : 4e6c61d31bf052bb4aabf4bb7a4f0e870b44b771
Diffstat (limited to 'cpu/cpu_exec_context.cc')
-rw-r--r-- | cpu/cpu_exec_context.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/cpu_exec_context.cc b/cpu/cpu_exec_context.cc index 4400cf842..e15ba7e66 100644 --- a/cpu/cpu_exec_context.cc +++ b/cpu/cpu_exec_context.cc @@ -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(®s, 0, sizeof(RegFile)); |