diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-05-03 15:51:53 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-05-03 15:51:53 -0400 |
commit | 32a52949834a5524c67a5a8d697b7e769138dc0f (patch) | |
tree | 0150da92be1fb290c4c3614d86c87ca50ca1786b /cpu | |
parent | d363d5aad72b34769c753752a779a13e11532fd8 (diff) | |
download | gem5-32a52949834a5524c67a5a8d697b7e769138dc0f.tar.xz |
XC needs to get memory from the process.
--HG--
extra : convert_revision : a2c014276824255a896a7e353f919fe81071091e
Diffstat (limited to 'cpu')
-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 363244e60..4400cf842 100644 --- 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)); |