diff options
author | Michael Brown | 2005-04-12 18:27:27 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-12 18:27:27 +0200 |
commit | bbcdf38214d21c47212cfe04f5eaac1cda8338ae (patch) | |
tree | 84a7d3624e010913975844d1053c3177f9ae606c /src/arch/i386/core/pci_io.c | |
parent | Should work for KEEP_IT_REAL as well now. (diff) | |
download | ipxe-bbcdf38214d21c47212cfe04f5eaac1cda8338ae.tar.gz ipxe-bbcdf38214d21c47212cfe04f5eaac1cda8338ae.tar.xz ipxe-bbcdf38214d21c47212cfe04f5eaac1cda8338ae.zip |
Improved debug messages
Diffstat (limited to 'src/arch/i386/core/pci_io.c')
-rw-r--r-- | src/arch/i386/core/pci_io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/i386/core/pci_io.c b/src/arch/i386/core/pci_io.c index 81bf30a2..ae2e2201 100644 --- a/src/arch/i386/core/pci_io.c +++ b/src/arch/i386/core/pci_io.c @@ -165,6 +165,7 @@ static void find_pcibios16 ( void ) { } /* We have a PCI BIOS */ + DBG ( "Found 16-bit PCI BIOS interface\n" ); have_pcibios = 1; return; } @@ -264,6 +265,8 @@ static unsigned long find_bios32_service ( struct bios32 * bios32, switch ( return_code ) { case BIOS32_SERVICE_PRESENT: + DBG ( "BIOS32 service %c%c%c%c present at %#x\n", + PRINT_BIOS_SIG ( service ), ( address + entry ) ); return ( address + entry ); case BIOS32_SERVICE_NOT_PRESENT: DBG ( "BIOS32 service %c%c%c%c : not present\n", @@ -276,6 +279,10 @@ static unsigned long find_bios32_service ( struct bios32 * bios32, } } +/* + * Find the 32-bit PCI BIOS interface, if present. + * + */ static void find_pcibios32 ( void ) { struct bios32 *bios32; uint32_t signature; @@ -317,6 +324,7 @@ static void find_pcibios32 ( void ) { } /* We have a PCI BIOS */ + DBG ( "Found 32-bit PCI BIOS interface at %#x\n", pcibios32_entry ); have_pcibios = 1; return; } |