From ba264857d39f9dfc5824c792cf619426625cdec8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 4 Oct 1996 05:21:46 +0000 Subject: handle 165/165 correctly; from tholo --- sys/arch/i386/boot/start.S | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3