From d054f63e6879f78147dfe547439a316de218f25c Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Wed, 9 Jul 2025 20:39:48 -0700 Subject: [PATCH] [HALACPI] Initialize HalpPicVectorRedirect with the full 0-15 array This probably seems a little silly that I'm making a change to an array we don't really use but because of this little bug ACPI was getting reported as 0xA which is incorrect! As we call IoConnectInterrupt with 0x9 later. This makes sure that the IRQ from FADT is correct. --- hal/halx86/acpi/halacpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/halx86/acpi/halacpi.c b/hal/halx86/acpi/halacpi.c index 83a5ff64235..090b862d7a0 100644 --- a/hal/halx86/acpi/halacpi.c +++ b/hal/halx86/acpi/halacpi.c @@ -37,7 +37,7 @@ LIST_ENTRY HalpAcpiTableMatchList; ULONG HalpInvalidAcpiTable; -ULONG HalpPicVectorRedirect[] = {0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15}; +ULONG HalpPicVectorRedirect[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; /* This determines the HAL type */ BOOLEAN HalDisableFirmwareMapper = TRUE;