Author: hbelusca Date: Thu Feb 5 00:43:39 2015 New Revision: 66169
URL: http://svn.reactos.org/svn/reactos?rev=66169&view=rev Log: [FREELDR]: Add some debug information when searching for PCI routing tables.
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwpci.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hwpci.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/hwpci.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hwpci.c [iso-8859-1] Thu Feb 5 00:43:39 2015 @@ -44,7 +44,7 @@ if (Table->TableSize < FIELD_OFFSET(PCI_IRQ_ROUTING_TABLE, Slot) || Table->TableSize % 16 != 0) { - ERR("Invalid routing table size (%u) at %p. Continue searching...\n", Table->TableSize, Table); + ERR("Invalid routing table size (%u) at 0x%p. Continue searching...\n", Table->TableSize, Table); Table = (PPCI_IRQ_ROUTING_TABLE)((ULONG_PTR)Table + 0x10); continue; } @@ -58,11 +58,11 @@
if ((Sum & 0xFF) != 0) { - ERR("Invalid routing table checksum (%#lx) at %p. Continue searching...\n", Sum & 0xFF, Table); + ERR("Invalid routing table checksum (%#lx) at 0x%p. Continue searching...\n", Sum & 0xFF, Table); } else { - TRACE("Valid checksum\n"); + TRACE("Valid checksum (%#lx): found routing table at 0x%p\n", Sum & 0xFF, Table); return Table; } }