e1245a3c46
i/o is done. Instead, pass an opaque cookie which is then passed to a new routine, coredump_write, which does the actual i/o. This allows the method of doing i/o to change without affecting any future MD code. Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that core_elf64.c uses core_elf32.c) and eliminate that code duplication. cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill the core structure and a second to actually write md parts of the coredump. All i/o is nolonger random access and is suitable for shipping over a stream. |
||
---|---|---|
.. | ||
autoconf.c | ||
clock.c | ||
console.c | ||
db_disasm.c | ||
db_machdep.c | ||
disksubr.c | ||
kl10.c | ||
locore.S | ||
machdep.c | ||
mem.c | ||
pmap.c | ||
trap.c | ||
vm_machdep.c |