Module Name: src
Committed By: nonaka
Date: Tue Feb 14 13:25:22 UTC 2017
Modified Files:
src/sys/arch/x86/include: bootinfo.h
Log Message:
x86: add e820 memory type.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x86/include/bootinfo.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/include/bootinfo.h
diff -u src/sys/arch/x86/include/bootinfo.h:1.25 src/sys/arch/x86/include/bootinfo.h:1.26
--- src/sys/arch/x86/include/bootinfo.h:1.25 Tue Jan 24 11:09:14 2017
+++ src/sys/arch/x86/include/bootinfo.h Tue Feb 14 13:25:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.h,v 1.25 2017/01/24 11:09:14 nonaka Exp $ */
+/* $NetBSD: bootinfo.h,v 1.26 2017/02/14 13:25:22 nonaka Exp $ */
/*
* Copyright (c) 1997
@@ -119,6 +119,10 @@ struct bi_memmap_entry {
#define BIM_Reserved 2 /* in use or reserved by the system */
#define BIM_ACPI 3 /* ACPI Reclaim memory */
#define BIM_NVS 4 /* ACPI NVS memory */
+#define BIM_Unusable 5 /* errors have been detected */
+#define BIM_Disabled 6 /* not enabled */
+#define BIM_PMEM 7 /* Persistent memory */
+#define BIM_PRAM 12 /* legacy NVDIMM (OEM defined) */
struct btinfo_memmap {
struct btinfo_common common;