CPU_DUMPCONF(9) | Kernel Developer's Manual | CPU_DUMPCONF(9) |
void
cpu_dumpconf(void);
int
cpu_dump(int (*dump)(dev_t, daddr_t, void *, size_t), daddr_t *blknop);
int
cpu_dumpsize(void);
void
dumpsys(void);
dumpsys() is invoked by cpu_reboot() to dump kernel physical memory onto the dump device. dumpsys() invokes cpu_dump() to write the machine-dependent header to the dump device at block number *blknop using the dump device's PIO dump routine specified by the dump argument.
cpu_dumpsize(), cpu_dump(), and dumpsys() are parts of the machine-dependent interface, however they are not exported to machine-independent code.
May 24, 2002 | NetBSD 6.1 |