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:
oliviermartin 2011-11-16 12:53:25 +00:00
parent f01219e875
commit 1aa9860e8f
1 changed files with 5 additions and 3 deletions

View File

@ -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);