diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-03-26 09:23:52 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-03-26 09:23:52 -0400 |
commit | e0fdd86fd90d16ec7b7f9e2f81a12c2653919a27 (patch) | |
tree | 0e0cd264b48dbf264234e572b55d38f9ffd04a9e /src/arch/alpha | |
parent | 48b58b3332251670432db2cc7832b80eb2787bda (diff) | |
download | gem5-e0fdd86fd90d16ec7b7f9e2f81a12c2653919a27.tar.xz |
mips: cleanup ISA-specific code
***
(1): get rid of expandForMT function
MIPS is the only ISA that cares about having a piece of ISA state integrate
multiple threads so add constants for MIPS and relieve the other ISAs from having
to define this. Also, InOrder was the only core that was actively calling
this function
* * *
(2): get rid of corespecific type
The CoreSpecific type was used as a proxy to pass in HW specific params to
a MIPS CPU, but since MIPS FS hasnt been touched for awhile, it makes sense
to not force every other ISA to use CoreSpecific as well use a special
reset function to set it. That probably should go in a PowerOn reset fault
anyway.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/isa.hh | 8 | ||||
-rw-r--r-- | src/arch/alpha/types.hh | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/arch/alpha/isa.hh b/src/arch/alpha/isa.hh index cd2ece22d..500bd039b 100644 --- a/src/arch/alpha/isa.hh +++ b/src/arch/alpha/isa.hh @@ -90,14 +90,6 @@ namespace AlphaISA void unserialize(EventManager *em, Checkpoint *cp, const std::string §ion); - void reset(std::string core_name, ThreadID num_threads, - unsigned num_vpes, BaseCPU *_cpu) - { } - - - void expandForMultithreading(ThreadID num_threads, unsigned num_vpes) - { } - int flattenIntIndex(int reg) { diff --git a/src/arch/alpha/types.hh b/src/arch/alpha/types.hh index 06c0168cf..4713f0849 100644 --- a/src/arch/alpha/types.hh +++ b/src/arch/alpha/types.hh @@ -51,11 +51,6 @@ enum annotes ITOUCH_ANNOTE = 0xffffffff, }; -struct CoreSpecific -{ - int core_type; -}; - } // namespace AlphaISA #endif // __ARCH_ALPHA_TYPES_HH__ |