瀏覽代碼

[smbios] Print SMBIOS version number in debugging messages

tags/v0.9.4
Michael Brown 16 年之前
父節點
當前提交
0c7618771e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/arch/i386/firmware/pcbios/smbios.c

+ 2
- 2
src/arch/i386/firmware/pcbios/smbios.c 查看文件

@@ -136,8 +136,8 @@ static int find_smbios ( void ) {
136 136
 		}
137 137
 
138 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 141
 		smbios.address = phys_to_user ( u.entry.smbios_address );
142 142
 		smbios.len = u.entry.smbios_len;
143 143
 		smbios.count = u.entry.smbios_count;

Loading…
取消
儲存