minidump.h revision 157909
1157909Speter/*- 2157909Speter * Copyright (c) 2006 Peter Wemm 3157909Speter * All rights reserved. 4157909Speter * 5157909Speter * Redistribution and use in source and binary forms, with or without 6157909Speter * modification, are permitted provided that the following conditions 7157909Speter * are met: 8157909Speter * 9157909Speter * 1. Redistributions of source code must retain the above copyright 10157909Speter * notice, this list of conditions and the following disclaimer. 11157909Speter * 2. Redistributions in binary form must reproduce the above copyright 12157909Speter * notice, this list of conditions and the following disclaimer in the 13157909Speter * documentation and/or other materials provided with the distribution. 14157909Speter * 15157909Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16157909Speter * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17157909Speter * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18157909Speter * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19157909Speter * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20157909Speter * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21157909Speter * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22157909Speter * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23157909Speter * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24157909Speter * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25157909Speter * 26157909Speter * $FreeBSD: head/sys/i386/include/minidump.h 157909 2006-04-21 04:28:43Z peter $ 27157909Speter */ 28157909Speter 29157909Speter#ifndef _MACHINE_MINIDUMP_H_ 30157909Speter#define _MACHINE_MINIDUMP_H_ 1 31157909Speter 32157909Speter#define MINIDUMP_MAGIC "minidump FreeBSD/i386" 33157909Speter#define MINIDUMP_VERSION 1 34157909Speter 35157909Speterstruct minidumphdr { 36157909Speter char magic[24]; 37157909Speter uint32_t version; 38157909Speter uint32_t msgbufsize; 39157909Speter uint32_t bitmapsize; 40157909Speter uint32_t ptesize; 41157909Speter uint32_t kernbase; 42157909Speter uint32_t paemode; 43157909Speter}; 44157909Speter 45157909Speter#endif /* _MACHINE_MINIDUMP_H_ */ 46