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