DragonFly BSD
DragonFly commits List (threaded) for 2010-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: boot system and buildkernel - Remove the thrice damned forth interpreter


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Aug 2010 21:42:58 -0700 (PDT)

commit 116b7e3c174090f2c3e2f98e4d71f482b50700db
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Aug 31 21:38:56 2010 -0700

    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.

Summary of changes:
 sys/boot/Makefile                  |    6 +-
 sys/boot/README                    |  249 +-----------------------
 sys/boot/common/Makefile.inc       |   12 +-
 sys/boot/common/boot.c             |   28 +++
 sys/boot/common/bootstrap.h        |    3 +-
 sys/boot/common/commands.c         |   10 +-
 sys/boot/common/do_default.c       |  304 +++++++++++++++++++++++++++++
 sys/boot/common/do_dloader.c       |  337 ++++++++++++++++++++++++++++++++
 sys/boot/common/do_forth.c         |  238 +++++++++++++++++++++++
 sys/boot/common/interp_parse.c     |   17 ++-
 sys/boot/common/load.c             |    4 +-
 sys/boot/common/load_elf.c         |   32 +++-
 sys/boot/common/load_elf_obj.c     |    2 +-
 sys/boot/common/ls.c               |    8 +-
 sys/boot/common/module.c           |   13 +-
 sys/boot/common/pnp.c              |    2 +-
 sys/boot/common/rel_open.c         |  136 ++++++++++++-
 sys/boot/dloader/Makefile          |   51 +++++
 sys/boot/dloader/cmds.c            |  378 ++++++++++++++++++++++++++++++++++++
 sys/boot/dloader/config.c          |   33 +++
 sys/boot/dloader/dloader.h         |   52 +++++
 sys/boot/dloader/dloader.menu      |  133 +++++++++++++
 sys/boot/dloader/loader-bootp.conf |  349 +++++++++++++++++++++++++++++++++
 sys/boot/dloader/loader.conf       |  347 +++++++++++++++++++++++++++++++++
 sys/boot/dloader/subs.c            |  133 +++++++++++++
 sys/boot/efi/loader/Makefile       |   32 ++--
 sys/boot/ficl/loader.c             |    2 +-
 sys/boot/ia64/skiload/Makefile     |   15 +-
 sys/boot/pc32/loader/Makefile      |   24 ++--
 sys/boot/pc32/loader/dloader.rc    |   14 ++
 sys/boot/pc32/loader_tftp/Makefile |   23 +--
 sys/boot/powerpc/loader/Makefile   |   32 ++--
 sys/boot/sparc64/loader/Makefile   |   20 +-
 sys/conf/kern.paths.mk             |   13 +-
 sys/conf/kern.post.mk              |   67 +++++--
 sys/conf/kern.pre.mk               |    4 +
 sys/conf/kmod.mk                   |    4 +-
 37 files changed, 2734 insertions(+), 393 deletions(-)
 create mode 100644 sys/boot/common/do_default.c
 create mode 100644 sys/boot/common/do_dloader.c
 create mode 100644 sys/boot/common/do_forth.c
 create mode 100644 sys/boot/dloader/Makefile
 create mode 100644 sys/boot/dloader/cmds.c
 create mode 100644 sys/boot/dloader/config.c
 create mode 100644 sys/boot/dloader/dloader.h
 create mode 100644 sys/boot/dloader/dloader.menu
 create mode 100644 sys/boot/dloader/loader-bootp.conf
 create mode 100644 sys/boot/dloader/loader.conf
 create mode 100644 sys/boot/dloader/subs.c
 create mode 100644 sys/boot/pc32/loader/dloader.rc

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/116b7e3c174090f2c3e2f98e4d71f482b50700db


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]