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
14b3acdf5d
commit
26435e9b8d
@ -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…
x
Reference in New Issue
Block a user