Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/i386/stand/lib/crt/bootsect Pull up revision 1...



details:   https://anonhg.NetBSD.org/src/rev/5d32f2e25522
branches:  netbsd-1-4
changeset: 470630:5d32f2e25522
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 01 17:37:12 2000 +0000

description:
Pull up revision 1.17 (requested by fvdl):
  Fix a booting problem when int13 extensions are used (> 8GB),
  and CHS values in MBRs were written from sysinst or fdisk that
  some BIOSes (Adaptec SCSI BIOS 2.20 in particular) didn't like.

diffstat:

 sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r eb247ead6245 -r 5d32f2e25522 sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S
--- a/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S     Thu Jun 01 17:36:12 2000 +0000
+++ b/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S     Thu Jun 01 17:37:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: start_bootsect.S,v 1.12.2.1 1999/05/02 21:35:11 perry Exp $    */
+/*     $NetBSD: start_bootsect.S,v 1.12.2.2 2000/06/01 17:37:12 he Exp $       */
        
 /*
  * BIOS bootsector startup
@@ -231,7 +231,7 @@
 
        data32
        addr32
-       movl    8(%esi),%ebx
+       movl    %es:8(%esi),%ebx
        data32
        addl    $LOADSZ+1, %ebx /* ebx = maximum sector # we need */
 
@@ -411,7 +411,7 @@
 
 eread: .asciz          "Read err\r\n"
 enoboot: .asciz                "No NetBSD part\r\n"
-efail: .asciz          "Boot failed\r\n"
+efail: .asciz          "Boot fail\r\n"
 
 /* throw in a partition in case we are block0 as well */
 /* flag, head, sec, cyl, typ, ehead, esect, ecyl, start, len */



Home | Main Index | Thread Index | Old Index