diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-08 23:02:22 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-08 23:02:22 -0700 |
commit | c9a27d85b9066489bf227f19d61ce5ddd1bc91c3 (patch) | |
tree | 9160f51be38043ae765f4b74c9baa82a7d107d39 /src/cpu/thread_state.hh | |
parent | 3d39b6213265ceeb14b8089190e5a097f17fdc1b (diff) | |
download | gem5-c9a27d85b9066489bf227f19d61ce5ddd1bc91c3.tar.xz |
Get rid of the unused get(Data|Inst)Asid and (inst|data)Asid functions.
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r-- | src/cpu/thread_state.hh | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh index ba61f431d..5c7c0ea56 100644 --- a/src/cpu/thread_state.hh +++ b/src/cpu/thread_state.hh @@ -68,7 +68,7 @@ struct ThreadState { #if FULL_SYSTEM ThreadState(BaseCPU *cpu, ThreadID _tid); #else - ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process, short _asid); + ThreadState(BaseCPU *cpu, ThreadID _tid, Process *_process); #endif ~ThreadState(); @@ -119,9 +119,6 @@ struct ThreadState { TranslatingPort *getMemPort(); void setMemPort(TranslatingPort *_port) { port = _port; } - - int getInstAsid() { return asid; } - int getDataAsid() { return asid; } #endif /** Sets the current instruction being committed. */ @@ -205,12 +202,6 @@ struct ThreadState { TranslatingPort *port; Process *process; - - // Address space ID. Note that this is used for TIMING cache - // simulation only; all functional memory accesses should use - // one of the FunctionalMemory pointers above. - short asid; - #endif /** Current instruction the thread is committing. Only set and |