diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-16 12:53:25 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-16 12:53:25 +0000 |
commit | 1aa9860e8f27a7cf5c8d36854945d9af328a0239 (patch) | |
tree | 0d346d87c0d98352969aa82d9777228a39cbe60e /ArmPlatformPkg/PrePi | |
parent | f01219e875c68e045f1bc755390f5e238ba5a4ad (diff) | |
download | edk2-platforms-1aa9860e8f27a7cf5c8d36854945d9af328a0239.tar.xz |
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
Diffstat (limited to 'ArmPlatformPkg/PrePi')
-rwxr-xr-x | ArmPlatformPkg/PrePi/PrePi.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ArmPlatformPkg/PrePi/PrePi.c b/ArmPlatformPkg/PrePi/PrePi.c index eba8750a41..11396d1537 100755 --- a/ArmPlatformPkg/PrePi/PrePi.c +++ b/ArmPlatformPkg/PrePi/PrePi.c @@ -199,10 +199,12 @@ CEntryPoint ( if (!IS_XIP()) {
if (IS_PRIMARY_CORE(MpId)) {
mGlobalVariableBase = GlobalVariableBase;
- ArmCpuSynchronizeSignal (ARM_CPU_EVENT_DEFAULT);
+ 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);
+ // Wait the Primay core has defined the address of the Global Variable region
+ ArmCpuSynchronizeWait (ARM_CPU_EVENT_DEFAULT);
}
}
|