Commit Graph

6 Commits

Author SHA1 Message Date
tsutsui 8157a94d99 Define and use both HOSTTOTARGET32() and TARGET32TOHOST() properly.
(just for consistency)
2002-05-21 16:49:19 +00:00
lukem d22f5cff9c - use uint8_t instead of char for boot block blobs
- bbinfo_params:
	- replace "int littleendian" with "bbinfo_endian endian"
	- add comments
- shared_bbinfo_clearboot():
	- add callback method to shared_bbinfo_clearboot()
	- don't clear from 0..headeroffset; use a callback to do that
- add news68k and newsmips support.
  From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, with a rework by me to
  take advantage of the new shared_bbinfo_clearboot() callback.
  (XXX: untested yet)
2002-05-20 16:05:26 +00:00
lukem ba66837514 more cosmetic tweaks 2002-05-20 15:04:25 +00:00
lukem a59ed8d893 cosmetic tweaks 2002-05-20 14:56:10 +00:00
lukem 1d0ec965d1 don't print a warning if the callback failed; rely upon the callback
to do that for us.
2002-05-15 13:34:27 +00:00
lukem 35749caf16 bootblock.h:
- unify sparc_bbinfo (1064 bytes, with 256 block entries)
  and sun68k_bbinfo (296 byte, with 64 block entries)
  into shared_bbinfo (512 bytes, with 118 block entries),
  which will be also shared by future bbinfo-using platforms
  (including macppc)
- add datestamp to *_BBINFO_MAGIC strings, to prevent installboot vs
  bootxx version skew.
- add macppc support

*/bootxx.c:
- migrate to new shared_bbinfo structure

installboot:
- add macppc support (still needs applepartmap support and testing)
- improve and add some more warnings & errors to installboot
- implement shared_bbinfo_clearboot() and shared_bbinfo_setboot(), which
  perform the majority of the work for bbinfo-using back-ends
  (rather than replicating that across multiple back-ends).
2002-05-15 09:56:59 +00:00