mirror of
https://gitlab.com/qemu-project/edk2.git
synced 2025-11-03 07:59:00 +08:00
The `GET_MPIDR_AFFINITY_BITS` macro masks MT_BIT in ArmReadMpidr (), but `CoreInfo[Index].Mpidr` wasn't masked by the same macro which causes a mismatch even if it is the same MPIDR value. This change uses the same `GET_MPIDR_AFFINITY_BITS` macro for `CoreInfo[Index].Mpidr` to fix the core index searching logic. Signed-off-by: Kun Qin <kuqin@microsoft.com>