Commit Graph

8 Commits

Author SHA1 Message Date
chs cf9ab742f6 fix parsing of pathnames with a partition specifier.
reformat for readability.
2002-09-18 01:45:25 +00:00
itojun 73941c5096 avoid hardcoding MBR_MAGICOFF and MBR_MAGIC. 2002-06-18 00:37:25 +00:00
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
wiz 3ed1e031ab bcopy -> memcpy, bzero -> memset 2001-07-22 14:43:14 +00:00
wrstuden 7478ef04eb Catch up with sys/disklabel_mbr.h. 1999-10-12 19:40:51 +00:00
drochner 3bb9e75863 Change MBR partition type for NetBSD to 0xa9, like the i386 port.
Provide compatibility via COMPAT_386BSD_MBRPART.
1998-03-02 16:18:17 +00:00
mycroft ab5aeaa789 Clean up #include paths.
Copy prom2boot() from kernel source.
rename _rtt() to OF_exit(), and add a _rtt() that calls it.
1998-02-22 07:42:30 +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