1/* $OpenBSD: kcore.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */ 2/* $NetBSD: kcore.h,v 1.3 1998/02/14 00:17:57 cgd Exp $ */ 3 4/* 5 * Copyright (c) 1996 Carnegie-Mellon University. 6 * All rights reserved. 7 * 8 * Author: Chris G. Demetriou 9 * 10 * Permission to use, copy, modify and distribute this software and 11 * its documentation is hereby granted, provided that both the copyright 12 * notice and this permission notice appear in all copies of the 13 * software, derivative works or modified versions, and any portions 14 * thereof, and that both notices appear in supporting documentation. 15 * 16 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 17 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 18 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 19 * 20 * Carnegie Mellon requests users of this software to return to 21 * 22 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 23 * School of Computer Science 24 * Carnegie Mellon University 25 * Pittsburgh PA 15213-3890 26 * 27 * any improvements or extensions that they make and grant Carnegie the 28 * rights to redistribute these changes. 29 */ 30 31#ifndef _MACHINE_KCORE_H_ 32#define _MACHINE_KCORE_H_ 33 34typedef struct cpu_kcore_hdr { 35 u_int64_t lev1map_pa; /* PA of Lev1map */ 36 u_int64_t page_size; /* Page size */ 37 u_int64_t nmemsegs; /* Number of RAM segments */ 38#if 0 39 phys_ram_seg_t memsegs[]; /* RAM segments */ 40#endif 41} cpu_kcore_hdr_t; 42 43#endif /* _MACHINE_KCORE_H_ */ 44