diff options
author | Ali Saidi <ali.saidi@arm.com> | 2010-08-25 19:10:42 -0500 |
---|---|---|
committer | Ali Saidi <ali.saidi@arm.com> | 2010-08-25 19:10:42 -0500 |
commit | c2d5d2b53d1d3bfb83ce0cf0332f81c4ffea112f (patch) | |
tree | c8216cb9fe5a34c32307fd667163f03592c67f16 /src | |
parent | 99fafb72b87f3b63f205bee7b20b8c19724d6305 (diff) | |
download | gem5-c2d5d2b53d1d3bfb83ce0cf0332f81c4ffea112f.tar.xz |
ARM: Set the high bits in the part number so it's considered new by some code.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/isa.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/arm/isa.cc b/src/arch/arm/isa.cc index f5bbc3610..5655c1265 100644 --- a/src/arch/arm/isa.cc +++ b/src/arch/arm/isa.cc @@ -74,11 +74,11 @@ ISA::clear() * 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 + (0x35 << 24) | // Implementor is '5' from "M5" + (0 << 20) | // Variant + (0xf << 16) | // Architecture from CPUID scheme + (0xf00 << 4) | // Primary part number + (0 << 0) | // Revision 0; // Separate Instruction and Data TLBs. |