https://git.reactos.org/?p=reactos.git;a=commitdiff;h=269f3a2b245af7bbed901…
commit 269f3a2b245af7bbed90111d4e9838735a48a53f
Author: Dmitry Borisov <di.sean(a)protonmail.com>
AuthorDate: Sun Jul 25 00:49:51 2021 +0600
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Sat Apr 16 11:54:24 2022 +0300
[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
---
hal/halx86/generic/usage.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hal/halx86/generic/usage.c b/hal/halx86/generic/usage.c
index 0652e817a95..14af02a37fc 100644
--- a/hal/halx86/generic/usage.c
+++ b/hal/halx86/generic/usage.c
@@ -287,6 +287,13 @@ HalpReportResourceUsage(IN PUNICODE_STRING HalName,
HalpComIoSpace.Next = HalpAddressUsageList;
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 */
HalpGetInfoFromACPI = HalpGetDebugPortTable();
@@ -310,6 +317,7 @@ HalpReportResourceUsage(IN PUNICODE_STRING HalName,
}
}
}
+#endif
}
/* On non-ACPI systems, we need to build an address map */