diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 01:01:16 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-21 01:01:16 -0500 |
commit | 75152fcaf709135d5f9668875234aed51d6334c4 (patch) | |
tree | 6ac63757a655e89dd0ed13b47f8e481fd6307de4 /cpu/exec_context.cc | |
parent | 33913542859fa2bef15765009ae33d5e724bb0b0 (diff) | |
download | gem5-75152fcaf709135d5f9668875234aed51d6334c4.tar.xz |
Get simple cpu to compile.
Now I need to fix linking errors, probably due to missing function details in new memory objects.
cpu/exec_context.cc:
cpu/exec_context.hh:
Fix constructor for SE mode
cpu/simple/cpu.cc:
cpu/simple/cpu.hh:
Fix compilation errors
--HG--
extra : convert_revision : 6a58c0906340e10b654369c36f528fc17e3f19be
Diffstat (limited to 'cpu/exec_context.cc')
-rw-r--r-- | cpu/exec_context.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu/exec_context.cc b/cpu/exec_context.cc index 10894230b..fa91eb672 100644 --- a/cpu/exec_context.cc +++ b/cpu/exec_context.cc @@ -77,11 +77,10 @@ ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, System *_sys, profilePC = 3; } #else -ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, System *_system, - Memory *_mem, Process *_process, int _asid) +ExecContext::ExecContext(BaseCPU *_cpu, int _thread_num, + Process *_process, int _asid) : _status(ExecContext::Unallocated), cpu(_cpu), thread_num(_thread_num), cpu_id(-1), - system(_system), process(_process), asid(_asid), func_exe_inst(0), storeCondFailures(0) |