boot system and buildkernel - Remove the thrice damned forth interpreter
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 04:38:56 +0000 (21:38 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Sep 2010 04:38:56 +0000 (21:38 -0700)
commit116b7e3c174090f2c3e2f98e4d71f482b50700db
tree12245a0c5056574e0efe62c78527f327759c3ce9
parent89dc08d7177a43acba62ff9c0b773c99a66cac65
boot system and buildkernel - Remove the thrice damned forth interpreter

* Remove the forth interpreter from the build.  The last straw was when
  I tried to fix the module path and 6 hours later still couldn't get
  it right.

* Write a C based menu system and loader, replacing what the forth code
  used to do.  This is about 85% complete (tftp and boot chaining issues
  are not handled).  This took exactly one day to do, by the way.

* Reformulate installkernel to now create a directory /boot/kernel.blah
  and place the kernel and modules inside that directory.
37 files changed:
sys/boot/Makefile
sys/boot/README
sys/boot/common/Makefile.inc
sys/boot/common/boot.c
sys/boot/common/bootstrap.h
sys/boot/common/commands.c
sys/boot/common/do_default.c [new file with mode: 0644]
sys/boot/common/do_dloader.c [new file with mode: 0644]
sys/boot/common/do_forth.c [new file with mode: 0644]
sys/boot/common/interp_parse.c
sys/boot/common/load.c
sys/boot/common/load_elf.c
sys/boot/common/load_elf_obj.c
sys/boot/common/ls.c
sys/boot/common/module.c
sys/boot/common/pnp.c
sys/boot/common/rel_open.c
sys/boot/dloader/Makefile [new file with mode: 0644]
sys/boot/dloader/cmds.c [new file with mode: 0644]
sys/boot/dloader/config.c [copied from sys/boot/common/rel_open.c with 71% similarity]
sys/boot/dloader/dloader.h [copied from sys/boot/common/rel_open.c with 71% similarity]
sys/boot/dloader/dloader.menu [new file with mode: 0644]
sys/boot/dloader/loader-bootp.conf [new file with mode: 0644]
sys/boot/dloader/loader.conf [new file with mode: 0644]
sys/boot/dloader/subs.c [copied from sys/boot/common/rel_open.c with 51% similarity]
sys/boot/efi/loader/Makefile
sys/boot/ficl/loader.c
sys/boot/ia64/skiload/Makefile
sys/boot/pc32/loader/Makefile
sys/boot/pc32/loader/dloader.rc [new file with mode: 0644]
sys/boot/pc32/loader_tftp/Makefile
sys/boot/powerpc/loader/Makefile
sys/boot/sparc64/loader/Makefile
sys/conf/kern.paths.mk
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/conf/kmod.mk