diff options
| author | Sunil V L <sunilvl@ventanamicro.com> | 2024-08-05 00:24:27 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-02 23:52:41 +0300 |
| commit | 524e4c8a0586ef7ea874300c63a8fd8335bdafe3 (patch) | |
| tree | 65d313acdf31fb017adf9aac8725637cbc171833 /MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.uni | |
| parent | 0411b05771e58719b94e09e51c1d0ae8a263b3b4 (diff) | |
| download | edk2-524e4c8a0586ef7ea874300c63a8fd8335bdafe3.tar.xz | |
DynamicTablesPkg/FdtHwInfoParserLib/Pci: Convert IRQ to GSI for RISC-V
On RISC-V platforms, the Global System Interrupt (GSI) space is divided
across multiple PLIC/APLIC interrupt controllers. The IRQ number in the
device tree (DT) needs to be translated to the corresponding GSI by:
1. Mapping the IRQ number to its parent interrupt controller using the
phandle from the 'interrupt-map' property.
2. Converting the IRQ to a GSI number using the interrupt controller’s
GSI base.
This change ensures accurate IRQ-to-GSI translation for PCI devices,
enabling correct interrupt routing on RISC-V systems.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.uni')
0 files changed, 0 insertions, 0 deletions
