Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Nov 2003 06:12:17 +0000 (06:12 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Nov 2003 06:12:17 +0000 (06:12 +0000)
commitdc62b251da95640322845b6c3170ccc7249e96d7
tree222bf9b1bd5080e6998946f81108a26411429030
parent5ee58eeda7055d3502f1c903d7bb6bd9c40150af
Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
so /kernel will be found and loaded instead of /boot/kernel.  This will
give us all the capabilities of the FreeBSD-5 boot code including AMD64 and
ELF64 support.

As part of this work, rather then try to adjust ufs/fs.h and friends to get
UFS2 info I instead copied the fs.h and friends from FreeBSD-5 into the
sys/boot subtree

Additionally, import Peter Wemm's linker set improvements from FreeBSD-5.x.
They happen to be compatible with GCC 2.95.x and it allows very few changes
to be made to the boot code.

Additionally import a number of other elements from FreeBSD-5 including
sys/diskmbr.h separation.
56 files changed:
sys/bus/cam/cam_periph.c
sys/bus/cam/cam_periph.h
sys/bus/cam/cam_xpt.c
sys/conf/Makefile.alpha
sys/conf/Makefile.i386
sys/conf/Makefile.pc98
sys/conf/kmod.mk
sys/cpu/i386/include/elf.h
sys/ddb/db_command.c
sys/dev/misc/kbd/kbd.c
sys/dev/misc/kbd/kbdreg.h
sys/dev/misc/syscons/scterm.c
sys/dev/misc/syscons/scvgarndr.c
sys/dev/misc/syscons/scvidctl.c
sys/dev/misc/syscons/syscons.h
sys/dev/serial/ic_layer/ns16550.h
sys/dev/serial/sio/sioreg.h
sys/dev/video/fb/fb.c
sys/dev/video/fb/fbreg.h
sys/emulation/linux/i386/linux.h
sys/emulation/linux/i386/linux_sysvec.c
sys/emulation/linux/linux_ioctl.c
sys/i386/include/bootinfo.h
sys/i386/include/elf.h
sys/i386/include/metadata.h [new file with mode: 0644]
sys/kern/init_main.c
sys/kern/kern_linker.c
sys/kern/kern_sysctl.c
sys/kern/link_aout.c
sys/kern/link_elf.c
sys/kern/subr_diskmbr.c
sys/kern/subr_diskslice.c
sys/kern/tty_cons.c
sys/netproto/ncp/ncp_conn.c
sys/netproto/smb/smb_conn.c
sys/platform/pc32/include/bootinfo.h
sys/platform/pc32/include/metadata.h [new file with mode: 0644]
sys/sys/cdefs.h
sys/sys/cons.h
sys/sys/disklabel.h
sys/sys/disklabel32.h
sys/sys/diskmbr.h [new file with mode: 0644]
sys/sys/elf32.h
sys/sys/elf64.h
sys/sys/elf_generic.h
sys/sys/kernel.h
sys/sys/linker.h
sys/sys/linker_set.h
sys/sys/module.h
sys/sys/odisklabel.h
sys/sys/reboot.h
sys/sys/sysctl.h
sys/vfs/nwfs/nwfs_io.c
sys/vfs/nwfs/nwfs_node.c
sys/vfs/smbfs/smbfs_io.c
sys/vfs/smbfs/smbfs_node.c