Subject: CVS commit: src/sys/arch/i386/stand
To: None <source-changes@netbsd.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/01/2003 16:48:20
Module Name:	src
Committed By:	dsl
Date:		Sat Feb  1 14:48:20 UTC 2003

Modified Files:
	src/sys/arch/i386/stand: Makefile.booters
	src/sys/arch/i386/stand/biosboot: Makefile devopen.c devopen.h main.c
	    version
	src/sys/arch/i386/stand/dosboot: Makefile version
	src/sys/arch/i386/stand/lib: bios_disk.S bios_pci.S biosdelay.S
	    biosdisk.c biosdisk.h biosdisk_ll.c biosgetrtc.S biosmca.S
	    biosmem.S biosmemx.S biosreboot.S biosvideomode.S
	    bootinfo_biosgeom.c comio.S conio.S diskbuf.c diskbuf.h dos_file.S
	    dosfile.c pcio.c pread.c startprog.S
	src/sys/arch/i386/stand/lib/crt/bootsect: bootsectmain.c
	    start_bootsect.S
	src/sys/arch/i386/stand/lib/crt/dos: start_dos.S
	src/sys/arch/i386/stand/lib/crt/pxe: start_pxe.S
	src/sys/arch/i386/stand/lib/crt/rom: start_rom.S
	src/sys/arch/i386/stand/netboot: version
	src/sys/arch/i386/stand/pxeboot: pxe_call.S version

Log Message:
Change all .S files to use .code16 and .code32
Support 32bit addresses >64k as valid on bios calls.
Move stack for dosboot and biosboot to >64 so stack doesn't hit data.
Use disk sector number passed by mbr code to select default partition
(the mbr code doesn't do this yet).
NB only biosboot and dosboot have been tested so far.
(changes approved by christos and fvdl)


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 src/sys/arch/i386/stand/Makefile.booters
cvs rdiff -r1.40 -r1.41 src/sys/arch/i386/stand/biosboot/Makefile
cvs rdiff -r1.11 -r1.12 src/sys/arch/i386/stand/biosboot/devopen.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/i386/stand/biosboot/devopen.h
cvs rdiff -r1.29 -r1.30 src/sys/arch/i386/stand/biosboot/main.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/i386/stand/biosboot/version
cvs rdiff -r1.21 -r1.22 src/sys/arch/i386/stand/dosboot/Makefile
cvs rdiff -r1.9 -r1.10 src/sys/arch/i386/stand/dosboot/version
cvs rdiff -r1.9 -r1.10 src/sys/arch/i386/stand/lib/bios_disk.S \
    src/sys/arch/i386/stand/lib/bootinfo_biosgeom.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/i386/stand/lib/bios_pci.S \
    src/sys/arch/i386/stand/lib/biosmca.S src/sys/arch/i386/stand/lib/pread.c
cvs rdiff -r1.1.1.1 -r1.2 src/sys/arch/i386/stand/lib/biosdelay.S \
    src/sys/arch/i386/stand/lib/conio.S src/sys/arch/i386/stand/lib/diskbuf.c \
    src/sys/arch/i386/stand/lib/diskbuf.h
cvs rdiff -r1.15 -r1.16 src/sys/arch/i386/stand/lib/biosdisk.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/stand/lib/biosdisk.h \
    src/sys/arch/i386/stand/lib/biosgetrtc.S \
    src/sys/arch/i386/stand/lib/biosmemx.S \
    src/sys/arch/i386/stand/lib/comio.S \
    src/sys/arch/i386/stand/lib/startprog.S
cvs rdiff -r1.13 -r1.14 src/sys/arch/i386/stand/lib/biosdisk_ll.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/stand/lib/biosmem.S
cvs rdiff -r1.1 -r1.2 src/sys/arch/i386/stand/lib/biosreboot.S \
    src/sys/arch/i386/stand/lib/biosvideomode.S
cvs rdiff -r1.4 -r1.5 src/sys/arch/i386/stand/lib/dos_file.S
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/stand/lib/dosfile.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/i386/stand/lib/pcio.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/i386/stand/lib/crt/bootsect/bootsectmain.c
cvs rdiff -r1.18 -r1.19 \
    src/sys/arch/i386/stand/lib/crt/bootsect/start_bootsect.S
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/stand/lib/crt/dos/start_dos.S
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/stand/lib/crt/pxe/start_pxe.S
cvs rdiff -r1.8 -r1.9 src/sys/arch/i386/stand/lib/crt/rom/start_rom.S
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/stand/netboot/version
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/stand/pxeboot/pxe_call.S
cvs rdiff -r1.1 -r1.2 src/sys/arch/i386/stand/pxeboot/version

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