projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e37eb
)
ARM: FIx a bug preventing multiple cores booting a VExpress_EMM machine.
author
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 2 Mar 2012 14:18:19 +0000
(08:18 -0600)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Fri, 2 Mar 2012 14:18:19 +0000
(08:18 -0600)
New kernel code verifies that multi-processor extensions are available
before booting secondary CPUs.
src/arch/arm/isa.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/isa.cc
b/src/arch/arm/isa.cc
index 9d76ca60e5a640649711e56855b9668230bd53dc..b8a0fe2823572e7d674e515c2de110c47cdb3237 100644
(file)
--- 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