CPU_DUMPCONF(9)
β¨ NAME β¨
okay so this is the CPU_DUMPCONF(9) page from the Kernel Developer's Manual, and it's literally about machine-dependent kernel core dumps π
cpu_dumpconf,cpu_dump,cpu_dumpsize,dumpsysβ machine-dependent kernel core dumps π
π οΈ SYNOPSIS π οΈ
bestie, here's the exact include-and-prototype situation, no cap:
#include <sys/types.h>
#include <sys/systm.h>
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);
πΎ DESCRIPTION πΎ
let's get into it πΈ
cpu_dumpconf()β this is the machine-dependent interface that gets invoked during system bootstrap to determine the dump device and initialize machine-dependent kernel core dump state. Internally, it invokescpu_dumpsize()to calculate the size of machine-dependent kernel core dump headers. β¨dumpsys()β invoked bycpu_reboot()to dump kernel physical memory onto the dump device. It invokescpu_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 thedumpargument. πΎcpu_dumpsize(),cpu_dump(), anddumpsys()β these are parts of the machine-dependent interface, however they are not exported to machine-independent code. π
π SEE ALSO π
cpu_reboot(9)π
that's the whole vibe, bestie π«Ά β Debian, May 24, 2002, CPU_DUMPCONF(9) β periodt π
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2002 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms