xref: /openbsd/sys/arch/alpha/include/kcore.h (revision 2fa72412)
1*2fa72412Spirofti /* $OpenBSD: kcore.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */
2aed035abSart /* $NetBSD: kcore.h,v 1.3 1998/02/14 00:17:57 cgd Exp $ */
350ce9ee0Sniklas 
450ce9ee0Sniklas /*
550ce9ee0Sniklas  * Copyright (c) 1996 Carnegie-Mellon University.
650ce9ee0Sniklas  * All rights reserved.
750ce9ee0Sniklas  *
850ce9ee0Sniklas  * Author: Chris G. Demetriou
950ce9ee0Sniklas  *
1050ce9ee0Sniklas  * Permission to use, copy, modify and distribute this software and
1150ce9ee0Sniklas  * its documentation is hereby granted, provided that both the copyright
1250ce9ee0Sniklas  * notice and this permission notice appear in all copies of the
1350ce9ee0Sniklas  * software, derivative works or modified versions, and any portions
1450ce9ee0Sniklas  * thereof, and that both notices appear in supporting documentation.
1550ce9ee0Sniklas  *
1650ce9ee0Sniklas  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
1750ce9ee0Sniklas  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
1850ce9ee0Sniklas  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
1950ce9ee0Sniklas  *
2050ce9ee0Sniklas  * Carnegie Mellon requests users of this software to return to
2150ce9ee0Sniklas  *
2250ce9ee0Sniklas  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
2350ce9ee0Sniklas  *  School of Computer Science
2450ce9ee0Sniklas  *  Carnegie Mellon University
2550ce9ee0Sniklas  *  Pittsburgh PA 15213-3890
2650ce9ee0Sniklas  *
2750ce9ee0Sniklas  * any improvements or extensions that they make and grant Carnegie the
2850ce9ee0Sniklas  * rights to redistribute these changes.
2950ce9ee0Sniklas  */
3050ce9ee0Sniklas 
31*2fa72412Spirofti #ifndef _MACHINE_KCORE_H_
32*2fa72412Spirofti #define _MACHINE_KCORE_H_
3350ce9ee0Sniklas 
3450ce9ee0Sniklas typedef struct cpu_kcore_hdr {
3550ce9ee0Sniklas 	u_int64_t	lev1map_pa;		/* PA of Lev1map */
3650ce9ee0Sniklas 	u_int64_t	page_size;		/* Page size */
37aed035abSart 	u_int64_t	nmemsegs;		/* Number of RAM segments */
38aed035abSart #if 0
39aed035abSart 	phys_ram_seg_t  memsegs[];		/* RAM segments */
40aed035abSart #endif
4150ce9ee0Sniklas } cpu_kcore_hdr_t;
4250ce9ee0Sniklas 
43*2fa72412Spirofti #endif /* _MACHINE_KCORE_H_ */
44