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/bootxx Fix problems booting disks with e...



details:   https://anonhg.NetBSD.org/src/rev/4c406631afbc
branches:  trunk
changeset: 556611:4c406631afbc
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Dec 21 20:56:40 2003 +0000

description:
Fix problems booting disks with extended partition from grub (and other
non-netbsd mbr code) - thanks to Joe Thiemann for finding this...

diffstat:

 sys/arch/i386/stand/bootxx/pbr.S |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 42015522f975 -r 4c406631afbc sys/arch/i386/stand/bootxx/pbr.S
--- a/sys/arch/i386/stand/bootxx/pbr.S  Sun Dec 21 19:36:31 2003 +0000
+++ b/sys/arch/i386/stand/bootxx/pbr.S  Sun Dec 21 20:56:40 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pbr.S,v 1.9 2003/10/13 06:08:28 lukem Exp $    */
+/*     $NetBSD: pbr.S,v 1.10 2003/12/21 20:56:40 dsl Exp $     */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -207,6 +207,7 @@
        set_err(ERR_PTN)
        jz      error
        xorl    %esi, %esi
+       movl    %esi, lba_sector
        jmp     start
 
 /*



Home | Main Index | Thread Index | Old Index