From b129d7ce00a2cb6f0bbdcee90f0202cda8449117 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Fri, 2 Mar 2012 08:18:19 -0600 Subject: 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. --- src/arch/arm/isa.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3