]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.c
ArmPlatformPkg/ArmPlatformLib: Added support for ArmPlatformIsPrimaryCore()
[mirror_edk2.git] / ArmPlatformPkg / Library / ArmPlatformSecLibNull / ArmPlatformLibNullSec.c
index 1a83882030f900ed1772a2edf8744cfb83d99203..41f4f74085081512ab2e341ce79c512443d65706 100644 (file)
@@ -29,7 +29,7 @@ ArmPlatformSecTrustzoneInit (
   )\r
 {\r
   // Secondary cores might have to set the Secure SGIs into the GICD_IGROUPR0\r
-  if (!IS_PRIMARY_CORE(MpId)) {\r
+  if (!ArmPlatformIsPrimaryCore (MpId)) {\r
     return;\r
   }\r
 \r
@@ -49,7 +49,7 @@ ArmPlatformSecInitialize (
   )\r
 {\r
   // If it is not the primary core then there is nothing to do\r
-  if (!IS_PRIMARY_CORE(MpId)) {\r
+  if (!ArmPlatformIsPrimaryCore (MpId)) {\r
     return RETURN_SUCCESS;\r
   }\r
 \r