Browse Source

[smbios] Print SMBIOS version number in debugging messages

tags/v0.9.4
Michael Brown 16 years ago
parent
commit
0c7618771e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/arch/i386/firmware/pcbios/smbios.c

+ 2
- 2
src/arch/i386/firmware/pcbios/smbios.c View File

136
 		}
136
 		}
137
 
137
 
138
 		/* Fill result structure */
138
 		/* Fill result structure */
139
-		DBG ( "Found SMBIOS entry point at %04x:%04x\n",
140
-		      BIOS_SEG, offset );
139
+		DBG ( "Found SMBIOS v%d.%d entry point at %04x:%04x\n",
140
+		      u.entry.major, u.entry.minor, BIOS_SEG, offset );
141
 		smbios.address = phys_to_user ( u.entry.smbios_address );
141
 		smbios.address = phys_to_user ( u.entry.smbios_address );
142
 		smbios.len = u.entry.smbios_len;
142
 		smbios.len = u.entry.smbios_len;
143
 		smbios.count = u.entry.smbios_count;
143
 		smbios.count = u.entry.smbios_count;

Loading…
Cancel
Save