projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d363d5a
)
XC needs to get memory from the process.
author
Kevin Lim
<ktlim@umich.edu>
Wed, 3 May 2006 19:51:53 +0000
(15:51 -0400)
committer
Kevin Lim
<ktlim@umich.edu>
Wed, 3 May 2006 19:51:53 +0000
(15:51 -0400)
--HG--
extra : convert_revision :
a2c014276824255a896a7e353f919fe81071091e
cpu/cpu_exec_context.cc
patch
|
blob
|
history
diff --git
a/cpu/cpu_exec_context.cc
b/cpu/cpu_exec_context.cc
index 363244e60ed71b92d98df9b071a9dabc0e0f7441..4400cf842a39700cb1a8857a6a1231b9e8d58009 100644
(file)
--- a/
cpu/cpu_exec_context.cc
+++ b/
cpu/cpu_exec_context.cc
@@
-85,7
+85,7
@@
CPUExecContext::CPUExecContext(BaseCPU *_cpu, int _thread_num,
Process *_process, int _asid)
: _status(ExecContext::Unallocated),
cpu(_cpu), thread_num(_thread_num), cpu_id(-1), lastActivate(0),
- lastSuspend(0), process(_process), mem(
NULL
), asid(_asid),
+ lastSuspend(0), process(_process), mem(
process->getMemory()
), asid(_asid),
func_exe_inst(0), storeCondFailures(0)
{
memset(®s, 0, sizeof(RegFile));