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 *
26286954Sandrew * From i386: FreeBSD:  157909 2006-04-21 04:28:43Z peter
27157909Speter * $FreeBSD$
28157909Speter */
29157909Speter
30157909Speter#ifndef	_MACHINE_MINIDUMP_H_
31157909Speter#define	_MACHINE_MINIDUMP_H_ 1
32157909Speter
33286954Sandrew#define	MINIDUMP_MAGIC		"minidump FreeBSD/arm64"
34157909Speter#define	MINIDUMP_VERSION	1
35157909Speter
36157909Speterstruct minidumphdr {
37157909Speter	char magic[24];
38157909Speter	uint32_t version;
39157909Speter	uint32_t msgbufsize;
40157909Speter	uint32_t bitmapsize;
41286954Sandrew	uint32_t pmapsize;
42286954Sandrew	uint64_t kernbase;
43286954Sandrew	uint64_t dmapphys;
44286954Sandrew	uint64_t dmapbase;
45286954Sandrew	uint64_t dmapend;
46157909Speter};
47157909Speter
48157909Speter#endif /* _MACHINE_MINIDUMP_H_ */
49