\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