1*3934398eSmiod /* $OpenBSD: kcore.h,v 1.3 2005/09/06 19:28:22 miod Exp $ */ 23180e169Smiod 33180e169Smiod /* 43180e169Smiod * Copyright (c) 2001 Miodrag Vallat. 53180e169Smiod * All rights reserved. 63180e169Smiod * 73180e169Smiod * Redistribution and use in source and binary forms, with or without 83180e169Smiod * modification, are permitted provided that the following conditions 93180e169Smiod * are met: 103180e169Smiod * 1. Redistributions of source code must retain the above copyright 113180e169Smiod * notice, this list of conditions and the following disclaimer. 123180e169Smiod * 2. Redistributions in binary form must reproduce the above copyright 133180e169Smiod * notice, this list of conditions and the following disclaimer in the 143180e169Smiod * documentation and/or other materials provided with the distribution. 153180e169Smiod * 163180e169Smiod * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 173180e169Smiod * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 183180e169Smiod * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 193180e169Smiod * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 203180e169Smiod * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 213180e169Smiod * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 223180e169Smiod * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 233180e169Smiod * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 243180e169Smiod * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 253180e169Smiod * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 263180e169Smiod */ 273180e169Smiod 28*3934398eSmiod #ifndef _M88K_KCORE_H_ 29*3934398eSmiod #define _M88K_KCORE_H_ 303180e169Smiod 313180e169Smiod /* Keep this define consistent with VM_PHYSSEG_MAX in <machine/vmparam.h> */ 323180e169Smiod #define NPHYS_RAM_SEGS 1 333180e169Smiod 343180e169Smiod typedef struct cpu_kcore_hdr { 352ca8463fSmiod int cputype; /* cpu type: 88100, 88110 */ 363180e169Smiod phys_ram_seg_t ram_segs[NPHYS_RAM_SEGS]; 373180e169Smiod } cpu_kcore_hdr_t; 383180e169Smiod 39*3934398eSmiod #endif /* _M88K_KCORE_H_ */ 40