1*e02071cfSmiod /* $OpenBSD: kcore.h,v 1.4 2005/12/17 07:31:26 miod Exp $ */ 247bc79e1Srahnds /* $NetBSD: kcore.h,v 1.1 1996/09/30 16:34:26 ws Exp $ */ 347bc79e1Srahnds 447bc79e1Srahnds /*- 547bc79e1Srahnds * Copyright (C) 1996 Wolfgang Solfrank. 647bc79e1Srahnds * Copyright (C) 1996 TooLs GmbH. 747bc79e1Srahnds * All rights reserved. 847bc79e1Srahnds * 947bc79e1Srahnds * Redistribution and use in source and binary forms, with or without 1047bc79e1Srahnds * modification, are permitted provided that the following conditions 1147bc79e1Srahnds * are met: 1247bc79e1Srahnds * 1. Redistributions of source code must retain the above copyright 1347bc79e1Srahnds * notice, this list of conditions and the following disclaimer. 1447bc79e1Srahnds * 2. Redistributions in binary form must reproduce the above copyright 1547bc79e1Srahnds * notice, this list of conditions and the following disclaimer in the 1647bc79e1Srahnds * documentation and/or other materials provided with the distribution. 1747bc79e1Srahnds * 3. All advertising materials mentioning features or use of this software 1847bc79e1Srahnds * must display the following acknowledgement: 1947bc79e1Srahnds * This product includes software developed by TooLs GmbH. 2047bc79e1Srahnds * 4. The name of TooLs GmbH may not be used to endorse or promote products 2147bc79e1Srahnds * derived from this software without specific prior written permission. 2247bc79e1Srahnds * 2347bc79e1Srahnds * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 2447bc79e1Srahnds * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2547bc79e1Srahnds * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2647bc79e1Srahnds * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2747bc79e1Srahnds * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 2847bc79e1Srahnds * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 2947bc79e1Srahnds * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 3047bc79e1Srahnds * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 3147bc79e1Srahnds * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 3247bc79e1Srahnds * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3347bc79e1Srahnds */ 3447bc79e1Srahnds 3552c13d20Sdrahn #ifndef _POWERPC_KCORE_H_ 3652c13d20Sdrahn #define _POWERPC_KCORE_H_ 3747bc79e1Srahnds 3847bc79e1Srahnds #define NPHYS_RAM_SEGS 4 3947bc79e1Srahnds 4047bc79e1Srahnds typedef struct cpu_kcore_hdr { 41*e02071cfSmiod paddr_t ptable; /* Phys address of page table */ 42*e02071cfSmiod paddr_t potable; /* Phys address of page overflow table */ 4347bc79e1Srahnds phys_ram_seg_t ram_segs[NPHYS_RAM_SEGS]; 4447bc79e1Srahnds } cpu_kcore_hdr_t; 4547bc79e1Srahnds 4652c13d20Sdrahn #endif /* _POWERPC_KCORE_H_ */ 47