/*-1* Copyright (c) 2006 Peter Wemm2* All rights reserved.3*4* Redistribution and use in source and binary forms, with or without5* modification, are permitted provided that the following conditions6* are met:7*8* 1. Redistributions of source code must retain the above copyright9* notice, this list of conditions and the following disclaimer.10* 2. Redistributions in binary form must reproduce the above copyright11* notice, this list of conditions and the following disclaimer in the12* documentation and/or other materials provided with the distribution.13*14* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR15* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES16* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.17* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,18* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT19* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,20* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY21* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT22* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF23* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.24*25* From i386: FreeBSD: 157909 2006-04-21 04:28:43Z peter26*/2728#ifndef _MACHINE_MINIDUMP_H_29#define _MACHINE_MINIDUMP_H_ 13031#define MINIDUMP_MAGIC "minidump FreeBSD/powerpc64"32#define MINIDUMP_VERSION 23334struct minidumphdr {35char magic[32];36char mmu_name[32];37uint32_t version;38uint32_t msgbufsize;39uint32_t bitmapsize;40uint32_t pmapsize;41uint64_t kernbase;42uint64_t kernend;43uint64_t dmapbase;44uint64_t dmapend;45int hw_direct_map;46uint64_t startkernel;47uint64_t endkernel;48uint32_t dumpavailsize;49};5051#endif /* _MACHINE_MINIDUMP_H_ */525354