Changeset 69703 in vbox
- Timestamp:
- Nov 15, 2017 12:54:20 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119078
- Location:
- trunk/src/VBox/Devices/PC/BIOS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/boot.c
r69501 r69703 324 324 // 0x55AA signature and a valid partition table but zeros in the 325 325 // rest of the boot sector. We do a quick check by comparing the first 326 // two wordsof boot sector; if identical, the boot sector is326 // and third word of boot sector; if identical, the boot sector is 327 327 // extremely unlikely to be valid. 328 328 if (bootdrv != 0) bootchk = 0; … … 335 335 #endif // BX_ELTORITO_BOOT 336 336 337 if (read_word(bootseg,0) == read_word(bootseg, 2)337 if (read_word(bootseg,0) == read_word(bootseg,4) 338 338 || (bootchk == 0 && read_word(bootseg,0x1fe) != 0xaa55)) 339 339 { -
trunk/src/VBox/Devices/PC/BIOS/notes.txt
r67785 r69703 101 101 the top of memory. 102 102 103 103 - Darwin x86 6.0.2 ISO (darwinx86-602.iso) has a bizarre boot sector (using 104 El Torito hard disk emulation) with the first five bytes being zero. It 105 appears to be valid despite the oddity. 104 106 105 107 286 BIOS
Note:
See TracChangeset
for help on using the changeset viewer.