ARM: Support unaligned memory access.
authorMin Kyu Jeong <minkyu.jeong@arm.com>
Thu, 26 Aug 2010 00:10:43 +0000 (19:10 -0500)
committerMin Kyu Jeong <minkyu.jeong@arm.com>
Thu, 26 Aug 2010 00:10:43 +0000 (19:10 -0500)
Without this flag set, page-crossing requests were not split into two mem
request.

Depending on the alignment bit in the SCTLR, misaligned access could
raise a fault. However it seems unnecessary to implement that.

src/arch/arm/isa_traits.hh

index 39232b9c70e0c3755b9068530da027e1bd60603d..aae7566fefd50ca3d741d8262f350bd27e86d27c 100644 (file)
@@ -113,7 +113,7 @@ namespace ArmISA
     const uint32_t HighVecs = 0xFFFF0000;
 
     // Memory accesses cannot be unaligned
-    const bool HasUnalignedMemAcc = false;
+    const bool HasUnalignedMemAcc = true;
 
     enum InterruptTypes
     {