1 1.3 joerg /* $NetBSD: kcore.h,v 1.3 2013/06/25 15:08:43 joerg Exp $ */ 2 1.1 fvdl 3 1.1 fvdl /* 4 1.1 fvdl * Copyright (c) 1996 Carnegie-Mellon University. 5 1.1 fvdl * All rights reserved. 6 1.1 fvdl * 7 1.1 fvdl * Author: Chris G. Demetriou 8 1.1 fvdl * 9 1.1 fvdl * Permission to use, copy, modify and distribute this software and 10 1.1 fvdl * its documentation is hereby granted, provided that both the copyright 11 1.1 fvdl * notice and this permission notice appear in all copies of the 12 1.1 fvdl * software, derivative works or modified versions, and any portions 13 1.1 fvdl * thereof, and that both notices appear in supporting documentation. 14 1.1 fvdl * 15 1.1 fvdl * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 1.1 fvdl * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 17 1.1 fvdl * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18 1.1 fvdl * 19 1.1 fvdl * Carnegie Mellon requests users of this software to return to 20 1.1 fvdl * 21 1.1 fvdl * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU 22 1.1 fvdl * School of Computer Science 23 1.1 fvdl * Carnegie Mellon University 24 1.1 fvdl * Pittsburgh PA 15213-3890 25 1.1 fvdl * 26 1.1 fvdl * any improvements or extensions that they make and grant Carnegie the 27 1.1 fvdl * rights to redistribute these changes. 28 1.1 fvdl */ 29 1.1 fvdl 30 1.1 fvdl /* 31 1.1 fvdl * Modified for NetBSD/i386 by Jason R. Thorpe, Numerical Aerospace 32 1.1 fvdl * Simulation Facility, NASA Ames Research Center. 33 1.1 fvdl * 34 1.1 fvdl * And once again modified for x86-64 by Frank van der Linden of 35 1.1 fvdl * Wasabi Systems, Inc. 36 1.1 fvdl */ 37 1.1 fvdl 38 1.3 joerg #ifndef _AMD64_KCORE_H_ 39 1.1 fvdl #define _AMD64_KCORE_H_ 40 1.1 fvdl 41 1.1 fvdl typedef struct cpu_kcore_hdr { 42 1.2 cegger uint64_t ptdpaddr; /* PA of PML4 */ 43 1.2 cegger uint64_t nmemsegs; /* Number of RAM segments */ 44 1.1 fvdl #if 0 45 1.1 fvdl phys_ram_seg_t memsegs[]; /* RAM segments */ 46 1.1 fvdl #endif 47 1.1 fvdl } cpu_kcore_hdr_t; 48 1.1 fvdl 49 1.1 fvdl #endif /* _AMD64_KCORE_H_ */ 50