2018-03-15 19:05:59 +00:00
|
|
|
From a7a38221a7f4593a9abb5f422d0dd349866ed029 Mon Sep 17 00:00:00 2001
|
2018-01-17 22:04:09 +00:00
|
|
|
From: Robert Elliott <elliott@hpe.com>
|
|
|
|
Date: Fri, 22 Jan 2016 13:32:30 +0100
|
2018-03-16 19:23:37 +00:00
|
|
|
Subject: [PATCH 141/216] efiemu: Handle persistent RAM and unknown possible
|
2018-01-17 22:04:09 +00:00
|
|
|
future additions.
|
|
|
|
|
|
|
|
(cherry picked from commit ae3b83a4d4df75a01198a2fed7542391e7c449e0)
|
|
|
|
|
|
|
|
Resolves: rhbz#1288608
|
|
|
|
---
|
|
|
|
grub-core/efiemu/mm.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/efiemu/mm.c b/grub-core/efiemu/mm.c
|
2018-02-27 18:56:41 +00:00
|
|
|
index 52a032f7b2e..92e7df7e501 100644
|
2018-01-17 22:04:09 +00:00
|
|
|
--- a/grub-core/efiemu/mm.c
|
|
|
|
+++ b/grub-core/efiemu/mm.c
|
|
|
|
@@ -410,8 +410,8 @@ fill_hook (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type,
|
|
|
|
return grub_efiemu_add_to_mmap (addr, size,
|
|
|
|
GRUB_EFI_ACPI_MEMORY_NVS);
|
|
|
|
|
|
|
|
- case GRUB_MEMORY_PERSISTENT:
|
|
|
|
- case GRUB_MEMORY_PERSISTENT_LEGACY:
|
|
|
|
+ case GRUB_MEMORY_PRAM:
|
|
|
|
+ case GRUB_MEMORY_PMEM:
|
|
|
|
return grub_efiemu_add_to_mmap (addr, size,
|
|
|
|
GRUB_EFI_PERSISTENT_MEMORY);
|
|
|
|
default:
|
|
|
|
--
|
2018-02-27 18:56:41 +00:00
|
|
|
2.15.0
|
2018-01-17 22:04:09 +00:00
|
|
|
|