mirror of https://github.com/acidanthera/audk.git
ArmPkg/ArmGicLib: use correct loop variable
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>
This commit is contained in:
parent
1f8f4e33a1
commit
92cec05e27
|
@ -76,7 +76,7 @@ GicGetCpuRedistributorBase (
|
|||
}
|
||||
|
||||
// Move to the next GIC Redistributor frame
|
||||
GicRedistributorBase += GicRedistributorGranularity;
|
||||
GicCpuRedistributorBase += GicRedistributorGranularity;
|
||||
}
|
||||
|
||||
// The Redistributor has not been found for the current CPU
|
||||
|
|
Loading…
Reference in New Issue