Move text dump version as it's not an architecture version.

Reported by:	jhb
Approved by:	pjd (mentor)
This commit is contained in:
Konrad Witaszczyk 2016-11-14 12:56:18 +00:00
parent 9783ea5c9f
commit 876fe7b1bd

View File

@ -64,7 +64,8 @@ struct kerneldumpheader {
#define KERNELDUMPMAGIC_CLEARED "Cleared Kernel Dump"
char architecture[12];
uint32_t version;
#define KERNELDUMPVERSION 1
#define KERNELDUMPVERSION 1
#define KERNELDUMP_TEXT_VERSION 1
uint32_t architectureversion;
#define KERNELDUMP_AARCH64_VERSION 1
#define KERNELDUMP_AMD64_VERSION 2
@ -74,7 +75,6 @@ struct kerneldumpheader {
#define KERNELDUMP_POWERPC_VERSION 1
#define KERNELDUMP_RISCV_VERSION 1
#define KERNELDUMP_SPARC64_VERSION 1
#define KERNELDUMP_TEXT_VERSION 1
uint64_t dumplength; /* excl headers */
uint64_t dumptime;
uint32_t blocksize;