syscall emulation: Enabled getrlimit and getrusage for x86.
[gem5.git] / src / arch / mips / isa_traits.hh
index 38b43af9da0c69c1118269a67942c795e8f108be..f2a748da9c3a891e18dda690809993cd88f6975d 100644 (file)
 #define __ARCH_MIPS_ISA_TRAITS_HH__
 
 #include "arch/mips/types.hh"
-#include "arch/mips/mips_core_specific.hh"
 #include "base/types.hh"
-#include "config/full_system.hh"
+#include "cpu/static_inst_fwd.hh"
 
-namespace LittleEndianGuest {};
-
-class StaticInstPtr;
+namespace LittleEndianGuest {}
 
 namespace MipsISA
 {
@@ -95,9 +92,6 @@ const Addr KSeg3End = ULL(0xFFFFFFFF);
 const Addr KSeg3Base = ULL(0xE0000000);
 
 
-// For loading... XXX This maybe could be USegEnd?? --ali
-const Addr LoadAddrMask = ULL(0xffffffffff);
-
 inline Addr Phys2K0Seg(Addr addr)
 {
     return addr | KSeg0Base;
@@ -164,6 +158,8 @@ const int ByteBytes = 1;
 const int ANNOTE_NONE = 0;
 const uint32_t ITOUCH_ANNOTE = 0xffffffff;
 
-};
+const bool HasUnalignedMemAcc = true;
+
+} // namespace MipsISA
 
 #endif // __ARCH_MIPS_ISA_TRAITS_HH__