X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FInclude%2FLibrary%2FArmGicLib.h;fp=ArmPkg%2FInclude%2FLibrary%2FArmGicLib.h;h=e3ef228dba2ee1e199c0d8cd6668c8a9178d3705;hp=f2d4c7b27ce02b982460e87941f2f14d6cd377e9;hb=1b0ac0dedf19041512de152f047cc5a943598521;hpb=f5241b5725aab99189c733df6b03687656f8b1e8 diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h index f2d4c7b27c..e3ef228dba 100644 --- a/ArmPkg/Include/Library/ArmGicLib.h +++ b/ArmPkg/Include/Library/ArmGicLib.h @@ -140,10 +140,24 @@ ArmGicSendSgiTo ( IN INTN SgiId ); +/* + * Acknowledge and return the value of the Interrupt Acknowledge Register + * + * 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. + * + * @param GicInterruptInterfaceBase Base Address of the GIC CPU Interface + * @param InterruptId InterruptId read from the Interrupt Acknowledge Register + * + * @retval value returned by the Interrupt Acknowledge Register + * + */ UINTN EFIAPI ArmGicAcknowledgeInterrupt ( - IN UINTN GicInterruptInterfaceBase + IN UINTN GicInterruptInterfaceBase, + OUT UINTN *InterruptId ); VOID