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 Set BFL_NEWMBR flag so that fdisk ca...



details:   https://anonhg.NetBSD.org/src/rev/d39ccd06716e
branches:  trunk
changeset: 546443:d39ccd06716e
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Apr 29 10:24:24 2003 +0000

description:
Set BFL_NEWMBR flag so that fdisk can differenciate between new and old mbr code.

diffstat:

 sys/arch/i386/stand/mbr/mbr.S |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (26 lines):

diff -r 19b8c64fdf60 -r d39ccd06716e sys/arch/i386/stand/mbr/mbr.S
--- a/sys/arch/i386/stand/mbr/mbr.S     Tue Apr 29 09:55:53 2003 +0000
+++ b/sys/arch/i386/stand/mbr/mbr.S     Tue Apr 29 10:24:24 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.S,v 1.1 2003/04/28 12:19:05 dsl Exp $      */
+/*     $NetBSD: mbr.S,v 1.2 2003/04/29 10:24:24 dsl Exp $      */
 
 /*
  * Copyright (c) 1999-2003 The NetBSD Foundation, Inc. 
@@ -521,12 +521,10 @@
  */
 defkey:
        .byte   SCAN_ENTER              /* ps/2 code */
-flags:
-#ifdef BOOTSEL_FLAGS
-       .byte   BOOTSEL_FLAGS
-#else
-       .byte   0x00
-#endif /* BOOTSEL */
+#ifndef BOOTSEL_FLAGS
+#define        BOOTSEL_FLAGS   0
+#endif
+flags: .byte   BFL_NEWMBR | BOOTSEL_FLAGS
 /*
  * Timeout value. ~65536 ticks per hour, which is ~18.2 times per second.
  * 0xffff means never timeout.



Home | Main Index | Thread Index | Old Index