The ArmGicLib API function GicGetCpuRedistributorBase () declares
GicCpuRedistributorBase to iterate over the redistributors of all
CPUs, but then inadvertently advances GicRedistributorBase instead.
Reported-by: "Oliyil Kunnil, Vishal" <vishalo@qti.qualcomm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
}\r
\r
// Move to the next GIC Redistributor frame\r
- GicRedistributorBase += GicRedistributorGranularity;\r
+ GicCpuRedistributorBase += GicRedistributorGranularity;\r
}\r
\r
// The Redistributor has not been found for the current CPU\r