2019-09-03 11:58:42 +02:00
|
|
|
##
|
|
|
|
#
|
|
|
|
# Low memory fixes for some UEFI boards to load OSX.
|
|
|
|
#
|
|
|
|
# by dmazar, based on modbin info:
|
|
|
|
# http://www.projectosx.com/forum/index.php?showtopic=2428&st=0&p=17766&#entry17766
|
|
|
|
#
|
|
|
|
# confirmed by akbar102 with Aspire 5750G with InsydeH2O UEFI:
|
|
|
|
# http://www.projectosx.com/forum/index.php?showtopic=2428&st=300&p=19078&#entry19078
|
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = OsxLowMemFixDrv
|
|
|
|
FILE_GUID = 5c3173bf-28af-4c10-b288-1fdff4c8b213
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = OsxLowMemFixDrvEntrypoint
|
|
|
|
|
|
|
|
[Packages]
|
2019-09-03 14:19:03 +02:00
|
|
|
CloverPkg.dec
|
2019-09-03 11:58:42 +02:00
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
# DuetPkg/DuetPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
BaseLib
|
|
|
|
CpuLib
|
|
|
|
DevicePathLib
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
OsxLowMemFixDrv.c
|
|
|
|
Lib.h
|
|
|
|
Lib.c
|
|
|
|
NVRAMDebug.h
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiFileInfoGuid ## CONSUMES
|
|
|
|
gEfiFileSystemInfoGuid ## CONSUMES
|
|
|
|
gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES
|
2020-09-07 00:19:48 +02:00
|
|
|
gEfiMemorySubClassGuid
|
|
|
|
gEfiMiscSubClassGuid
|
|
|
|
|
2019-09-03 11:58:42 +02:00
|
|
|
[Protocols]
|
|
|
|
gEfiLoadedImageProtocolGuid
|
|
|
|
gEfiDevicePathProtocolGuid
|
|
|
|
gEfiSimpleFileSystemProtocolGuid
|
|
|
|
gEfiBlockIoProtocolGuid
|
|
|
|
gEfiBlockIo2ProtocolGuid
|
|
|
|
gEfiDiskIoProtocolGuid
|
|
|
|
gEfiDiskIo2ProtocolGuid
|
|
|
|
gEfiGraphicsOutputProtocolGuid
|
2020-09-18 10:55:44 +02:00
|
|
|
gEfiDataHubProtocolGuid ## PRODUCES
|
|
|
|
gEfiProcessorSubClassGuid
|
2019-09-03 11:58:42 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
|