]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/AsmMacroIoLib.inc
ARM Packages: Replaced the macro GetCorePositionFromMpId() by the ArmPlatformGetCoreP...
[mirror_edk2.git] / ArmPkg / Include / AsmMacroIoLib.inc
index 5796adcb12970fad235326ad42a0d86c0a224b90..54c32d4c34f949fb6cd4013bcf5325327cbfa239 100644 (file)
   ldr  $Reg, =($Data) \r
   MEND \r
   \r
-  MACRO\r
-  GetCorePositionFromMpId $Pos, $MpId, $Tmp\r
-  ;Note: The ARM macro does not support the pre-processing. 0xFF and (0xFF << 8) are the values of\r
-  ;      ARM_CORE_MASK and ARM_CLUSTER_MASK \r
-  mov   $Tmp, #(0xFF :OR: (0xFF << 8))\r
-  and   $MpId, $Tmp\r
-  lsr   $Pos, $MpId, #6\r
-  and   $Tmp, $MpId, #3\r
-  add   $Pos, $Pos, $Tmp\r
-  MEND\r
-  \r
   ; The reserved place must be 8-bytes aligned for pushing 64-bit variable on the stack\r
   ; Note: Global Size will be modified\r
   MACRO\r