caa807ac35
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 |
||
---|---|---|
.. | ||
ansi.h | ||
aout_machdep.h | ||
autoconf.h | ||
bsd-aout.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
conf.h | ||
cpu.h | ||
db_machdep.h | ||
disklabel.h | ||
ecoff_machdep.h | ||
elf_machdep.h | ||
elf.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
ieee.h | ||
ieeefp.h | ||
int_types.h | ||
intr.h | ||
kcore.h | ||
kdbparam.h | ||
limits.h | ||
lock.h | ||
locore.h | ||
mainboard.h | ||
Makefile | ||
math.h | ||
mips_opcode.h | ||
param.h | ||
pcb.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
prom.h | ||
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 |