mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Display string identifiers in debug log too.
svn path=/trunk/; revision=32011
This commit is contained in:
parent
5b5baba7f5
commit
94fc5d3927
1 changed files with 4 additions and 4 deletions
|
@ -90,8 +90,8 @@ ConvertConfigToVA(PCONFIGURATION_COMPONENT_DATA Start)
|
||||||
if (Child->ComponentEntry.Identifier)
|
if (Child->ComponentEntry.Identifier)
|
||||||
Child->ComponentEntry.Identifier = PaToVa(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,
|
DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id '%s', parent %p\n", Child,
|
||||||
Child->ComponentEntry.Class, Child->ComponentEntry.Type, Child->ComponentEntry.Identifier, Child->Parent));
|
Child->ComponentEntry.Class, Child->ComponentEntry.Type, VaToPa(Child->ComponentEntry.Identifier), Child->Parent));
|
||||||
|
|
||||||
// Go through siblings list
|
// Go through siblings list
|
||||||
Sibling = VaToPa(Child->Sibling);
|
Sibling = VaToPa(Child->Sibling);
|
||||||
|
@ -112,8 +112,8 @@ ConvertConfigToVA(PCONFIGURATION_COMPONENT_DATA Start)
|
||||||
if (Sibling->ComponentEntry.Identifier)
|
if (Sibling->ComponentEntry.Identifier)
|
||||||
Sibling->ComponentEntry.Identifier = PaToVa(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,
|
DbgPrint((DPRINT_WINDOWS, "Device 0x%X class %d type %d id '%s', parent %p\n", Sibling,
|
||||||
Sibling->ComponentEntry.Class, Sibling->ComponentEntry.Type, Sibling->ComponentEntry.Identifier, Sibling->Parent));
|
Sibling->ComponentEntry.Class, Sibling->ComponentEntry.Type, VaToPa(Sibling->ComponentEntry.Identifier), Sibling->Parent));
|
||||||
|
|
||||||
// Recurse into the Child tree
|
// Recurse into the Child tree
|
||||||
if (VaToPa(Sibling->Child) != NULL)
|
if (VaToPa(Sibling->Child) != NULL)
|
||||||
|
|
Loading…
Reference in a new issue