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/boot We want a literal 0x86 in %ah for t...



details:   https://anonhg.NetBSD.org/src/rev/abe6d322672d
branches:  trunk
changeset: 759906:abe6d322672d
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Dec 20 00:39:06 2010 +0000

description:
We want a literal 0x86 in %ah for this int $0x15 delay,
not the value of the byte at 0x86.

diffstat:

 sys/arch/i386/stand/boot/biosboot.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9df39d3fc899 -r abe6d322672d sys/arch/i386/stand/boot/biosboot.S
--- a/sys/arch/i386/stand/boot/biosboot.S       Mon Dec 20 00:25:23 2010 +0000
+++ b/sys/arch/i386/stand/boot/biosboot.S       Mon Dec 20 00:39:06 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: biosboot.S,v 1.6 2008/04/28 20:23:25 martin Exp $      */
+/*     $NetBSD: biosboot.S,v 1.7 2010/12/20 00:39:06 jakllsch Exp $    */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -132,7 +132,7 @@
        call    prot_to_real
        .code16
 loopstop:
-       movb    0x86, %ah               /* delay for about a second */
+       movb    $0x86, %ah              /* delay for about a second */
        movw    $16, %cx
        int     $0x15
        int     $0x18                   /* might be a boot fail entry */



Home | Main Index | Thread Index | Old Index