Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/include x86: add e820 memory type.
details: https://anonhg.NetBSD.org/src/rev/859c604697e7
branches: trunk
changeset: 351470:859c604697e7
user: nonaka <nonaka%NetBSD.org@localhost>
date: Tue Feb 14 13:25:22 2017 +0000
description:
x86: add e820 memory type.
diffstat:
sys/arch/x86/include/bootinfo.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 4ac95d64b7e7 -r 859c604697e7 sys/arch/x86/include/bootinfo.h
--- a/sys/arch/x86/include/bootinfo.h Tue Feb 14 13:23:50 2017 +0000
+++ b/sys/arch/x86/include/bootinfo.h Tue Feb 14 13:25:22 2017 +0000
@@ -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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index