From: Ali Saidi Date: Fri, 2 Mar 2012 14:18:19 +0000 (-0600) Subject: ARM: FIx a bug preventing multiple cores booting a VExpress_EMM machine. X-Git-Tag: stable_2012_06_28~200 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b129d7ce00a2cb6f0bbdcee90f0202cda8449117;p=gem5.git 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. --- 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