diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2021-05-26 17:43:14 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-06-01 15:52:01 +0000 |
commit | ea522a12b35852728a5fdbaa484bdb7425402f5b (patch) | |
tree | b74bc8a28c4940c595ba036439acf2bb7c2a375c /ArmPkg/Include/Library/ArmGicLib.h | |
parent | a44fef7de3454cb0cb32a65a5fca16bec0b9416d (diff) | |
download | edk2-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.h | 6 |
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
);
/*
|