[smbios] Print SMBIOS version number in debugging messages
authorMichael Brown <mcb30@etherboot.org>
Tue, 19 Aug 2008 21:01:38 +0000 (22:01 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 19 Aug 2008 21:01:38 +0000 (22:01 +0100)
src/arch/i386/firmware/pcbios/smbios.c

index 875d421..a2cb3b8 100644 (file)
@@ -136,8 +136,8 @@ static int find_smbios ( void ) {
                }
 
                /* Fill result structure */
-               DBG ( "Found SMBIOS entry point at %04x:%04x\n",
-                     BIOS_SEG, offset );
+               DBG ( "Found SMBIOS v%d.%d entry point at %04x:%04x\n",
+                     u.entry.major, u.entry.minor, BIOS_SEG, offset );
                smbios.address = phys_to_user ( u.entry.smbios_address );
                smbios.len = u.entry.smbios_len;
                smbios.count = u.entry.smbios_count;