1157908Speter/*- 2157908Speter * Copyright (c) 2006 Peter Wemm 3157908Speter * All rights reserved. 4157908Speter * 5157908Speter * Redistribution and use in source and binary forms, with or without 6157908Speter * modification, are permitted provided that the following conditions 7157908Speter * are met: 8157908Speter * 9157908Speter * 1. Redistributions of source code must retain the above copyright 10157908Speter * notice, this list of conditions and the following disclaimer. 11157908Speter * 2. Redistributions in binary form must reproduce the above copyright 12157908Speter * notice, this list of conditions and the following disclaimer in the 13157908Speter * documentation and/or other materials provided with the distribution. 14157908Speter * 15157908Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16157908Speter * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17157908Speter * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18157908Speter * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19157908Speter * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20157908Speter * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21157908Speter * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22157908Speter * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23157908Speter * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24157908Speter * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25157908Speter * 26157908Speter * $FreeBSD$ 27157908Speter */ 28157908Speter 29157908Speter#ifndef _MACHINE_MINIDUMP_H_ 30157908Speter#define _MACHINE_MINIDUMP_H_ 1 31157908Speter 32157908Speter#define MINIDUMP_MAGIC "minidump FreeBSD/amd64" 33215133Savg#define MINIDUMP_VERSION 2 34157908Speter 35157908Speterstruct minidumphdr { 36157908Speter char magic[24]; 37157908Speter uint32_t version; 38157908Speter uint32_t msgbufsize; 39157908Speter uint32_t bitmapsize; 40215133Savg uint32_t pmapsize; 41157908Speter uint64_t kernbase; 42157908Speter uint64_t dmapbase; 43157908Speter uint64_t dmapend; 44157908Speter}; 45157908Speter 46157908Speter#endif /* _MACHINE_MINIDUMP_H_ */ 47