mirror of https://github.com/acidanthera/audk.git
ded1d5414b
The ArmGicAcknowledgeInterrupt () returns the value returned by the Interrupt Acknowledge Register and the InterruptID separately in an out parameter. The function documents the following: 'InterruptId is returned separately from the register value because in the GICv2 the register value contains the CpuId and InterruptId while in the GICv3 the register value is only the InterruptId.' This function skips setting the InterruptId in the out parameter for GICv3. Although the return value from the function is the InterruptId for GICv3, this breaks the function usage model as the caller expects the InterruptId in the out parameter for the function. e.g. The caller may end up using the InterruptID which could potentially be an uninitialised variable value. Therefore, set the InterruptID in the function out parameter for GICv3 as well. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> |
||
---|---|---|
.. | ||
Application/ArmCpuInfo | ||
Drivers | ||
Filesystem/SemihostFs | ||
Include | ||
Library | ||
Universal/Smbios | ||
ArmPkg.ci.yaml | ||
ArmPkg.dec | ||
ArmPkg.dsc |