forked from CloverHackyColor/CloverBootloader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAptioMemoryFix.inf
More file actions
109 lines (99 loc) · 3.24 KB
/
Copy pathAptioMemoryFix.inf
File metadata and controls
109 lines (99 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
##
#
# UEFI driver for enabling loading of macOS without memory relocation.
#
# by dmazar
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = AptioMemoryFix
FILE_GUID = 43C8CFCA-03C0-4AA8-8BEB-5AF6AB3570A2
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = AptioMemoryFixEntrypoint
[Packages]
# MemoryFix/AptioFixPkg/AptioFixPkg.dec
# EfiPkg/EfiPkg.dec
CloverPkg.dec
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
# OcSupportPkg/OcSupportPkg.dec
UefiCpuPkg/UefiCpuPkg.dec
OpenCorePkg/OpenCorePkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
BaseRngLib
CpuLib
DevicePathLib
MemoryAllocationLib
OcDeviceTreeLib
# DevicePathLib
OcMachoLib
# OcStringLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
UefiRuntimeServicesTableLib
[Sources]
AptioMemoryFix.c
AsmFuncs.h
BootArgs.c
BootArgs.h
BootFixes.c
BootFixes.h
Config.h
CustomSlide.c
CustomSlide.h
MemoryMap.c
MemoryMap.h
RtShims.c
RtShims.h
ServiceOverrides.c
ServiceOverrides.h
VMem.c
VMem.h
UmmMalloc/UmmMalloc.h
UmmMalloc/UmmMalloc.c
[Sources.X64]
X64/AsmFuncs.nasm
X64/AsmRtShims.nasm
[Guids]
gEfiFileInfoGuid ## CONSUMES
gEfiFileSystemInfoGuid ## CONSUMES
gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES
gEfiGlobalVariableGuid ## CONSUMES
gOcReadOnlyVariableGuid ## CONSUMES
gOcWriteOnlyVariableGuid ## CONSUMES
gOcVendorVariableGuid ## CONSUMES
gEfiAppleBootGuid ## SOMETIMES_CONSUMES
gEfiAppleNvramGuid ## SOMETIMES_CONSUMES
gEfiMiscSubClassGuid ## SOMETIMES_CONSUMES
gEfiProcessorSubClassGuid ## SOMETIMES_CONSUMES
gEfiMemorySubClassGuid ## SOMETIMES_CONSUMES
[Protocols]
gAptioMemoryFixProtocolGuid ## PRODUCES
gEfiLoadedImageProtocolGuid ## CONSUMES
gEfiDevicePathProtocolGuid ## CONSUMES
gEfiGraphicsOutputProtocolGuid ## CONSUMES
gEfiSimpleFileSystemProtocolGuid ## CONSUMES
gEfiBlockIoProtocolGuid ## CONSUMES
gEfiBlockIo2ProtocolGuid ## CONSUMES
gEfiDiskIoProtocolGuid ## CONSUMES
gEfiDiskIo2ProtocolGuid ## CONSUMES
gEfiConsoleControlProtocolGuid ## SOMETIMES_CONSUMES
gAppleFirmwarePasswordProtocolGuid ## SOMETIMES_CONSUMES
#gAppleDevicePropertyProtocolGuid ## SOMETIMES_CONSUMES
gAppleFramebufferInfoProtocolGuid ## SOMETIMES_CONSUMES
gAppleKeyStateProtocolGuid ## SOMETIMES_CONSUMES
gAppleNetBootProtocolGuid ## SOMETIMES_CONSUMES
gAppleImageCodecProtocolGuid ## SOMETIMES_CONSUMES
gEfiDataHubProtocolGuid ## SOMETIMES_CONSUMES
[BuildOptions]
# To generate assembled listings
# MSFT:*_*_*_ASM_FLAGS = /Fl
# GCC:*_*_*_ASM_FLAGS = -Wa,-a=AsmList.txt
# GCC:*_*_*_NASM_FLAGS = -l NasmList.txt