diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-03-02 08:18:19 -0600 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-03-02 08:18:19 -0600 |
commit | b129d7ce00a2cb6f0bbdcee90f0202cda8449117 (patch) | |
tree | d73047dde917179d69ad28a3fa41151370e4985a /src/arch/arm | |
parent | 96e37eb17c8d9182d27453dca52d0eb56fc613dd (diff) | |
download | gem5-b129d7ce00a2cb6f0bbdcee90f0202cda8449117.tar.xz |
ARM: FIx a bug preventing multiple cores booting a VExpress_EMM machine.
New kernel code verifies that multi-processor extensions are available
before booting secondary CPUs.
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/isa.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/arm/isa.cc b/src/arch/arm/isa.cc index 9d76ca60e..b8a0fe282 100644 --- a/src/arch/arm/isa.cc +++ b/src/arch/arm/isa.cc @@ -189,7 +189,9 @@ ISA::readMiscReg(int misc_reg, ThreadContext *tc) switch (misc_reg) { case MISCREG_MPIDR: - return tc->cpuId(); + + return 0x80000000 | // multiprocessor extensions available + tc->cpuId(); break; case MISCREG_ID_MMFR0: return 0x03; // VMSAv7 support |