Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib/crt/bootsect Use ES to address the p...



details:   https://anonhg.NetBSD.org/src/rev/730245a79b3b
branches:  trunk
changeset: 485869:730245a79b3b
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun May 07 22:58:58 2000 +0000

description:
Use ES to address the partition table when checking if we need to use
int13 extensions. Fixes PR 9676.

diffstat:

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

diffs (27 lines):

diff -r 9c7c89e3eb5c -r 730245a79b3b sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S
--- a/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S     Sun May 07 21:22:43 2000 +0000
+++ b/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S     Sun May 07 22:58:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: start_bootsect.S,v 1.16 1999/08/23 08:24:37 kleink Exp $       */
+/*     $NetBSD: start_bootsect.S,v 1.17 2000/05/07 22:58:58 fvdl 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