[HALXBOX] Do not claim interrupt resources for the KD COM port

The actual COM port lacks SERIRQ, IRQ 4 is hardwired to the NIC

CORE-15872 CORE-16216
This commit is contained in:
Dmitry Borisov 2021-07-25 00:49:51 +06:00 committed by Stanislav Motylkov
parent 96b40c9566
commit 269f3a2b24

View file

@ -287,6 +287,13 @@ HalpReportResourceUsage(IN PUNICODE_STRING HalName,
HalpComIoSpace.Next = HalpAddressUsageList; HalpComIoSpace.Next = HalpAddressUsageList;
HalpAddressUsageList = &HalpComIoSpace; HalpAddressUsageList = &HalpComIoSpace;
#if defined(SARCH_XBOX)
/*
* Do not claim interrupt resources for the KD COM port.
* The actual COM port lacks SERIRQ, IRQ 4 is hardwired to the NIC.
*/
UNREFERENCED_PARAMETER(Port);
#else
/* Use the debug port table if we have one */ /* Use the debug port table if we have one */
HalpGetInfoFromACPI = HalpGetDebugPortTable(); HalpGetInfoFromACPI = HalpGetDebugPortTable();
@ -310,6 +317,7 @@ HalpReportResourceUsage(IN PUNICODE_STRING HalName,
} }
} }
} }
#endif
} }
/* On non-ACPI systems, we need to build an address map */ /* On non-ACPI systems, we need to build an address map */