6fb817f5dd
- factor out disksubr.c between sun3, sparc and sparc64. Keep the sun3 groveling code to find a NetBSD disklabel in the first sector (so that it can find a label at the old sun3 LABELOFFSET) as a fallback is not label at LABELOFFSET, or sun label is present. - Fix the sun3 LABELOFFSET (was 64, but the kernel wrote the NetBSD label at 128) - Make next68k disksubr.c always write a next-compatible disklabel. - remove #ifdef __sparc__ hack from disklabel(8), and change it to issue a DIOCWDINFO after writing the disklabel to the raw partition in the -r/-I case (so that the kernel can convert the label if needed). |
||
---|---|---|
.. | ||
Makefile | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
autoconf.h | ||
bswap.h | ||
bus.h | ||
bus_dma.h | ||
bus_space.h | ||
cdefs.h | ||
cpu.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian.h | ||
endian_machdep.h | ||
float.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
kcore.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
math.h | ||
mcontext.h | ||
param.h | ||
pcb.h | ||
pmap.h | ||
pmc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
svr4_machdep.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
z8530var.h |