From cb9a818ff2ac437e76512ec01c0eb22d0d7456b2 Mon Sep 17 00:00:00 2001 From: Baoquan He Date: Wed, 19 Aug 2015 17:03:49 +0800 Subject: 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 Tested-by: Toshi Kani Signed-off-by: Baoquan He Signed-off-by: Simon Horman --- include/x86/x86-linux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit