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/arch/sparc | |
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/arch/sparc')
-rw-r--r-- | src/arch/sparc/isa.hh | 11 | ||||
-rw-r--r-- | src/arch/sparc/miscregfile.hh | 10 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/arch/sparc/isa.hh b/src/arch/sparc/isa.hh index 1dbfe7a28..bba578ef1 100644 --- a/src/arch/sparc/isa.hh +++ b/src/arch/sparc/isa.hh @@ -45,17 +45,6 @@ namespace SparcISA MiscRegFile miscRegFile; public: - - int instAsid() - { - return miscRegFile.getInstAsid(); - } - - int dataAsid() - { - return miscRegFile.getDataAsid(); - } - void clear(); MiscReg readMiscRegNoEffect(int miscReg); diff --git a/src/arch/sparc/miscregfile.hh b/src/arch/sparc/miscregfile.hh index c6ba27b93..36c309db2 100644 --- a/src/arch/sparc/miscregfile.hh +++ b/src/arch/sparc/miscregfile.hh @@ -158,16 +158,6 @@ namespace SparcISA void setReg(int miscReg, const MiscReg &val, ThreadContext * tc); - int getInstAsid() - { - return priContext | (uint32_t)partId << 13; - } - - int getDataAsid() - { - return priContext | (uint32_t)partId << 13; - } - void serialize(EventManager *em, std::ostream & os); void unserialize(EventManager *em, Checkpoint *cp, |