CloverBootloader/MemoryFix/OsxAptioFixDrv/OsxAptioFix3Drv.inf
Sergey Isakov 1c1ea703ff use LzmaCompress-64bit for Catalina compatibility
not use LTO for separate drivers

Signed-off-by: Sergey Isakov <sergey@iMac-Sergey.local>
2019-10-21 19:20:37 +03:00

93 lines
2.0 KiB
INI

##
#
# UEFI driver for enabling loading of OSX without memory relocation.
#
# by dmazar
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = OsxAptioFix3Drv
FILE_GUID = 43C8CFCA-03C0-4AA8-8BEB-5AF6AB3570A3
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = OsxAptioFixDrvEntrypoint
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
[LibraryClasses]
UefiLib
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
BaseMemoryLib
MemoryAllocationLib
UefiDriverEntryPoint
BaseLib
CpuLib
DevicePathLib
[Sources]
OsxAptioFix3Drv.c
AsmFuncs.h
BootFixes3.c
BootFixes3.h
DecodedKernelCheck.c
DecodedKernelCheck.h
BootArgs.c
BootArgs.h
VMem.c
VMem.h
Lib.c
Lib.h
FlatDevTree/device_tree.h
FlatDevTree/device_tree.c
NVRAMDebug.h
NVRAMDebug.c
Mach-O/UefiLoader.h
Mach-O/loader.h
Mach-O/Mach-O.h
Mach-O/Mach-O.c
Hibernate.h
RTShims.h
[Sources.X64]
X64/AsmFuncsX64.asm | INTEL
X64/AsmFuncsX64.asm | MSFT
# X64/AsmFuncsX64.S | GCC
X64/AsmFuncsX64.nasm | GCC
X64/RTShims.nasm
[Guids]
gEfiFileInfoGuid ## CONSUMES
gEfiFileSystemInfoGuid ## CONSUMES
gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES
gEfiGlobalVariableGuid
[Protocols]
gEfiLoadedImageProtocolGuid
gEfiDevicePathProtocolGuid
gEfiSimpleFileSystemProtocolGuid
gEfiBlockIoProtocolGuid
gEfiBlockIo2ProtocolGuid
gEfiDiskIoProtocolGuid
gEfiDiskIo2ProtocolGuid
gEfiGraphicsOutputProtocolGuid
# if built as runtime driver
[Depex]
TRUE
[BuildOptions]
# To generate assembled listings
# MSFT:*_*_*_ASM_FLAGS = /Fl
# GCC:*_*_*_ASM_FLAGS = -Wa,-a=AsmList.txt
# GCC:*_*_*_NASM_FLAGS = -l NasmList.txt
XCODE:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG