projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a96ebf
)
Set memory properly.
author
Kevin Lim
<ktlim@umich.edu>
Thu, 11 May 2006 19:19:48 +0000
(15:19 -0400)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/cpu/cpu_exec_context.cc
b/cpu/cpu_exec_context.cc
index 4400cf842a39700cb1a8857a6a1231b9e8d58009..e15ba7e6664c974c98a8b1b820a51d23c3e5200b 100644
(file)
--- 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));