Some BIOSs insist on patching the Bios Parameter Block for some drives
(e.g. LS-120). Make room for this.
This commit is contained in:
parent
fa7460bdff
commit
18f9174133
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: start_bootsect.S,v 1.6 1998/10/15 15:28:22 ws Exp $ */
|
/* $NetBSD: start_bootsect.S,v 1.7 1998/11/11 16:46:38 ws Exp $ */
|
||||||
|
|
||||||
/* BIOS bootsector startup
|
/* BIOS bootsector startup
|
||||||
parts from netbsd:sys/arch/i386/boot/start.S
|
parts from netbsd:sys/arch/i386/boot/start.S
|
||||||
|
@ -97,6 +97,9 @@ pacify_braindead_bios:
|
||||||
data32
|
data32
|
||||||
ljmp $0x7c0, $start1
|
ljmp $0x7c0, $start1
|
||||||
|
|
||||||
|
/* some BIOSs insist on patching the BPB, esp. on LS120 drives */
|
||||||
|
. = _C_LABEL(boot1) + 0x25
|
||||||
|
|
||||||
start1:
|
start1:
|
||||||
# set up %ds
|
# set up %ds
|
||||||
movl %cs, %ax
|
movl %cs, %ax
|
||||||
|
|
Loading…
Reference in New Issue