-
Notifications
You must be signed in to change notification settings - Fork 65
/
RefindPlus.inf
162 lines (142 loc) · 5.7 KB
/
RefindPlus.inf
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
## @file
#
# File to build RefindPlus using the EDK2/UDK201x development kit.
#
# Copyright (c) 2020-2022 Dayo Akanji (sf.net/u/dakanji/profile)
# Portions Copyright (c) 2012-2020 Roderick W. Smith
#
# Released under the terms of Version 3 of the GNU General Public License
# (or, at your option, any later version).
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = RefindPlus
FILE_GUID = E3F0DA9F-26BB-4B9A-B8FB-4D81E11EAE22
MODULE_TYPE = UEFI_APPLICATION
EDK_RELEASE_VERSION = 0x00020000
EFI_SPECIFICATION_VERSION = 0x00010000
VERSION_STRING = 1.0
ENTRY_POINT = efi_main
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources]
BootMaster/apple.c
BootMaster/config.c
BootMaster/crc32.c
BootMaster/driver_support.c
BootMaster/gpt.c
BootMaster/icns.c
BootMaster/install.c
BootMaster/launch_efi.c
BootMaster/launch_legacy.c
BootMaster/lib.c
BootMaster/line_edit.c
BootMaster/linux.c
BootMaster/main.c
BootMaster/menu.c
BootMaster/mystrings.c
BootMaster/pointer.c
BootMaster/scan.c
BootMaster/screenmgt.c
EfiLib/AcquireGOP.c
EfiLib/AmendSysTable.c
EfiLib/BmLib.c
EfiLib/BdsHelper.c
EfiLib/BdsTianoCore.c
EfiLib/DevicePath.c #included into GenericBdsLib
EfiLib/BdsConnect.c #included into GenericBdsLib
EfiLib/GenericBdsLib.h
EfiLib/legacy.c
libeg/image.c
libeg/load_bmp.c
libeg/load_icns.c
libeg/lodepng.c
libeg/lodepng_xtra.c
libeg/nanojpeg.c
libeg/nanojpeg_xtra.c
libeg/screen.c
libeg/text.c
mok/mok.c
mok/guid.c
mok/security_policy.c
mok/simple_file.c
# Added by Jief_Machak (sf.net/u/jief7/profile) from Clover
# Modified by dakanji (sf.net/u/dakanji/profile) as follows:
# - Removed unused "Platform/DataHubCpu.c"
# - Moved "Platform/BootLog.c" to "Library/MemLogLib/BootLog.c"
Library/MemLogLib/BootLog.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
RefindPlusPkg/RefindPlusPkg.dec
[Packages.XCODE]
StdLib/StdLib.dec
[LibraryClasses]
UefiApplicationEntryPoint
UefiBootServicesTableLib
UefiLib
MemoryAllocationLib
BaseMemoryLib
BaseLib
DevicePathLib
DebugLib
DxeServicesLib
DxeServicesTableLib
HobLib
MemoryAllocationLib
IoLib
PerformanceLib
# For Debug logging ... Jief_Machak (sf.net/u/jief7/profile) from Clover
MemLogLib
# From OpenCore for SetConsoleGOP
OcConsoleLib
OcMiscLib
# For AcquireGOP
HandleParsingLib
# Based on OcApfsLib from OpenCore
RP_ApfsLib
# For SupplyNVME
NvmExpressLib
# For UnicodeCollationEng
OcUnicodeCollationEngGenericLib
[LibraryClasses.AARCH64]
BaseStackCheckLib
# Comment out 'CompilerIntrinsicsLib' below when compiling for AARCH64 using UDK2014
CompilerIntrinsicsLib
[Guids]
gEfiDxeServicesTableGuid ## CONSUMES ## GUID
gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## GUID
gEfiImageSecurityDatabaseGuid ## SOMETIMES_CONSUMES ## GUID
gEfiEventVirtualAddressChangeGuid ## SOMETIMES_CONSUMES ## GUID
gEfiEventExitBootServicesGuid ## SOMETIMES_CONSUMES ## GUID
gEfiFileInfoGuid ## CONSUMES ## GUID
gEfiFileSystemInfoGuid ## CONSUMES ## GUID
gEfiSasDevicePathGuid ## SOMETIMES_CONSUMES ## GUID
[Ppis]
[Protocols]
gEfiLegacyBiosProtocolGuid ## TO_START
gEfiComponentName2ProtocolGuid ## CONSUMES
gEfiDevicePathToTextProtocolGuid ## CONSUMES
gEfiSimpleFileSystemProtocolGuid ## CONSUMES
gEfiUnicodeCollationProtocolGuid ## CONSUMES
gEfiUnicodeCollation2ProtocolGuid ## CONSUMES
gEfiBlockIoProtocolGuid ## CONSUMES
gEfiDebugPortProtocolGuid ## CONSUMES
gEfiDevicePathProtocolGuid ## CONSUMES
gEfiDiskIoProtocolGuid ## CONSUMES
gEfiLoadedImageProtocolGuid ## CONSUMES
gEfiPciIoProtocolGuid ## CONSUMES
gEfiDriverConfigurationProtocolGuid ## CONSUMES
gEfiDriverDiagnosticsProtocolGuid ## CONSUMES
gEfiComponentNameProtocolGuid ## CONSUMES
gEfiDriverBindingProtocolGuid ## SOMETIMES_CONSUMES
gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
gEfiUgaDrawProtocolGuid | gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport ## SOMETIMES_CONSUMES
[FeaturePcd]
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport