summaryrefslogtreecommitdiff
path: root/cpu/cpu_exec_context.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:01:41 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 16:01:41 -0500
commit37c860d3345b6fcc45dc609fd9bb7fe7e5136142 (patch)
tree477a973bcec0aedc1e44a18580a733d72796d675 /cpu/cpu_exec_context.hh
parent84a6044f31b9e2209bd49ae1d184289a0fa947bd (diff)
downloadgem5-37c860d3345b6fcc45dc609fd9bb7fe7e5136142.tar.xz
Get rid of validInstAddr() & validDataAddr().
SE mode can now use page tables to determine which addresses are valid. sim/process.cc: sim/process.hh: Get rid of validInstAddr() & validDataAddr(). SE mode can now use page tables to determine which addresses are valid. Also get rid of some Process object fields that were only used by those functions. --HG-- extra : convert_revision : 74a25c0c2453bfc598eedacdbfccea1cf6493ba6
Diffstat (limited to 'cpu/cpu_exec_context.hh')
-rw-r--r--cpu/cpu_exec_context.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpu/cpu_exec_context.hh b/cpu/cpu_exec_context.hh
index 764c8fab3..509583d65 100644
--- a/cpu/cpu_exec_context.hh
+++ b/cpu/cpu_exec_context.hh
@@ -233,8 +233,6 @@ class CPUExecContext
AlphaDTB *getDTBPtr() { return dtb; }
- bool validInstAddr(Addr addr) { return true; }
- bool validDataAddr(Addr addr) { return true; }
int getInstAsid() { return regs.instAsid(); }
int getDataAsid() { return regs.dataAsid(); }
@@ -256,12 +254,6 @@ class CPUExecContext
#else
Process *getProcessPtr() { return process; }
- bool validInstAddr(Addr addr)
- { return process->validInstAddr(addr); }
-
- bool validDataAddr(Addr addr)
- { return process->validDataAddr(addr); }
-
int getInstAsid() { return asid; }
int getDataAsid() { return asid; }