NetBSD/sys
wdk caa807ac35 * Tidy up reading of Mips volume header information
All compatable values are copied from the MIPS volume header to the
  BSD disklabel structures.

* Add support for writing Mips volume header.

* Remove support for writing NetBSD label directly (this was broken)

These changes allow the kernel to read either a BSD disklabel created under
NetBSD/sparc or a MIPS volume header created under RISC/os.

There is a small amount of losage with the conversion between the 2
types of disk labels (mainly to do with file system types).
A table is used to map partition numbers and types between the two
types, and unless someone does something real fancy (or crazy) it should
work in both senario's

This change will allow the stand alone shell to directly load a NetBSD
kernel and mount a file system, avoiding the need for a seperate disk or
bootp server to bootstrapping NetBSD.

NetBSD/mipsco is now self sufficiant.  We are not far from having a
miniroot filesystem and removing the need to have another NetBSD
machine to create the base filesystems.

Minor Trap for young players:
   The root partition must be created with 'newfs -O' in order for the
   stand alone shell to boot the kernel

TODO:
   Add support for writing NetBSD disk labels back in - it will be useful
   for non boot disks.   I'm just not sure how to control the 2 behavours
2000-08-22 11:59:34 +00:00
..
adosfs MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-03 00:54:23 +00:00
arch * Tidy up reading of Mips volume header information 2000-08-22 11:59:34 +00:00
coda Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
compat declare struct firm_event32 2000-08-22 03:35:14 +00:00
conf "upc" uses "wdc", so put the former after the latter. 2000-08-17 18:56:17 +00:00
crypto Support WEP functions for awi driver. 2000-07-04 14:27:56 +00:00
ddb Missed change of parameter for %r->db_format_radix() change. 2000-08-11 22:50:47 +00:00
dev update description 2000-08-22 11:42:14 +00:00
filecorefs MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-03 03:38:39 +00:00
gdbscripts gdb macro to print the kernel message buffer 2000-06-08 14:45:24 +00:00
ipkdb Fix a few (essential!) tyops. 2000-03-23 20:33:37 +00:00
isofs MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-03 03:39:52 +00:00
kern Protect hardclock_ticks and softclock_ticks with the callwheel 2000-08-21 23:51:33 +00:00
lib compile byte_swap_2.S and byte_swap_4.S 2000-07-21 11:19:46 +00:00
lkm Resolve conflicts. 2000-05-03 11:12:03 +00:00
miscfs Add a lock around the scheduler, and use it as necessary, including 2000-08-20 21:50:06 +00:00
msdosfs fix one of debug printfs to print dosfilename correctly, and include 2000-08-11 19:41:58 +00:00
net - icmp6 nodeinfo: remove possibility of unaligned pointer access. 2000-08-19 08:15:53 +00:00
netatalk Avoid recursion with traditional cpp. 2000-07-28 12:13:32 +00:00
netccitt More format checking 2000-07-08 17:45:53 +00:00
netinet net.inet.tcp.rstratelimit is deprecated. make it invalid and return 2000-08-15 22:13:02 +00:00
netinet6 - icmp6 nodeinfo: remove possibility of unaligned pointer access. 2000-08-19 08:15:53 +00:00
netiso Avoid recursion with traditional cpp. 2000-07-28 12:13:32 +00:00
netkey remove #ifdef notdef part. sync with kame. 2000-07-26 07:40:52 +00:00
netnatm Keystone Kwality Kops: add multiple-include protection. 2000-07-03 01:19:23 +00:00
netns remove unused macro. 2000-04-10 02:19:29 +00:00
nfs Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
ntfs MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-03 03:39:52 +00:00
stand
sys splhigh() -> splsched(). 2000-08-21 02:07:18 +00:00
ufs Do not call MALLOC with M_WAITOK while holding the "lock". Thanks to 2000-08-15 14:25:08 +00:00
uvm Remove a totally unnecessary splhigh/spl0 pair. 2000-08-21 02:29:32 +00:00
Makefile remove vm 2000-06-29 12:04:24 +00:00