mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/PrePi: Ony synchronize cores when it is a MPCore System
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12726 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f01219e875
commit
1aa9860e8f
|
@ -199,10 +199,12 @@ CEntryPoint (
|
||||||
if (!IS_XIP()) {
|
if (!IS_XIP()) {
|
||||||
if (IS_PRIMARY_CORE(MpId)) {
|
if (IS_PRIMARY_CORE(MpId)) {
|
||||||
mGlobalVariableBase = GlobalVariableBase;
|
mGlobalVariableBase = GlobalVariableBase;
|
||||||
ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);
|
if (ArmIsMpCore()) {
|
||||||
|
ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Wait the Primay core has defined the address of the Global Variable region
|
// Wait the Primay core has defined the address of the Global Variable region
|
||||||
ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);
|
ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue