]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/PrePeiCore/MainMPCore.c
ArmPkg/ArmGic: Returned the InterruptId in ArmGicAcknowledgeInterrupt()
authorOlivier Martin <olivier.martin@arm.com>
Fri, 4 Jul 2014 14:41:30 +0000 (14:41 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 4 Jul 2014 14:41:30 +0000 (14:41 +0000)
commit1b0ac0dedf19041512de152f047cc5a943598521
tree6047781ccdb5a7eaacab3907d4971a8b440b50f4
parentf5241b5725aab99189c733df6b03687656f8b1e8
ArmPkg/ArmGic: Returned the InterruptId in ArmGicAcknowledgeInterrupt()

The InterruptId has a different width for GicV2 and GicV3 (respectively
10bit and 24bit).
The function prototype has been changed to return this value to make the
caller GIC architecture version independent. Otherwise, we would have need
to expose a different mask to allow the caller to retrieve this value from
the read register.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15628 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Drivers/ArmGic/ArmGicLib.c
ArmPkg/Include/Library/ArmGicLib.h
ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.c
ArmPlatformPkg/PrePeiCore/MainMPCore.c
ArmPlatformPkg/PrePi/MainMPCore.c