1*9547cd8bSjoerg /* $NetBSD: kcore.h,v 1.3 2013/06/25 15:08:43 joerg Exp $ */ 281918bf8Sfvdl 381918bf8Sfvdl /* 481918bf8Sfvdl * Copyright (c) 1996 Carnegie-Mellon University. 581918bf8Sfvdl * All rights reserved. 681918bf8Sfvdl * 781918bf8Sfvdl * Author: Chris G. Demetriou 881918bf8Sfvdl * 981918bf8Sfvdl * Permission to use, copy, modify and distribute this software and 1081918bf8Sfvdl * its documentation is hereby granted, provided that both the copyright 1181918bf8Sfvdl * notice and this permission notice appear in all copies of the 1281918bf8Sfvdl * software, derivative works or modified versions, and any portions 1381918bf8Sfvdl * thereof, and that both notices appear in supporting documentation. 1481918bf8Sfvdl * 1581918bf8Sfvdl * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 1681918bf8Sfvdl * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 1781918bf8Sfvdl * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 1881918bf8Sfvdl * 1981918bf8Sfvdl * Carnegie Mellon requests users of this software to return to 2081918bf8Sfvdl * 2181918bf8Sfvdl * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 2281918bf8Sfvdl * School of Computer Science 2381918bf8Sfvdl * Carnegie Mellon University 2481918bf8Sfvdl * Pittsburgh PA 15213-3890 2581918bf8Sfvdl * 2681918bf8Sfvdl * any improvements or extensions that they make and grant Carnegie the 2781918bf8Sfvdl * rights to redistribute these changes. 2881918bf8Sfvdl */ 2981918bf8Sfvdl 3081918bf8Sfvdl /* 3181918bf8Sfvdl * Modified for NetBSD/i386 by Jason R. Thorpe, Numerical Aerospace 3281918bf8Sfvdl * Simulation Facility, NASA Ames Research Center. 3381918bf8Sfvdl * 3481918bf8Sfvdl * And once again modified for x86-64 by Frank van der Linden of 3581918bf8Sfvdl * Wasabi Systems, Inc. 3681918bf8Sfvdl */ 3781918bf8Sfvdl 38*9547cd8bSjoerg #ifndef _AMD64_KCORE_H_ 3981918bf8Sfvdl #define _AMD64_KCORE_H_ 4081918bf8Sfvdl 4181918bf8Sfvdl typedef struct cpu_kcore_hdr { 42a0fc30e9Scegger uint64_t ptdpaddr; /* PA of PML4 */ 43a0fc30e9Scegger uint64_t nmemsegs; /* Number of RAM segments */ 4481918bf8Sfvdl #if 0 4581918bf8Sfvdl phys_ram_seg_t memsegs[]; /* RAM segments */ 4681918bf8Sfvdl #endif 4781918bf8Sfvdl } cpu_kcore_hdr_t; 4881918bf8Sfvdl 4981918bf8Sfvdl #endif /* _AMD64_KCORE_H_ */ 50