]>
Commit | Line | Data |
---|---|---|
d7298091 TL |
1 | Description: ArmVirtPkg: Disable the EFI memory attributes protocol |
2 | Temporarily disable the EFI_MEMORY_ATTRIBUTE_PROTOCOL to workaround | |
3 | a bug in shim until distributions have had a chance to fix it. | |
4 | Author: dann frazier <dannf@debian.org> | |
5 | Bug-Debian: https://bugs.debian.org/1042438 | |
6 | Bug-Ubuntu: https://launchpad.net/bugs/2036604 | |
7 | Last-Update: 2023-09-23 | |
8 | ||
9 | Index: edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.c | |
10 | =================================================================== | |
11 | --- edk2-2023.05.orig/ArmPkg/Drivers/CpuDxe/CpuDxe.c | |
12 | +++ edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.c | |
13 | @@ -244,8 +244,6 @@ CpuDxeInitialize ( | |
14 | &mCpuHandle,\r | |
15 | &gEfiCpuArchProtocolGuid,\r | |
16 | &mCpu,\r | |
17 | - &gEfiMemoryAttributeProtocolGuid,\r | |
18 | - &mMemoryAttribute,\r | |
19 | NULL\r | |
20 | );\r | |
21 | \r | |
22 | Index: edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.h | |
23 | =================================================================== | |
24 | --- edk2-2023.05.orig/ArmPkg/Drivers/CpuDxe/CpuDxe.h | |
25 | +++ edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.h | |
26 | @@ -30,12 +30,9 @@ | |
27 | #include <Protocol/Cpu.h>\r | |
28 | #include <Protocol/DebugSupport.h>\r | |
29 | #include <Protocol/LoadedImage.h>\r | |
30 | -#include <Protocol/MemoryAttribute.h>\r | |
31 | \r | |
32 | extern BOOLEAN mIsFlushingGCD;\r | |
33 | \r | |
34 | -extern EFI_MEMORY_ATTRIBUTE_PROTOCOL mMemoryAttribute;\r | |
35 | -\r | |
36 | /**\r | |
37 | This function registers and enables the handler specified by InterruptHandler for a processor\r | |
38 | interrupt or exception type specified by InterruptType. If InterruptHandler is NULL, then the\r | |
39 | Index: edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
40 | =================================================================== | |
41 | --- edk2-2023.05.orig/ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
42 | +++ edk2-2023.05/ArmPkg/Drivers/CpuDxe/CpuDxe.inf | |
43 | @@ -23,7 +23,6 @@ | |
44 | CpuDxe.h\r | |
45 | CpuMmuCommon.c\r | |
46 | Exception.c\r | |
47 | - MemoryAttribute.c\r | |
48 | \r | |
49 | [Sources.ARM]\r | |
50 | Arm/Mmu.c\r | |
51 | @@ -54,7 +53,6 @@ | |
52 | \r | |
53 | [Protocols]\r | |
54 | gEfiCpuArchProtocolGuid\r | |
55 | - gEfiMemoryAttributeProtocolGuid\r | |
56 | \r | |
57 | [Guids]\r | |
58 | gEfiDebugImageInfoTableGuid\r |