diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-03-10 16:51:52 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-03-10 16:51:52 -0500 |
commit | d07115f97266185fea006854f6e5eea8bf992c4b (patch) | |
tree | 36bc16af4714285abb8cf23ac0fc89b193a30524 /cpu/cpu_exec_context.hh | |
parent | e3d96aa889680469be44bb9cd59d3db837cb4dc4 (diff) | |
download | gem5-d07115f97266185fea006854f6e5eea8bf992c4b.tar.xz |
Add getMemPort to exec context proxy
--HG--
extra : convert_revision : a28c0410a63745b7455ad957c582c38319901cf0
Diffstat (limited to 'cpu/cpu_exec_context.hh')
-rw-r--r-- | cpu/cpu_exec_context.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/cpu_exec_context.hh b/cpu/cpu_exec_context.hh index 6f725d1e4..846fa98b0 100644 --- a/cpu/cpu_exec_context.hh +++ b/cpu/cpu_exec_context.hh @@ -216,6 +216,8 @@ class CPUExecContext void serialize(std::ostream &os); void unserialize(Checkpoint *cp, const std::string §ion); + TranslatingPort *getMemPort() { return port; } + BaseCPU *getCpuPtr() { return cpu; } ExecContext *getProxy() { return proxy; } |