Commit Graph

5 Commits

Author SHA1 Message Date
thorpej 42e835d381 Clean up the NetBSD/ofppc boot loader:
- Garbage collect some cruft that doesn't apply to the ofppc port.
- Make our OFW-friendly alloc.c more like the libsa alloc.c
- Generally reduce some differences where we can between this
  boot loader and the NetBSD/macppc boot loader.
- Use libsa's loadfile().
- Fix DDB symbol loading -- Add a magic number after the args string
  so the kernel knows the symbols are there, provide both ssym and
  esym, and make sure all these values are aligned to a 4-byte boundary.
- Add support for MS-DOS file systems.
2001-10-23 03:31:25 +00:00
jdolecek 49c105ffdb add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
thorpej a53aafbf1a ...and again. 1997-04-19 01:40:08 +00:00
thorpej 28d3c2e2d3 Replay history.... 1997-04-19 01:39:44 +00:00
thorpej 1bd80ab675 New OpenFirmware boot code for NetBSD/powerpc, based on Wolfgang's original
NetBSD/powerpc boot program.  Highligts:
- Rearrange a bit so that we can sanely add boot programs for
  non-OpenFirmware systems.
- Add support for loading compressed kernels (for booting from
  1.44M floppies).
- Add support for loading Elf kernels (Elf is the new standard format
  for NetBSD/powerpc).  (XXX Don't load symbols right now - the code
  to do it is there, but I don't particularly like how space for the
  symbol table is allocated; I will revisit this soon'ish).
1997-04-16 20:28:59 +00:00