Author: fireball
Date: Tue Dec 11 00:11:16 2007
New Revision: 31134
URL:
http://svn.reactos.org/svn/reactos?rev=31134&view=rev
Log:
- Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to
boot further.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/xboxhw.c Tue Dec 11 00:11:16 2007
@@ -19,9 +19,28 @@
#include <freeldr.h>
+#define NDEBUG
+#include <debug.h>
+
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 */