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,7 +199,9 @@ CEntryPoint (
|
|||
if (!IS_XIP()) {
|
||||
if (IS_PRIMARY_CORE(MpId)) {
|
||||
mGlobalVariableBase = GlobalVariableBase;
|
||||
if (ArmIsMpCore()) {
|
||||
ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);
|
||||
}
|
||||
} else {
|
||||
// Wait the Primay core has defined the address of the Global Variable region
|
||||
ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);
|
||||
|
|
Loading…
Reference in New Issue