Author: fireball
Date: Sat Jan 26 16:03:32 2008
New Revision: 32011
URL:
http://svn.reactos.org/svn/reactos?rev=32011&view=rev
Log:
- Display string identifiers in debug log too.
Modified:
trunk/reactos/boot/freeldr/freeldr/windows/conversion.c
Modified: trunk/reactos/boot/freeldr/freeldr/windows/conversion.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windo…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/windows/conversion.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/windows/conversion.c Sat Jan 26 16:03:32 2008
@@ -90,8 +90,8 @@
if (Child->ComponentEntry.Identifier)
Child->ComponentEntry.Identifier = PaToVa(Child->ComponentEntry.Identifier);
- DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id %p, parent %p\n",
Child,
- Child->ComponentEntry.Class, Child->ComponentEntry.Type,
Child->ComponentEntry.Identifier, Child->Parent));
+ DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id '%s', parent
%p\n", Child,
+ Child->ComponentEntry.Class, Child->ComponentEntry.Type,
VaToPa(Child->ComponentEntry.Identifier), Child->Parent));
// Go through siblings list
Sibling = VaToPa(Child->Sibling);
@@ -112,8 +112,8 @@
if (Sibling->ComponentEntry.Identifier)
Sibling->ComponentEntry.Identifier =
PaToVa(Sibling->ComponentEntry.Identifier);
- DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id %p, parent %p\n",
Sibling,
- Sibling->ComponentEntry.Class, Sibling->ComponentEntry.Type,
Sibling->ComponentEntry.Identifier, Sibling->Parent));
+ DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id '%s', parent
%p\n", Sibling,
+ Sibling->ComponentEntry.Class, Sibling->ComponentEntry.Type,
VaToPa(Sibling->ComponentEntry.Identifier), Sibling->Parent));
// Recurse into the Child tree
if (VaToPa(Sibling->Child) != NULL)