CloverBootloader/MemoryFix/OsxAptioFixDrv/OsxAptioFix3Drv.inf

96 lines
2.0 KiB
INI
Raw Normal View History

##
#
# 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]
CloverPkg.dec
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
2020-09-07 00:51:01 +02:00
OpenCorePkg/OpenCorePkg.dec
[LibraryClasses]
UefiLib
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
BaseMemoryLib
MemoryAllocationLib
UefiDriverEntryPoint
BaseLib
CpuLib
DevicePathLib
OcDeviceTreeLib
[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