xref: /netbsd-src/sys/arch/alpha/include/kcore.h (revision eacc5f97c950c6d7d4f75a36e7874d813724ae95)
1*eacc5f97Smatt /* $NetBSD: kcore.h,v 1.4 2012/02/06 02:14:13 matt Exp $ */
20b1ff14fScgd 
30b1ff14fScgd /*
40b1ff14fScgd  * Copyright (c) 1996 Carnegie-Mellon University.
50b1ff14fScgd  * All rights reserved.
60b1ff14fScgd  *
70b1ff14fScgd  * Author: Chris G. Demetriou
80b1ff14fScgd  *
90b1ff14fScgd  * Permission to use, copy, modify and distribute this software and
100b1ff14fScgd  * its documentation is hereby granted, provided that both the copyright
110b1ff14fScgd  * notice and this permission notice appear in all copies of the
120b1ff14fScgd  * software, derivative works or modified versions, and any portions
130b1ff14fScgd  * thereof, and that both notices appear in supporting documentation.
140b1ff14fScgd  *
150b1ff14fScgd  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
160b1ff14fScgd  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
170b1ff14fScgd  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
180b1ff14fScgd  *
190b1ff14fScgd  * Carnegie Mellon requests users of this software to return to
200b1ff14fScgd  *
210b1ff14fScgd  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
220b1ff14fScgd  *  School of Computer Science
230b1ff14fScgd  *  Carnegie Mellon University
240b1ff14fScgd  *  Pittsburgh PA 15213-3890
250b1ff14fScgd  *
260b1ff14fScgd  * any improvements or extensions that they make and grant Carnegie the
270b1ff14fScgd  * rights to redistribute these changes.
280b1ff14fScgd  */
290b1ff14fScgd 
300b1ff14fScgd #ifndef _ALPHA_KCORE_H_
310b1ff14fScgd #define _ALPHA_KCORE_H_
320b1ff14fScgd 
330b1ff14fScgd typedef struct cpu_kcore_hdr {
34*eacc5f97Smatt 	uint64_t	lev1map_pa;		/* PA of Lev1map */
35*eacc5f97Smatt 	uint64_t	page_size;		/* Page size */
36*eacc5f97Smatt 	uint64_t	nmemsegs;		/* Number of RAM segments */
3769d88fbfScgd #if 0
3869d88fbfScgd 	phys_ram_seg_t  memsegs[];		/* RAM segments */
3969d88fbfScgd #endif
400b1ff14fScgd } cpu_kcore_hdr_t;
410b1ff14fScgd 
420b1ff14fScgd #endif /* _ALPHA_KCORE_H_ */
43