From e0fdd86fd90d16ec7b7f9e2f81a12c2653919a27 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sat, 26 Mar 2011 09:23:52 -0400 Subject: 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. --- src/arch/alpha/isa.hh | 8 -------- src/arch/alpha/types.hh | 5 ----- 2 files changed, 13 deletions(-) (limited to 'src/arch/alpha') 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__ -- cgit v1.2.3