1*394e2ba4Smiod /* $OpenBSD: kcore.h,v 1.1 2007/05/19 15:49:05 miod Exp $ */ 2*394e2ba4Smiod /* public domain */ 3*394e2ba4Smiod 4*394e2ba4Smiod /* Make sure this is larger than DRAM_BLOCKS on all arm-based platforms */ 5*394e2ba4Smiod #define NPHYS_RAM_SEGS 8 6*394e2ba4Smiod 7*394e2ba4Smiod typedef struct cpu_kcore_hdr { 8*394e2ba4Smiod u_int32_t kernelbase; /* value of KERNEL_BASE */ 9*394e2ba4Smiod u_int32_t kerneloffs; /* offset of kernel in RAM */ 10*394e2ba4Smiod u_int32_t staticsize; /* size of contiguous mapping */ 11*394e2ba4Smiod u_int32_t pmap_kernel_l1; /* pmap_kernel()->pm_l1 */ 12*394e2ba4Smiod u_int32_t pmap_kernel_l2; /* pmap_kernel()->pm_l2 */ 13*394e2ba4Smiod u_int32_t reserved[11]; 14*394e2ba4Smiod phys_ram_seg_t ram_segs[NPHYS_RAM_SEGS]; 15*394e2ba4Smiod } cpu_kcore_hdr_t; 16