summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Include/Library/ArmGicLib.h
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2021-05-26 17:43:14 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-06-01 15:52:01 +0000
commitea522a12b35852728a5fdbaa484bdb7425402f5b (patch)
treeb74bc8a28c4940c595ba036439acf2bb7c2a375c /ArmPkg/Include/Library/ArmGicLib.h
parenta44fef7de3454cb0cb32a65a5fca16bec0b9416d (diff)
downloadedk2-ea522a12b35852728a5fdbaa484bdb7425402f5b.tar.gz
edk2-ea522a12b35852728a5fdbaa484bdb7425402f5b.tar.bz2
edk2-ea522a12b35852728a5fdbaa484bdb7425402f5b.zip
ArmPkg: Fix ArmGicSendSgiTo() parameters
The Software Generated Interrupt Register (GICD_SGIR) is a 32 bit register with the following bit assignment: TargetListFilter, bits [25:24] CPUTargetList, bits [23:16] NSATT, bit [15] SGIINTID, bits [3:0] Therefore, modify the TargetListFilter, CPUTargetList, SGI Interrupt ID parameters of the ArmGicSendSgiTo () to use UINT8 instead of INTN. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmPkg/Include/Library/ArmGicLib.h')
-rw-r--r--ArmPkg/Include/Library/ArmGicLib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ArmPkg/Include/Library/ArmGicLib.h b/ArmPkg/Include/Library/ArmGicLib.h
index 7253cda5b8..cede7a24b7 100644
--- a/ArmPkg/Include/Library/ArmGicLib.h
+++ b/ArmPkg/Include/Library/ArmGicLib.h
@@ -167,9 +167,9 @@ VOID
EFIAPI
ArmGicSendSgiTo (
IN UINTN GicDistributorBase,
- IN INTN TargetListFilter,
- IN INTN CPUTargetList,
- IN INTN SgiId
+ IN UINT8 TargetListFilter,
+ IN UINT8 CPUTargetList,
+ IN UINT8 SgiId
);
/*