Subject: CVS commit: src/sys/arch/i386/stand/bootxx
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 06/27/2004 15:37:11
Module Name:	src
Committed By:	dsl
Date:		Sun Jun 27 15:37:11 UTC 2004

Modified Files:
	src/sys/arch/i386/stand/bootxx: boot1.c bootxx.S

Log Message:
Change interface between bootxx.S and boot1() - always linked together.
This allows boot1() to change the sector number (of the boot partition)
that bootxx.S passes through to boot2().
This means that boot2() will find the correct partition when boot1()
reads /boot from the 'a' partition instead of the mbr boot partition.
This all happens when you update a system that used a small 'wd0h' partition
to boot a raid1 set to the new bootcode.  Deleting /boot from the 'wd0h'
partition will make the new bootcode find /boot and the root filesystem
inside the raid set.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/stand/bootxx/boot1.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/i386/stand/bootxx/bootxx.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.