summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMin Kyu Jeong <minkyu.jeong@arm.com>2010-08-25 19:10:43 -0500
committerMin Kyu Jeong <minkyu.jeong@arm.com>2010-08-25 19:10:43 -0500
commitdee8f3d50014ae0e300269867d7dbca5fa4759e5 (patch)
treef198ef8c47aff019bbfb093473f7d3f6552a2e38
parentb52fed4747423680cde8ec407605be6bfd017822 (diff)
downloadgem5-dee8f3d50014ae0e300269867d7dbca5fa4759e5.tar.xz
ARM: Support unaligned memory access.
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.
-rw-r--r--src/arch/arm/isa_traits.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/isa_traits.hh b/src/arch/arm/isa_traits.hh
index 39232b9c7..aae7566fe 100644
--- a/src/arch/arm/isa_traits.hh
+++ b/src/arch/arm/isa_traits.hh
@@ -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
{