Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MADT: Add RISC-V external interrupt controllers
This adds 3 different external interrupt controller definitions in MADT for RISC-V. 1) RISC-V PLIC is a platform interrupt controller for handling wired interrupt in a RISC-V systems. 2) RISC-V IMSIC is MSI interrupt controller to support MSI interrupts. 3) RISC-V APLIC has dual functionality. First it can act like PLIC and direct all wired interrupts to the CPU which doesn't have MSI controller. Second, when the CPU has MSI controller (IMSIC), it will act as a converter from wired interrupts to MSI. Update the existing RINTC structure also to support these external interrupt controllers. This codefirst ECR is approved by UEFI forum and will be part of next ACPI spec version. Reference: Mantis ID: 2381 Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Co-developed-by: Haibo, Xu <haibo1.xu@intel.com> Signed-off-by: Haibo, Xu <haibo1.xu@intel.com>
- Loading branch information