mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 07:04:53 +00:00
Define a new kernel dump "architecture", TEXTDUMPMAGIC, which is used
to identify textdumps in the swap/dump partition. While textdumps aren't really an architecture, they are architecture-neutral and so don't really correspond to any existing architecture. Define a version number for textdumps, KERNELDUMP_TEXT_VERSION, of 1. MFC after: 3 months
This commit is contained in:
parent
44daa2da55
commit
7bf5359e5c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174920
|
@ -60,6 +60,7 @@
|
|||
struct kerneldumpheader {
|
||||
char magic[20];
|
||||
#define KERNELDUMPMAGIC "FreeBSD Kernel Dump"
|
||||
#define TEXTDUMPMAGIC "FreeBSD Text Dump"
|
||||
#define KERNELDUMPMAGIC_CLEARED "Cleared Kernel Dump"
|
||||
char architecture[12];
|
||||
uint32_t version;
|
||||
|
@ -71,6 +72,7 @@ struct kerneldumpheader {
|
|||
#define KERNELDUMP_SPARC64_VERSION 1
|
||||
#define KERNELDUMP_AMD64_VERSION 2
|
||||
#define KERNELDUMP_ARM_VERSION 1
|
||||
#define KERNELDUMP_TEXT_VERSION 1
|
||||
uint64_t dumplength; /* excl headers */
|
||||
uint64_t dumptime;
|
||||
uint32_t blocksize;
|
||||
|
|
Loading…
Reference in a new issue