diff options
author | Baoquan He <bhe@redhat.com> | 2015-08-19 17:03:49 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-09-02 10:03:16 +0900 |
commit | cb9a818ff2ac437e76512ec01c0eb22d0d7456b2 (patch) | |
tree | 228c166633c2add75ed95ca4974725b440f18bfa /include | |
parent | c9c21cc107dcc9b6053e39ead1069e03717513f9 (diff) |
Add persistent memory support
Kernel add E820_PRAM or E820_PMEM type for NVDIMM memory device.
Now support them in kexec too.
Reported-by: Toshi Kani <toshi.kani@hp.com>
Tested-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/x86/x86-linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h index 50c7324..7834751 100644 --- a/include/x86/x86-linux.h +++ b/include/x86/x86-linux.h @@ -21,6 +21,8 @@ struct e820entry { #define E820_RESERVED 2 #define E820_ACPI 3 /* usable as RAM once ACPI tables have been read */ #define E820_NVS 4 +#define E820_PMEM 7 +#define E820_PRAM 12 } __attribute__((packed)); #endif |