diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-04 05:21:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-04 05:21:46 +0000 |
commit | ba264857d39f9dfc5824c792cf619426625cdec8 (patch) | |
tree | 1c317d6c4f7e207df9a7b7c643d19c08d2931f8b | |
parent | 4077410cc907a3c4ce6a56d5e5899225b4cdaecb (diff) |
handle 165/165 correctly; from tholo
-rw-r--r-- | sys/arch/i386/boot/start.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/i386/boot/start.S b/sys/arch/i386/boot/start.S index dfb383cc2de..d9adc1ac74d 100644 --- a/sys/arch/i386/boot/start.S +++ b/sys/arch/i386/boot/start.S @@ -165,7 +165,7 @@ hd: /**** load sector 0 into the BOOTSEG ****/ data32 jb read_error - /***# find the first 386BSD partition *****/ + /***# find the first OpenBSD partition *****/ data32 movl $PARTSTART, %ebx data32 @@ -180,6 +180,12 @@ again: addl $PARTSZ, %ebx data32 loop again + + /***# find the first 386/Net/FreeBSD partition *****/ + data32 + movl $PARTSTART, %ebx + data32 + movl $NUMPART, %ecx again2: addr32 movb %es:4(%ebx), %al |