# Base sources used by all configurations.
arch_base_sources = Split('''
arch/mips/decoder.cc
- arch/mips/alpha_o3_exec.cc
+ arch/mips/mips_o3_exec.cc
arch/mips/fast_cpu_exec.cc
arch/mips/simple_cpu_exec.cc
arch/mips/full_cpu_exec.cc
# Full-system sources
arch_full_system_sources = Split('''
- arch/mips/alpha_memory.cc
+ arch/mips/memory.cc
arch/mips/arguments.cc
- arch/mips/ev5.cc
+ arch/mips/mips34k.cc
arch/mips/osfpal.cc
arch/mips/stacktrace.cc
arch/mips/vtophys.cc
# Syscall emulation (non-full-system) sources
arch_syscall_emulation_sources = Split('''
- arch/mips/alpha_common_syscall_emul.cc
- arch/mips/alpha_linux_process.cc
- arch/mips/alpha_tru64_process.cc
+ arch/mips/common_syscall_emul.cc
+ arch/mips/linux_process.cc
+ arch/mips/tru64_process.cc
''')
# Set up complete list of sources based on configuration.
//Outputs to decoder.hh
output header {{
/**
- * Base class for all SPARC static instructions.
+ * Base class for all MIPS static instructions.
*/
class MipsStaticInst : public StaticInst<MIPSISA>
{
* 'Unknown' class is used for unrecognized/illegal instructions.
* This is a leaf class.
*/
- class FailUnimplemented : public AlphaStaticInst
+ class FailUnimplemented : public MipsStaticInst
{
public:
/// Constructor
FailUnimplemented(const char *_mnemonic, MachInst _machInst)
- : AlphaStaticInst(_mnemonic, _machInst, No_OpClass)
+ : MipsStaticInst(_mnemonic, _machInst, No_OpClass)
{
// don't call execute() (which panics) if we're on a
// speculative path
* probably make the 'warned' flag a static member of the derived
* class.
*/
- class WarnUnimplemented : public AlphaStaticInst
+ class WarnUnimplemented : public MipsStaticInst
{
private:
/// Have we warned on this instruction yet?
public:
/// Constructor
WarnUnimplemented(const char *_mnemonic, MachInst _machInst)
- : AlphaStaticInst(_mnemonic, _machInst, No_OpClass), warned(false)
+ : MipsStaticInst(_mnemonic, _machInst, No_OpClass), warned(false)
{
// don't call execute() (which panics) if we're on a
// speculative path
* These cause simulator termination if they are executed in a
* non-speculative mode. This is a leaf class.
*/
- class Unknown : public AlphaStaticInst
+ class Unknown : public MipsStaticInst
{
public:
/// Constructor
Unknown(MachInst _machInst)
- : AlphaStaticInst("unknown", _machInst, No_OpClass)
+ : MipsStaticInst("unknown", _machInst, No_OpClass)
{
// don't call execute() (which panics) if we're on a
// speculative path
template <class ISA> class StaticInst;
template <class ISA> class StaticInstPtr;
-//namespace EV5
+//namespace MIPS34K
//{
// int DTB_ASN_ASN(uint64_t reg);
// int ITB_ASN_ASN(uint64_t reg);
void unserialize(Checkpoint *cp, const std::string §ion);
};
- static StaticInstPtr<AlphaISA> decodeInst(MachInst);
+ static StaticInstPtr<MipsISA> decodeInst(MachInst);
// return a no-op instruction... used for instruction fetch faults
static const MachInst NoopMachInst;
#ifdef FULL_SYSTEM
-#include "arch/alpha/ev5.hh"
+#include "arch/mips/mips34k.hh"
#endif
#endif // __ARCH_MIPS_ISA_TRAITS_HH__