syscall emulation: Enabled getrlimit and getrusage for x86.
[gem5.git] / src / arch / mips / isa_traits.hh
index efb1fb5944583c93ac7ef98bad4acde6aa2c8747..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
 {
@@ -161,9 +158,8 @@ const int ByteBytes = 1;
 const int ANNOTE_NONE = 0;
 const uint32_t ITOUCH_ANNOTE = 0xffffffff;
 
-// Memory accesses cannot be unaligned
-const bool HasUnalignedMemAcc = false;
+const bool HasUnalignedMemAcc = true;
 
-};
+} // namespace MipsISA
 
 #endif // __ARCH_MIPS_ISA_TRAITS_HH__