diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 17:57:46 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 17:57:46 -0700 |
commit | f245358343fb26ac976d15b8f2a023caa0f9ba0d (patch) | |
tree | 05fbddda0840cb8ae564f12e9a410617e866d19f /src/arch/sparc/regfile.cc | |
parent | cefb768131b1d0582c5cbe83feaa97060dfe15af (diff) | |
download | gem5-f245358343fb26ac976d15b8f2a023caa0f9ba0d.tar.xz |
Get rid of old RegContext code.
Diffstat (limited to 'src/arch/sparc/regfile.cc')
-rw-r--r-- | src/arch/sparc/regfile.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/arch/sparc/regfile.cc b/src/arch/sparc/regfile.cc index 8815b094c..f390be508 100644 --- a/src/arch/sparc/regfile.cc +++ b/src/arch/sparc/regfile.cc @@ -241,21 +241,6 @@ RegFile::unserialize(EventManager *em, Checkpoint *cp, const string §ion) UNSERIALIZE_SCALAR(nnpc); } -void RegFile::changeContext(RegContextParam param, RegContextVal val) -{ - switch(param) - { - case CONTEXT_CWP: - intRegFile.setCWP(val); - break; - case CONTEXT_GLOBALS: - intRegFile.setGlobals(val); - break; - default: - panic("Tried to set illegal context parameter in the SPARC regfile.\n"); - } -} - void SparcISA::copyMiscRegs(ThreadContext *src, ThreadContext *dest) { |