소스 검색

[smbios] Print SMBIOS version number in debugging messages

tags/v0.9.4
Michael Brown 17 년 전
부모
커밋
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…
취소
저장