into uvm_coredump_walkmap(), and use callbacks into the coredump routine to do something with each section.
out traditional NetBSD coredump routines into core_netbsd.c and netbsd32_core.c (for COMPAT_NETBSD32).