NetBSD/sys/arch/mipsco/include
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
..
ansi.h
aout_machdep.h
autoconf.h Parse bootflags and attempt to find the root device from the boot command line 2000-08-16 21:54:43 +00:00
bsd-aout.h
bswap.h
bus.h
cdefs.h
conf.h
cpu.h #include <mips/locore.h> no longer required since implementing bus_space(9) 2000-08-17 21:26:34 +00:00
db_machdep.h
disklabel.h * Tidy up reading of Mips volume header information 2000-08-22 11:59:34 +00:00
ecoff_machdep.h
elf_machdep.h
elf.h
endian_machdep.h
endian.h
float.h
ieee.h
ieeefp.h
int_types.h
intr.h Make sure we provide splsched() as described in spl(9). 2000-08-21 02:06:31 +00:00
kcore.h
kdbparam.h
limits.h
lock.h
locore.h
mainboard.h Trap and report memory parity errors 2000-08-16 21:00:39 +00:00
Makefile
math.h
mips_opcode.h
param.h
pcb.h
pmap.h
proc.h
profile.h
prom.h - Add support for calling most prom firmware functions 2000-08-19 12:13:46 +00:00
psl.h
pte.h
ptrace.h
reg.h
regdef.h
regnum.h
reloc.h
setjmp.h
signal.h
stdarg.h
sysconf.h
trap.h
types.h
varargs.h
vmparam.h
z8530var.h