From 90cdb3c876384c2f65e03201e9e5f9fe12e23f85 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Sat, 23 Feb 2019 17:37:32 -0800 Subject: [PATCH] Memory attributes, y u no work? --- Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c index af833d2..46cbd7a 100644 --- a/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c +++ b/Pixel3XL/Pixel3XLDxe/Pixel3XLDxe.c @@ -43,6 +43,7 @@ InitPeripherals ( IN VOID ) { + /* This also crashes. Do you really hate memory attributes or something? EFI_STATUS Status; // https://lists.01.org/pipermail/edk2-devel/2017-August/013417.html Status = gCpu->SetMemoryAttributes (gCpu, 0xa1a10000, 0x200000, @@ -51,6 +52,7 @@ InitPeripherals ( Status = gCpu->SetMemoryAttributes (gCpu, 0x9d400000, 0x2400000, EFI_MEMORY_WC | EFI_MEMORY_XP); ASSERT_EFI_ERROR (Status); + */ } /**