From 32a52949834a5524c67a5a8d697b7e769138dc0f Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Wed, 3 May 2006 15:51:53 -0400 Subject: [PATCH] XC needs to get memory from the process. --HG-- extra : convert_revision : a2c014276824255a896a7e353f919fe81071091e --- cpu/cpu_exec_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2