[ros-diffs] [fireball] 31134: - Create an empty configuration tree for Xbox machine, so that ReactOS-Xbox is able to boot further.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Dec 10 22:11:16 CET 2007


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/i386/xboxhw.c?rev=31134&r1=31133&r2=31134&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list