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/mbr Need %ah == 0 (not 0xff) in order to...
details: https://anonhg.NetBSD.org/src/rev/9b48b3c27390
branches: trunk
changeset: 569886:9b48b3c27390
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Sep 12 08:41:47 2004 +0000
description:
Need %ah == 0 (not 0xff) in order to find the correct partition table entry
when simulating a key press in the non-interactive mbr code.
Fixes bug introduced in rev 1.10 - older versions worked because %ah
happened to be 0!
Fixes PR bin/26919
diffstat:
sys/arch/i386/stand/mbr/mbr.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9b3e9dae1e22 -r 9b48b3c27390 sys/arch/i386/stand/mbr/mbr.S
--- a/sys/arch/i386/stand/mbr/mbr.S Sun Sep 12 08:04:50 2004 +0000
+++ b/sys/arch/i386/stand/mbr/mbr.S Sun Sep 12 08:41:47 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbr.S,v 1.11 2004/09/05 21:42:43 dsl Exp $ */
+/* $NetBSD: mbr.S,v 1.12 2004/09/12 08:41:47 dsl Exp $ */
/*
* Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
@@ -228,7 +228,7 @@
*/
#ifndef BOOTSEL
- mov $SCAN_ENTER - SCAN_F1, %ax
+ mov $(SCAN_ENTER - SCAN_F1) & 0xff, %ax
#else
/*
* Get the initial time value for the timeout comparison. It is returned
Home |
Main Index |
Thread Index |
Old Index