From f64694318d20c43472bf1a36d46efd4636cff4d7 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Mon, 10 Dec 2007 21:11:16 +0000 Subject: [PATCH] - Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to boot further. svn path=/trunk/; revision=31134 --- .../boot/freeldr/freeldr/arch/i386/xboxhw.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c b/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c index f310a47febf..7ac6f2622e5 100644 --- a/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c +++ b/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c @@ -19,9 +19,28 @@ #include +#define NDEBUG +#include + VOID XboxHwDetect(VOID) { + PCONFIGURATION_COMPONENT_DATA SystemKey; + + DbgPrint((DPRINT_HWDETECT, "DetectHardware()\n")); + + /* Create the 'System' key */ + FldrCreateSystemKey(&SystemKey); + + /* Set empty component information */ + FldrSetComponentInformation(SystemKey, + 0x0, + 0x0, + 0xFFFFFFFF); + + /* TODO: Build actual xbox's hardware configuration tree */ + + DbgPrint((DPRINT_HWDETECT, "DetectHardware() Done\n")); } /* EOF */