Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/include/minidump.h
Show All 27 Lines | |||||
* From: FreeBSD: src/sys/i386/include/minidump.h,v 1.1 2006/04/21 04:28:43 | * From: FreeBSD: src/sys/i386/include/minidump.h,v 1.1 2006/04/21 04:28:43 | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _MACHINE_MINIDUMP_H_ | #ifndef _MACHINE_MINIDUMP_H_ | ||||
#define _MACHINE_MINIDUMP_H_ | #define _MACHINE_MINIDUMP_H_ | ||||
#define MINIDUMP_MAGIC "minidump FreeBSD/arm" | #define MINIDUMP_MAGIC "minidump FreeBSD/arm" | ||||
#define MINIDUMP_VERSION 1 | #define MINIDUMP_VERSION 2 | ||||
/* | /* | ||||
* The first page of vmcore is dedicated to the following header. | * The first page of vmcore is dedicated to the following header. | ||||
* As the rest of the page is zeroed, any header extension can be | * As the rest of the page is zeroed, any header extension can be | ||||
* done without version bumping. It should be taken into account | * done without version bumping. It should be taken into account | ||||
* only that new entries will be zero in old vmcores. | * only that new entries will be zero in old vmcores. | ||||
*/ | */ | ||||
struct minidumphdr { | struct minidumphdr { | ||||
char magic[24]; | char magic[24]; | ||||
uint32_t version; | uint32_t version; | ||||
uint32_t msgbufsize; | uint32_t msgbufsize; | ||||
uint32_t bitmapsize; | uint32_t bitmapsize; | ||||
uint32_t ptesize; | uint32_t ptesize; | ||||
uint32_t kernbase; | uint32_t kernbase; | ||||
uint32_t arch; | uint32_t arch; | ||||
uint32_t mmuformat; | uint32_t mmuformat; | ||||
uint32_t dumpavailsize; | |||||
}; | }; | ||||
#define MINIDUMP_MMU_FORMAT_UNKNOWN 0 | #define MINIDUMP_MMU_FORMAT_UNKNOWN 0 | ||||
#define MINIDUMP_MMU_FORMAT_V4 1 | #define MINIDUMP_MMU_FORMAT_V4 1 | ||||
#define MINIDUMP_MMU_FORMAT_V6 2 | #define MINIDUMP_MMU_FORMAT_V6 2 | ||||
#define MINIDUMP_MMU_FORMAT_V6_LPAE 3 | #define MINIDUMP_MMU_FORMAT_V6_LPAE 3 | ||||
#endif /* _MACHINE_MINIDUMP_H_ */ | #endif /* _MACHINE_MINIDUMP_H_ */ |