git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12726
6f19259b-4bc3-4df7-8a09-
765794883524
if (!IS_XIP()) {\r
if (IS_PRIMARY_CORE(MpId)) {\r
mGlobalVariableBase = GlobalVariableBase;\r
- ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);\r
+ if (ArmIsMpCore()) {\r
+ ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);\r
+ }\r
} else {\r
- // Wait the Primay core has defined the address of the Global Variable region\r
- ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);\r
+ // Wait the Primay core has defined the address of the Global Variable region\r
+ ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);\r
}\r
}\r
\r