6b2dd0
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
6f1e3d
From: Robert Elliott <elliott@hpe.com>
6f1e3d
Date: Fri, 22 Jan 2016 13:32:30 +0100
752ceb
Subject: [PATCH] efiemu: Handle persistent RAM and unknown possible future
752ceb
 additions.
6f1e3d
6f1e3d
(cherry picked from commit ae3b83a4d4df75a01198a2fed7542391e7c449e0)
6f1e3d
6f1e3d
Resolves: rhbz#1288608
6f1e3d
---
6f1e3d
 grub-core/efiemu/mm.c | 4 ++--
6f1e3d
 1 file changed, 2 insertions(+), 2 deletions(-)
6f1e3d
6f1e3d
diff --git a/grub-core/efiemu/mm.c b/grub-core/efiemu/mm.c
ec4acb
index 52a032f7b2e..92e7df7e501 100644
6f1e3d
--- a/grub-core/efiemu/mm.c
6f1e3d
+++ b/grub-core/efiemu/mm.c
6f1e3d
@@ -410,8 +410,8 @@ fill_hook (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,
6f1e3d
 	return grub_efiemu_add_to_mmap (addr, size,
6f1e3d
 					GRUB_EFI_ACPI_MEMORY_NVS);
6f1e3d
 
6f1e3d
-      case GRUB_MEMORY_PERSISTENT:
6f1e3d
-      case GRUB_MEMORY_PERSISTENT_LEGACY:
6f1e3d
+      case GRUB_MEMORY_PRAM:
6f1e3d
+      case GRUB_MEMORY_PMEM:
6f1e3d
 	return grub_efiemu_add_to_mmap (addr, size,
6f1e3d
 					GRUB_EFI_PERSISTENT_MEMORY);
6f1e3d
       default: