From owner-cvs-all Wed Sep 2 19:10:18 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA22797 for cvs-all-outgoing; Wed, 2 Sep 1998 19:10:18 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA22792; Wed, 2 Sep 1998 19:10:16 -0700 (PDT) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA25150; Wed, 2 Sep 1998 19:10:10 -0700 (PDT) Date: Wed, 2 Sep 1998 19:10:10 -0700 (PDT) Message-Id: <199809030210.TAA25150@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/boot/alpha/common main.c src/sys/boot/alpha/libalpha alpha_copy.c src/sys/boot/common bootstrap.h commands.c interp.c load_aout.c ls.c misc.c module.c src/sys/boot/i386/installboot installboot.c src/sys/boot/i386/libi386 bootinfo.c i386_copy.c ... Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1998/09/02 19:10:10 PDT Modified files: sys/boot/alpha/common main.c sys/boot/alpha/libalpha alpha_copy.c sys/boot/common bootstrap.h commands.c interp.c load_aout.c ls.c misc.c module.c sys/boot/i386/installboot installboot.c sys/boot/i386/libi386 bootinfo.c i386_copy.c libi386.h sys/boot/i386/loader main.c Log: Bootstrap updates. - Move some startup code from MD to MI sections - Add a 'copyout' and some copyout-related functions. These will be obsoleted when BTX is available for the 386 and the kernel load area becomes directly addressable. - Add the ability load an arbitrary file as a module, associating and arbitrary type string with it. This can be used eg. for loading splash-screen images etc. - Add KLD module dependancy infrastructure. We know how to look for dependancies inside KLD modules, how to resolve these dependancies and what to do if things go wrong. Only works for a.out at the moment, due to lack of an MI ELF loader. Attach KLD module information to loaded modules as metadata, but don't pass it to the kernel (it can find it itself). - Load a.out KLD modules on a page boundary. Only pad the a.out BSS for the kernel, as it may want to throw symbols away. (We might want to do this for KLD modules too.) - Allow commands to be hidden from the '?' display, to avoid cluttering it with things like 'echo'. Add 'echo'. - Bring the 'prompt' command into line with the parser syntax. - Fix the verbose 'ls'; it was using an uninitialised stack variable. - Add a '-v' flag to 'lsmod' to have it display module metadata as well (not terribly useful for the average user) - Support a 'module searchpath' for required modules. - The bootstrap file on i386 is now called 'loader' to permit the /boot directory to use that name. - Discard the old i386 pread() function, as it's replaced by arch_readin() Revision Changes Path 1.4 +2 -10 src/sys/boot/alpha/common/main.c 1.2 +8 -1 src/sys/boot/alpha/libalpha/alpha_copy.c 1.3 +41 -3 src/sys/boot/common/bootstrap.h 1.2 +37 -2 src/sys/boot/common/commands.c 1.3 +31 -16 src/sys/boot/common/interp.c 1.2 +296 -38 src/sys/boot/common/load_aout.c 1.2 +7 -6 src/sys/boot/common/ls.c 1.2 +35 -1 src/sys/boot/common/misc.c 1.3 +376 -38 src/sys/boot/common/module.c 1.2 +1 -1 src/sys/boot/i386/installboot/installboot.c 1.2 +3 -2 src/sys/boot/i386/libi386/bootinfo.c 1.2 +8 -0 src/sys/boot/i386/libi386/i386_copy.c 1.3 +8 -10 src/sys/boot/i386/libi386/libi386.h 1.3 +2 -7 src/sys/boot/i386/loader/main.c