From c3381167c9a4271a9a8072354135bbb85b4141a7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 2 Jun 2010 12:58:10 -0500 Subject: ARM: Make the MPUIR register report that 1 unified data region is supported. --- src/arch/arm/isa.hh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/arch/arm/isa.hh') diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index f6ad56dd4..a9c404351 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -112,6 +112,21 @@ namespace ArmISA */ miscRegs[MISCREG_CPACR] = 0x0fffffff; + /* One region, unified map. */ + miscRegs[MISCREG_MPUIR] = 0x100; + + /* + * Implemented = '5' from "M5", + * Variant = 0, + */ + miscRegs[MISCREG_MIDR] = + (0x35 << 24) | //Implementor is '5' from "M5" + (0 << 20) | //Variant + (0xf << 16) | //Architecture from CPUID scheme + (0 << 4) | //Primary part number + (0 << 0) | //Revision + 0; + //XXX We need to initialize the rest of the state. } -- cgit v1.2.3