2019-09-03 11:58:42 +02:00
## @file
# An EFI/Framework Emulation Platform with UEFI HII interface supported.
#
# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS,
# to help developing and debugging native EFI/UEFI drivers.
#
# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##
[Defines]
PLATFORM_NAME = Clover
PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
PLATFORM_VERSION = 0.92
DSC_SPECIFICATION = 0x00010006
OUTPUT_DIRECTORY = Build/Clover
SUPPORTED_ARCHITECTURES = X64|IA32
2021-04-08 17:07:05 +02:00
BUILD_TARGETS = RELEASE|DEBUG|DEBUGMACOS|RELEASEMACOS
2019-09-03 11:58:42 +02:00
SKUID_IDENTIFIER = DEFAULT
2019-09-12 08:03:34 +02:00
!ifndef SKIP_FLASH
2019-09-03 14:19:03 +02:00
FLASH_DEFINITION = Clover.fdf
2019-09-12 08:03:34 +02:00
!endif
2019-09-03 11:58:42 +02:00
2023-12-31 13:43:34 +01:00
!include MdePkg/MdeLibs.dsc.inc
2019-09-03 11:58:42 +02:00
################################################################################
#
# Library Class section - list of all Library Classes needed by this Platform.
#
################################################################################
[LibraryClasses]
#
# Entry point
#
2019-09-03 14:19:03 +02:00
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
2019-09-03 11:58:42 +02:00
#
# Basic
#
2019-09-03 14:19:03 +02:00
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
2019-10-04 15:19:40 +02:00
BaseRngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
2019-09-03 14:19:03 +02:00
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
#BaseMemoryLib|MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf
#BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
#PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
#PciExpressLib|MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
#PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
PeCoffLib|Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
2019-09-03 11:58:42 +02:00
#
# UEFI & PI
#
2019-09-03 14:19:03 +02:00
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
#UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
UefiHiiServicesLib|Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
2019-09-03 11:58:42 +02:00
#EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
#EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
#EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf
2019-09-03 14:19:03 +02:00
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
2020-10-16 09:06:20 +02:00
UefiCpuLib|CloverEFI/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
2019-09-03 11:58:42 +02:00
!ifdef ENABLE_SECURE_BOOT
2024-01-10 14:08:21 +01:00
#RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
RngLib|OpenCorePkg/Library/OcRngLib/OcRngLib.inf
OpensslLib|Library/OpensslLib/OpensslLib.inf
2019-09-03 14:19:03 +02:00
IntrinsicLib|Library/IntrinsicLib/IntrinsicLib.inf
2019-09-03 11:58:42 +02:00
!else
2019-09-03 14:19:03 +02:00
OpensslLib|Library/OpensslLib/OpensslLibNull.inf
2019-09-03 11:58:42 +02:00
!endif
#
# Generic Modules
#
2019-09-03 14:19:03 +02:00
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
2019-09-03 11:58:42 +02:00
#GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
2019-09-03 14:19:03 +02:00
GenericBdsLib|Library/GenericBdsLib/GenericBdsLib.inf
SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
#PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
2019-09-04 12:44:38 +02:00
NetLib|NetworkPkg/Library/DxeNetLib/DxeNetLib.inf
2020-07-09 21:06:48 +02:00
FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
2019-09-03 11:58:42 +02:00
#
# Platform
#
#PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
2019-09-03 14:19:03 +02:00
PlatformBdsLib|Library/OsxBdsPlatformLib/PlatformBds.inf
2019-09-03 11:58:42 +02:00
#TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
2019-09-03 14:19:03 +02:00
TimerLib|Library/DuetTimerLib/DuetTimerLib.inf
2019-09-03 11:58:42 +02:00
#
# Misc
#
2020-11-02 14:45:11 +01:00
CppMemLib|Library/CppMemLib/CppMemLib.inf
2019-09-03 14:19:03 +02:00
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
# PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
2021-09-23 12:36:41 +02:00
# OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
2019-09-03 14:19:03 +02:00
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf
S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
2019-09-03 11:58:42 +02:00
#SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
2022-11-19 18:28:40 +01:00
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
2019-09-03 14:19:03 +02:00
IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
2022-11-19 18:28:40 +01:00
LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
2020-10-16 09:06:20 +02:00
#LocalApicLib|CloverEFI/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
2022-11-19 18:28:40 +01:00
MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
2019-09-03 11:58:42 +02:00
#
# To save size, use NULL library for DebugLib and ReportStatusCodeLib.
# If need status code output, do library instance overriden as below DxeMain.inf does
#
2020-08-25 18:38:50 +02:00
!ifdef DEBUG_ON_SERIAL_PORT
BaseSerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
2020-09-07 00:19:48 +02:00
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
2020-09-18 10:55:44 +02:00
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
2020-08-25 18:38:50 +02:00
!else
BaseSerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
2020-09-07 08:25:55 +02:00
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
2020-09-18 10:55:44 +02:00
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
2020-08-25 18:38:50 +02:00
!endif
BaseDebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
2020-09-18 10:55:44 +02:00
#DebugLib|OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
2019-09-03 14:19:03 +02:00
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
2019-09-03 11:58:42 +02:00
2019-09-03 14:19:03 +02:00
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
2019-09-03 11:58:42 +02:00
#
# Our libs
#
2019-09-03 14:19:03 +02:00
MemLogLib|Library/MemLogLibDefault/MemLogLibDefault.inf
2021-03-28 16:02:56 +02:00
2019-09-03 14:19:03 +02:00
VideoBiosPatchLib|Library/VideoBiosPatchLib/VideoBiosPatchLib.inf
WaveLib|Library/WaveLib/WaveLib.inf
2019-11-27 12:16:02 +01:00
HdaDevicesLib|Library/HdaDevicesLib/HdaDevicesLib.inf
2019-10-04 22:32:02 +02:00
2020-07-09 21:06:48 +02:00
#
# OC libs
#
2020-09-07 00:19:48 +02:00
OcGuardLib|OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf
OcAfterBootCompatLib|OpenCorePkg/Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf
OcAppleBootPolicyLib|OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf
OcAppleChunklistLib|OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf
OcAppleDiskImageLib|OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf
2021-09-23 12:36:41 +02:00
# OcAppleImageConversionLib|OpenCorePkg/Library/OcAppleImageConversionLib/OcAppleImageConversionLib.inf
2020-09-07 00:19:48 +02:00
OcAppleKeyMapLib|OpenCorePkg/Library/OcAppleKeyMapLib/OcAppleKeyMapLib.inf
OcAppleKeysLib|OpenCorePkg/Library/OcAppleKeysLib/OcAppleKeysLib.inf
OcAppleRamDiskLib|OpenCorePkg/Library/OcAppleRamDiskLib/OcAppleRamDiskLib.inf
OcBootManagementLib|OpenCorePkg/Library/OcBootManagementLib/OcBootManagementLib.inf
OcCompressionLib|OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf
2021-09-23 12:36:41 +02:00
OcConsoleControlEntryModeGenericLib|OpenCorePkg/Library/OcConsoleControlEntryModeLib/OcConsoleControlEntryModeGenericLib.inf
2020-09-07 00:19:48 +02:00
OcConsoleLib|OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf
OcCpuLib|OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf
OcCryptoLib|OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf
2021-09-23 12:36:41 +02:00
OcDeviceMiscLib|OpenCorePkg/Library/OcDeviceMiscLib/OcDeviceMiscLib.inf
2020-09-07 00:19:48 +02:00
OcDevicePathLib|OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf
OcFileLib|OpenCorePkg/Library/OcFileLib/OcFileLib.inf
2021-09-23 12:36:41 +02:00
OcFlexArrayLib|OpenCorePkg/Library/OcFlexArrayLib/OcFlexArrayLib.inf
OcMainLib|OpenCorePkg/Library/OcMainLib/OcMainLibClover.inf
2020-09-07 00:19:48 +02:00
OcMemoryLib|OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf
2023-12-25 19:57:47 +01:00
# OcMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
2020-09-07 00:19:48 +02:00
OcMiscLib|OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf
OcOSInfoLib|OpenCorePkg/Library/OcOSInfoLib/OcOSInfoLib.inf
2024-01-01 11:36:31 +01:00
OcPciIoLib|OpenCorePkg/Library/OcPciIoLib/OcPciIoLib.inf
2021-09-23 12:36:41 +02:00
# OcPngLib|OpenCorePkg/Library/OcPngLib/OcPngLib.inf
2020-09-07 00:19:48 +02:00
OcRngLib|OpenCorePkg/Library/OcRngLib/OcRngLib.inf
OcRtcLib|OpenCorePkg/Library/OcRtcLib/OcRtcLib.inf
OcSerializeLib|OpenCorePkg/Library/OcSerializeLib/OcSerializeLib.inf
OcStringLib|OpenCorePkg/Library/OcStringLib/OcStringLib.inf
OcStorageLib|OpenCorePkg/Library/OcStorageLib/OcStorageLib.inf
OcTemplateLib|OpenCorePkg/Library/OcTemplateLib/OcTemplateLib.inf
OcXmlLib|OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf
2021-09-23 12:36:41 +02:00
OcTypingLib|OpenCorePkg/Library/OcTypingLib/OcTypingLib.inf
#OcTimerLib|OpenCorePkg/Library/OcTimerLib/OcTimerLib.inf
2020-09-07 00:19:48 +02:00
OcDeviceTreeLib|OpenCorePkg/Library/OcDeviceTreeLib/OcDeviceTreeLib.inf
OcDataHubLib|OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf
OcAppleImg4Lib|OpenCorePkg/Library/OcAppleImg4Lib/OcAppleImg4Lib.inf
OcAppleKernelLib|OpenCorePkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf
OcMachoLib|OpenCorePkg/Library/OcMachoLib/OcMachoLib.inf
OcVirtualFsLib|OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf
2024-01-01 11:36:31 +01:00
OcPeCoffExtLib|OpenCorePkg/Library/OcPeCoffExtLib/OcPeCoffExtLib.inf
2020-09-07 00:19:48 +02:00
OcMacInfoLib|OpenCorePkg/Library/OcMacInfoLib/OcMacInfoLib.inf
OcApfsLib|OpenCorePkg/Library/OcApfsLib/OcApfsLib.inf
OcAppleSecureBootLib|OpenCorePkg/Library/OcAppleSecureBootLib/OcAppleSecureBootLib.inf
2021-09-23 12:36:41 +02:00
# OcAppleImageVerificationLib|OpenCorePkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf
2020-09-07 00:19:48 +02:00
OcDriverConnectionLib|OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf
2020-09-18 10:55:44 +02:00
#OcDebugLogLib|OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
2020-09-07 00:19:48 +02:00
OcAcpiLib|OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf
OcAppleEventLib|OpenCorePkg/Library/OcAppleEventLib/OcAppleEventLib.inf
2024-01-19 18:21:45 +01:00
# OcAudioLib|OpenCorePkg/Library/OcAudioLib/OcAudioLib.inf
2021-09-23 12:36:41 +02:00
OcBlitLib|OpenCorePkg/Library/OcBlitLib/OcBlitLib.inf
2020-09-07 00:19:48 +02:00
OcInputLib|OpenCorePkg/Library/OcInputLib/OcInputLib.inf
OcAppleUserInterfaceThemeLib|OpenCorePkg/Library/OcAppleUserInterfaceThemeLib/OcAppleUserInterfaceThemeLib.inf
OcConfigurationLib|OpenCorePkg/Library/OcConfigurationLib/OcConfigurationLib.inf
OcDevicePropertyLib|OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf
2024-01-01 11:36:31 +01:00
OcDirectResetLib|OpenCorePkg/Library/OcDirectResetLib/OcDirectResetLib.inf
2022-07-03 20:11:48 +02:00
# OcFirmwareVolumeLib|OpenCorePkg/Library/OcFirmwareVolumeLib/OcFirmwareVolumeLib.inf
2020-09-07 00:19:48 +02:00
OcHashServicesLib|OpenCorePkg/Library/OcHashServicesLib/OcHashServicesLib.inf
OcSmbiosLib|OpenCorePkg/Library/OcSmbiosLib/OcSmbiosLib.inf
2022-07-25 21:29:12 +02:00
# OcSmcLib|OpenCorePkg/Library/OcSmcLib/OcSmcLib.inf
2020-09-07 00:19:48 +02:00
OcUnicodeCollationEngGenericLib|OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngGenericLib.inf
2024-01-01 11:36:31 +01:00
# OcPeCoffExtLib|OpenCorePkg/Library/OcPeCoffExtLib/OcPeCoffExtLib.inf
# OcPeCoffLib|OpenCorePkg/Library/OcPeCoffLib/OcPeCoffLib.inf
PeCoffLib2|MdePkg/Library/BasePeCoffLib2/BasePeCoffLib2.inf
UefiImageExtraActionLib|MdePkg/Library/BaseUefiImageExtraActionLibNull/BaseUefiImageExtraActionLibNull.inf
2021-09-23 12:36:41 +02:00
ResetSystemLib|OpenCorePkg/Library/OcResetSystemLib/OcResetSystemLib.inf
2024-01-01 11:36:31 +01:00
OcVariableLib|OpenCorePkg/Library/OcVariableLib/OcVariableLib.inf
2021-09-23 12:36:41 +02:00
2024-01-01 11:36:31 +01:00
# OpenCoreLib|OpenCorePkg/Application/OpenCore/OpenCoreLib.inf
2020-09-18 10:55:44 +02:00
OcDebugLogLibOc2Clover|OpenCorePkg/Library/OcDebugLogLibOc2Clover/OcDebugLogLibOc2Clover.inf
2020-09-07 00:19:48 +02:00
#MachoLib|Library/MachoLib/MachoLib.inf
2019-10-04 22:32:02 +02:00
2019-09-03 11:58:42 +02:00
2019-09-03 14:19:03 +02:00
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
2019-09-03 11:58:42 +02:00
!ifndef NO_CLOVER_SHELL
#Shell
2019-09-03 14:19:03 +02:00
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
2019-09-03 11:58:42 +02:00
!endif
[LibraryClasses.common.DXE_CORE]
2019-09-03 14:19:03 +02:00
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
2019-09-03 11:58:42 +02:00
[LibraryClasses.common.PEIM]
2019-09-03 14:19:03 +02:00
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
2019-09-03 11:58:42 +02:00
[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
2019-09-03 14:19:03 +02:00
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
2019-09-03 11:58:42 +02:00
[LibraryClasses.common.DXE_DRIVER]
2019-09-03 14:19:03 +02:00
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
2019-09-03 11:58:42 +02:00
[LibraryClasses.common.DXE_SMM_DRIVER]
2019-09-03 14:19:03 +02:00
SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
2019-09-03 11:58:42 +02:00
###################################################################################################
#
# Components Section - list of the modules and components that will be processed by compilation
# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
#
# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
# into firmware volume images. This section is just a list of modules to compile from
# source into UEFI-compliant binaries.
# It is the FDF file that contains information on combining binary files into firmware
# volume images, whose concept is beyond UEFI and is described in PI specification.
# Binary modules do not need to be listed in this section, as they should be
# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
# Logo (Logo.bmp), and etc.
# There may also be modules listed in this section that are not required in the FDF file,
# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
# generated for it, but the binary will not be put into any firmware volume.
#
###################################################################################################
[Components]
2020-09-18 10:55:44 +02:00
2024-01-10 13:20:25 +01:00
# Jief : I've added -Wno-maybe-uninitialized. Doesn't the OC team use that warning? I prefer NOT want to change OC because it makes it harder to re-sync
2022-02-05 19:53:39 +01:00
!ifdef MSFT
2020-11-02 14:45:11 +01:00
DEFINE OC_INCLUDE_FLAG = /FI OpenCoreFromClover.h
!else
2024-01-10 14:05:43 +01:00
DEFINE OC_INCLUDE_FLAG = -include OpenCoreFromClover.h -Wno-uninitialized
2020-11-02 14:45:11 +01:00
!endif
2024-01-01 11:36:31 +01:00
# OpenCorePkg/Application/OpenCore/OpenCoreLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcGuardLib/OcGuardLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAfterBootCompatLib/OcAfterBootCompatLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleBootPolicyLib/OcAppleBootPolicyLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleChunklistLib/OcAppleChunklistLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleDiskImageLib/OcAppleDiskImageLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleKeyMapLib/OcAppleKeyMapLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleKeysLib/OcAppleKeysLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleRamDiskLib/OcAppleRamDiskLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcBootManagementLib/OcBootManagementLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcCompressionLib/OcCompressionLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcConsoleControlEntryModeLib/OcConsoleControlEntryModeGenericLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcConsoleLib/OcConsoleLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcCpuLib/OcCpuLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcCryptoLib/OcCryptoLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2021-09-23 12:36:41 +02:00
OpenCorePkg/Library/OcDeviceMiscLib/OcDeviceMiscLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcDevicePathLib/OcDevicePathLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcFileLib/OcFileLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcFlexArrayLib/OcFlexArrayLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
OpenCorePkg/Library/OcMainLib/OcMainLibClover.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2023-12-31 15:19:19 +01:00
OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcMiscLib/OcMiscLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcOSInfoLib/OcOSInfoLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcPciIoLib/OcPciIoLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcRngLib/OcRngLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcRtcLib/OcRtcLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcSerializeLib/OcSerializeLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcStringLib/OcStringLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcStorageLib/OcStorageLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcTemplateLib/OcTemplateLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcXmlLib/OcXmlLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcTypingLib/OcTypingLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcDeviceTreeLib/OcDeviceTreeLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcDataHubLib/OcDataHubLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleImg4Lib/OcAppleImg4Lib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleKernelLib/OcAppleKernelLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcMachoLib/OcMachoLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcVirtualFsLib/OcVirtualFsLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcPeCoffExtLib/OcPeCoffExtLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcMacInfoLib/OcMacInfoLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcApfsLib/OcApfsLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleSecureBootLib/OcAppleSecureBootLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2021-09-23 12:36:41 +02:00
# OpenCorePkg/Library/OcAppleImageVerificationLib/OcAppleImageVerificationLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcDriverConnectionLib/OcDriverConnectionLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
#OcDebugLogLib|OpenCorePkg/Library/OcDebugLogLib/OcDebugLogLib.inf
OpenCorePkg/Library/OcAcpiLib/OcAcpiLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleEventLib/OcAppleEventLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-19 18:21:45 +01:00
# OpenCorePkg/Library/OcAudioLib/OcAudioLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcBlitLib/OcBlitLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcInputLib/OcInputLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcAppleUserInterfaceThemeLib/OcAppleUserInterfaceThemeLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcConfigurationLib/OcConfigurationLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcDevicePropertyLib/OcDevicePropertyLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-01 11:36:31 +01:00
OpenCorePkg/Library/OcDirectResetLib/OcDirectResetLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2022-07-03 20:11:48 +02:00
# OpenCorePkg/Library/OcFirmwareVolumeLib/OcFirmwareVolumeLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcHashServicesLib/OcHashServicesLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
OpenCorePkg/Library/OcSmbiosLib/OcSmbiosLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2022-07-25 21:29:12 +02:00
# OpenCorePkg/Library/OcSmcLib/OcSmcLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2020-09-18 10:55:44 +02:00
OpenCorePkg/Library/OcUnicodeCollationEngLib/OcUnicodeCollationEngGenericLib.inf {
<BuildOptions>
2020-11-02 14:45:11 +01:00
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
2020-09-18 10:55:44 +02:00
}
2024-01-01 11:36:31 +01:00
# OpenCorePkg/Library/OcPeCoffLib/OcPeCoffLib.inf {
# <BuildOptions>
# *_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
# }
2024-01-10 14:05:43 +01:00
OpenCorePkg/Library/OcResetSystemLib/OcResetSystemLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2021-09-23 12:36:41 +02:00
OpenCorePkg/Library/OcVariableLib/OcVariableLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
OpenCorePkg/Library/OcMainLib/OcMainLibClover.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
}
2020-09-18 10:55:44 +02:00
2021-03-21 11:47:52 +01:00
#DuetPkg/BootSector/BootSector.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/DxeIpl/DxeIpl.inf {
2019-09-03 14:19:03 +02:00
CloverEFI/OsxDxeIpl/DxeIpl.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
#
# If no following overriden for ReportStatusCodeLib library class,
# All other module can *not* output debug information even they are use not NULL library
# instance for DebugLib and ReportStatusCodeLib
#
2019-09-03 14:19:03 +02:00
#ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
2019-09-03 11:58:42 +02:00
}
2021-03-21 11:47:52 +01:00
#MdeModulePkg/Core/Dxe/DxeMain.inf {
CloverEFI/OsxDxeCore/DxeMain.inf {
2019-09-03 11:58:42 +02:00
#
# Enable debug output for DxeCore module, this is a sample for how to enable debug output
# for a module. If need turn on debug output for other module, please copy following overriden
# PCD and library instance to other module's override section.
#
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x82
#0x82
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
#0x80000042
<LibraryClasses>
2019-09-03 14:19:03 +02:00
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
2021-03-21 11:47:52 +01:00
# DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
# ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
2019-09-03 11:58:42 +02:00
}
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/FSVariable/FSVariable.inf
!ifndef REAL_NVRAM
!ifdef HAVE_LEGACY_EMURUNTIMEDXE
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
2019-09-03 11:58:42 +02:00
!else
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
2019-09-03 11:58:42 +02:00
<PcdsFixedAtBuild>
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|TRUE
<LibraryClasses>
2019-09-03 14:19:03 +02:00
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
2019-09-03 11:58:42 +02:00
}
!endif
!else
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
2019-09-03 11:58:42 +02:00
}
!endif
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
2019-09-03 11:58:42 +02:00
<PcdsPatchableInModule>
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
}
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
2022-07-18 20:11:16 +02:00
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
2019-09-03 14:19:03 +02:00
#MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
CloverEFI/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
#MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/SmbiosGenDxe/SmbiosGen.inf
2019-09-03 14:19:03 +02:00
#OsxSmbiosDxe/SmbiosDxe.inf
CloverEFI/OsxSmbiosGenDxe/SmbiosGen.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/EfiLdr/EfiLdr.inf {
2019-09-03 14:19:03 +02:00
CloverEFI/OsxEfiLdr/EfiLdr.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
2019-09-03 11:58:42 +02:00
#NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
2019-09-03 14:19:03 +02:00
NULL|Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
2019-09-03 11:58:42 +02:00
}
#IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
2019-09-03 14:19:03 +02:00
CloverEFI/OsxBdsDxe/BdsDxe.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
2019-09-03 11:58:42 +02:00
}
2022-03-08 19:57:31 +01:00
#MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
2020-10-16 09:06:20 +02:00
CloverEFI/UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
2019-09-03 11:58:42 +02:00
#UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
2022-11-19 18:28:40 +01:00
UefiCpuPkg/CpuDxe/CpuDxe.inf
2019-09-03 14:19:03 +02:00
CloverEFI/CpuDxe/Cpu.inf
PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf {
2019-09-03 11:58:42 +02:00
<PcdsFixedAtBuild>
gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeMask|0xFFFC
}
#DuetPkg/AcpiResetDxe/Reset.inf
2019-09-03 14:19:03 +02:00
CloverEFI/AcpiReset/Reset.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/LegacyMetronome/Metronome.inf
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/Metronome/Metronome.inf
2019-09-03 11:58:42 +02:00
# EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.inf
#Chipset
#PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
2019-09-03 14:19:03 +02:00
CloverEFI/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
2019-09-03 11:58:42 +02:00
#PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
#PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
#DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
2019-09-03 14:19:03 +02:00
CloverEFI/PciRootBridgeDxe/PciRootBridge.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
2019-09-03 14:19:03 +02:00
CloverEFI/OsxPciBusNoEnumerationDxe/PciBusNoEnumeration.inf
#MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
#PciBusDxe/PciBusDxe.inf
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
2019-09-03 11:58:42 +02:00
#DataHub
2019-09-03 14:19:03 +02:00
#VBoxAppleSim/VBoxAppleSim.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
2021-02-07 15:59:15 +01:00
#Protocols/DataHubDxe/DataHubDxe.inf
2019-09-03 14:19:03 +02:00
#Protocols/DataHubStdErrDxe/DataHubStdErrDxe.inf
2019-09-03 11:58:42 +02:00
# foreign file system support
2019-09-03 14:19:03 +02:00
Protocols/DriverOverride/DriverOverride.inf
FileSystems/VBoxFsDxe/VBoxHfs.inf
FileSystems/VBoxFsDxe/VBoxIso9660.inf
#FileSystems/VBoxFsDxe/VBoxFsDxe.inf
FileSystems/VBoxFsDxe/VBoxExt2.inf
FileSystems/VBoxFsDxe/VBoxExt4.inf
FileSystems/VBoxFsDxe/VBoxReiserFS.inf
2019-09-03 11:58:42 +02:00
#EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
2019-09-03 14:19:03 +02:00
#OsxMmcDxe/MmcDxe.inf
FileSystems/FatPkg/EnhancedFatDxe/Fat.inf
FileSystems/ApfsDriverLoader/ApfsDriverLoader.inf
2019-09-03 11:58:42 +02:00
# FS from grub
!ifndef NO_GRUB_DRIVERS
2019-09-03 14:19:03 +02:00
FileSystems/GrubFS/src/EXFAT.inf
FileSystems/GrubFS/src/HFSPLUS.inf
FileSystems/GrubFS/src/ISO9660.inf
FileSystems/GrubFS/src/NTFS.inf
FileSystems/GrubFS/src/UDF.inf
#FileSystems/GrubFS/src/ZFS.inf
#FileSystems/GrubFS/src/UFS.inf
#FileSystems/GrubFS/src/UFS2.inf
#FileSystems/GrubFS/src/XFS.inf
2019-09-03 11:58:42 +02:00
!endif
#Video
#IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
2019-09-03 14:19:03 +02:00
#VBoxVgaMiniPort/VgaMiniPortDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
2019-09-03 14:19:03 +02:00
#VgaClassDxe/VgaClassDxe.inf
#IntelGmaDxe/Gop.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
2019-09-03 14:19:03 +02:00
CloverEFI/BiosVideo/BiosVideo.inf
#BiosVideoAuto/BiosVideo.inf
LegacyBios/VideoDxe/VideoDxe.inf
2019-12-20 06:49:28 +01:00
LegacyBios/VideoDxe/VideoDxe2.inf
2019-09-03 11:58:42 +02:00
# IDE/AHCI Support
!ifdef USE_BIOS_BLOCKIO
2019-09-03 14:19:03 +02:00
LegacyBios/BlockIoDxe/BlockIoDxe.inf
2019-09-03 11:58:42 +02:00
!else
2019-09-03 14:19:03 +02:00
#Trash/VBoxIdeControllerDxe/VBoxIdeControllerDxe.inf
#Trash/VBoxIdeBusDxe/VBoxIdeBusDxe.inf
2019-09-03 11:58:42 +02:00
#DuetPkg/SataControllerDxe/SataControllerDxe.inf
2019-09-03 14:19:03 +02:00
Drivers/SataControllerDxe/SataControllerDxe.inf
#MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
Drivers/AtaAtapi/AtaAtapiPassThru.inf
#MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
Drivers/AtaBus/AtaBusDxe.inf
#MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
Drivers/DVDBus/ScsiBusDxe.inf
#MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
Drivers/DVDDisk/ScsiDiskDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
!endif
# Usb Support
2019-09-03 14:19:03 +02:00
MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
Drivers/OhciDxe/OhciDxe.inf
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
# MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
Drivers/XhciDxe/XhciDxe.inf
# MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
Drivers/UsbBusDxe/UsbBusDxe.inf
# MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
Drivers/UsbKbDxe/UsbKbDxe.inf
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
#Drivers/UsbMouseDxe/UsbMouseDxe.inf
2019-09-03 11:58:42 +02:00
# ISA Support
2019-09-03 14:19:03 +02:00
PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
Drivers/Isa/IsaBusDxe/IsaBusDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
2019-09-03 14:19:03 +02:00
Drivers/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
2019-09-03 14:19:03 +02:00
Drivers/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
2019-09-03 14:19:03 +02:00
Drivers/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
2019-09-03 11:58:42 +02:00
# ACPI Support
2019-09-03 14:19:03 +02:00
#MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
CloverEFI/OsxAcpiTableDxe/AcpiTableDxe.inf
#MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
#CloverEFI/OsxAcpiPlatformDxe/AcpiPlatformDxe.inf
2019-09-03 11:58:42 +02:00
2019-09-03 14:19:03 +02:00
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf {
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
2019-09-03 11:58:42 +02:00
}
2019-09-03 14:19:03 +02:00
#MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
Drivers/PartitionDxe/PartitionDxe.inf
2019-09-03 11:58:42 +02:00
#FD
#IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
2019-09-03 14:19:03 +02:00
#SaveResume/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
#MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
#MdeModulePkg/Universal/Acpi/SmmS3SaveState/SmmS3SaveState.inf
#MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
#SaveResume/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
2020-09-07 00:19:48 +02:00
#UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
2019-09-03 11:58:42 +02:00
# Bios Thunk
#IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
#IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
#IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BlockIoDxe.inf
#IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf
2019-09-03 14:19:03 +02:00
CloverEFI/BiosKeyboard/KeyboardDxe.inf
2019-09-03 11:58:42 +02:00
#IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
2019-09-03 14:19:03 +02:00
#MdeModulePkg/Universal/LegacyRegion2Dxe/LegacyRegion2Dxe.inf
LegacyBios/Region2Dxe/LegacyRegion2Dxe.inf
2019-09-03 11:58:42 +02:00
# Misc
2019-09-03 14:19:03 +02:00
FSInject/FSInject.inf
Protocols/MsgLog/MsgLog.inf
2022-07-25 21:29:12 +02:00
#Protocols/SMCHelper/SMCHelper.inf
2022-07-02 12:08:16 +02:00
#Protocols/FirmwareVolume/FirmwareVolume.inf
2022-08-16 20:30:49 +02:00
#Protocols/AppleImageCodec/AppleImageCodec.inf
2022-07-02 09:42:08 +02:00
#Protocols/AppleUITheme/AppleUITheme.inf
2019-09-03 14:19:03 +02:00
Protocols/HashServiceFix/HashServiceFix.inf
2022-08-18 18:27:04 +02:00
#Protocols/AppleKeyAggregator/AppleKeyAggregator.inf
2019-09-03 14:19:03 +02:00
Protocols/AppleKeyFeeder/AppleKeyFeeder.inf
2019-10-04 22:32:02 +02:00
Protocols/AptioInputFix/AptioInputFix.inf
2019-09-03 11:58:42 +02:00
!ifdef DEBUG_ON_SERIAL_PORT
2019-09-03 14:19:03 +02:00
Protocols/DumpUefiCalls/DumpUefiCalls.inf {
2019-09-03 11:58:42 +02:00
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xFFFFFFFF
<LibraryClasses>
2020-09-18 10:55:44 +02:00
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
2019-09-03 14:19:03 +02:00
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
2019-09-03 11:58:42 +02:00
}
!endif
2019-10-04 15:19:40 +02:00
# Drivers for Aptio loading - should go to Clover's /EFI/drivers/UEFI dir
2019-09-03 14:19:03 +02:00
Protocols/OsxFatBinaryDrv/OsxFatBinaryDrv.inf
2019-09-03 11:58:42 +02:00
2022-07-02 09:42:08 +02:00
# Drivers for Phoenix UEFI loading - should go to Clover's /EFI/drivers/UEFI dir
2019-09-03 14:19:03 +02:00
Protocols/EmuVariableUefi/EmuVariableRuntimeDxe.inf {
2019-09-03 11:58:42 +02:00
<PcdsFixedAtBuild>
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x3000
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0000
}
# Driver Audio
2019-09-03 14:19:03 +02:00
Drivers/AudioDxe/AudioDxe.inf
2019-09-03 11:58:42 +02:00
#
# Sample Application
#
2019-09-03 14:19:03 +02:00
#MdeModulePkg/Application/HelloWorld/HelloWorld.inf
#MdeModulePkg/Application/VariableInfo/VariableInfo.inf
#Sample/Application/Sample.inf
#gptsync/gptsync.inf
bdmesg_efi/bdmesg.inf
2024-01-01 11:36:31 +01:00
#OpenCorePkg/Application/ControlMsrE2/ControlMsrE2Clover.inf
2019-09-03 11:58:42 +02:00
!ifndef NO_CLOVER_SHELL
2019-09-03 14:19:03 +02:00
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
2019-09-03 11:58:42 +02:00
2019-09-03 14:19:03 +02:00
ShellPkg/Application/Shell/Shell.inf {
2019-09-03 11:58:42 +02:00
<PcdsFixedAtBuild>
2021-03-21 11:47:52 +01:00
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
!ifdef $(NO_SHELL_PROFILES)
gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00
!endif #$(NO_SHELL_PROFILES)
2019-09-03 11:58:42 +02:00
<LibraryClasses>
2019-09-03 14:19:03 +02:00
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
2019-09-03 11:58:42 +02:00
!ifndef $(NO_SHELL_PROFILES)
2019-09-03 14:19:03 +02:00
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
2019-09-03 11:58:42 +02:00
!ifdef $(INCLUDE_DP)
2019-09-03 14:19:03 +02:00
NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
2019-09-03 11:58:42 +02:00
!endif #$(INCLUDE_DP)
!ifdef $(INCLUDE_TFTP_COMMAND)
2019-09-03 14:19:03 +02:00
NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
2019-09-03 11:58:42 +02:00
!endif #$(INCLUDE_TFTP_COMMAND)
!endif #$(NO_SHELL_PROFILES)
}
!endif
2021-03-21 11:47:52 +01:00
rEFIt_UEFI/refit.inf {
#
# Enable debug output.
#
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
2021-04-11 12:53:21 +02:00
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
2021-03-21 11:47:52 +01:00
}
2019-09-03 11:58:42 +02:00
2024-01-01 11:36:31 +01:00
#from OpenCore
[PcdsPatchableInModule]
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterAccessWidth|8
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|FALSE
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x03F8
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|115200
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|0x03
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x07
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|1843200
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|64
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
2019-09-03 11:58:42 +02:00
[Components.X64]
2020-11-02 14:45:11 +01:00
Library/CppMemLib/CppMemLib.inf
2019-10-04 15:19:40 +02:00
# MemoryFix/OsxAptioFixDrv/OsxAptioFix2Drv.inf
2020-11-02 14:45:11 +01:00
# MemoryFix/OsxAptioFixDrv/OsxAptioFix3Drv.inf
# MemoryFix/OsxLowMemFixDrv/OsxLowMemFixDrv.inf
# MemoryFix/AptioMemoryFix/AptioMemoryFix.inf
2020-09-07 00:19:48 +02:00
OpenCorePkg/Platform/OpenRuntime/OpenRuntime.inf
2020-11-02 14:45:11 +01:00
#!ifdef DEBUG_ON_SERIAL_PORT
# MemoryFix/OsxAptioFixDrv/OsxAptioFixDrv.inf {
2019-09-03 11:58:42 +02:00
#
# Enable debug output.
#
2020-11-02 14:45:11 +01:00
# <PcdsFixedAtBuild>
# gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x07
# gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xFFFFFFFF
# <LibraryClasses>
# SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
# DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
# DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
# }
# !else
2021-03-21 11:47:52 +01:00
# MemoryFix/OsxAptioFixDrv/OsxAptioFixDrv.inf
2020-11-02 14:45:11 +01:00
# !endif
2019-09-03 11:58:42 +02:00
###################################################################################################
#
# BuildOptions Section - Define the module specific tool chain flags that should be used as
# the default flags for a module. These flags are appended to any
# standard flags that are defined by the build process. They can be
# applied for any modules or only those modules with the specific
# module style (EDK or EDKII) specified in [Components] section.
#
###################################################################################################
[BuildOptions]
!ifdef ENABLE_VBIOS_PATCH_CLOVEREFI
DEFINE VBIOS_PATCH_CLOVEREFI_FLAG = -DCLOVER_VBIOS_PATCH_IN_CLOVEREFI
!endif
!ifdef ONLY_SATA_0
DEFINE ONLY_SATA_0_FLAG = -DONLY_SATA_0
!endif
!ifdef USE_BIOS_BLOCKIO
DEFINE BLOCKIO_FLAG = -DUSE_BIOS_BLOCKIO
!ifdef DISABLE_USB_CONTROLLERS_WHEN_BLOCKIO
DEFINE DISABLE_USB_CONTROLLERS = 1
!endif
!endif
!ifdef DISABLE_USB_CONTROLLERS
DEFINE NOUSB_FLAG = -DDISABLE_USB_SUPPORT
!endif
!ifdef DISABLE_USB_SUPPORT
DEFINE NOUSB_FLAG = -DDISABLE_USB_SUPPORT
!endif
!ifdef DISABLE_UDMA_SUPPORT
DEFINE NOUDMA_FLAG = -DDISABLE_UDMA_SUPPORT
!endif
# Slice: I propose this flag always true
#!ifdef AMD_SUPPORT
DEFINE AMD_FLAG = -DAMD_SUPPORT
#!endif
!ifdef ENABLE_SECURE_BOOT
DEFINE SECURE_BOOT_FLAG = -DENABLE_SECURE_BOOT
!endif
#!ifdef ANDX86
DEFINE ANDX86_FLAG = -DANDX86
#!endif
!ifdef ENABLE_PS2MOUSE_LEGACYBOOT
DEFINE PS2MOUSE_LEGACYBOOT_FLAG = -DENABLE_PS2MOUSE_LEGACYBOOT
!endif
!ifdef DEBUG_ON_SERIAL_PORT
DEFINE DEBUG_ON_SERIAL_PORT_FLAG = -DDEBUG_ON_SERIAL_PORT
!endif
2020-10-20 14:00:24 +02:00
#Should we force lto if RELEASE ?
#!if $(TARGET) == "RELEASE"
2019-09-03 11:58:42 +02:00
!ifdef DISABLE_LTO
2020-10-20 14:00:24 +02:00
DEFINE LTO_FLAG = -fno-lto -UUSING_LTO
2022-05-29 14:46:35 +02:00
DEFINE XLTO_FLAG = -fno-lto -UUSING_LTO
2020-10-20 14:00:24 +02:00
!else
2022-05-28 09:03:42 +02:00
DEFINE LTO_FLAG = -flto=auto -DUSING_LTO
2022-05-29 14:46:35 +02:00
DEFINE XLTO_FLAG = -flto -DUSING_LTO
2019-09-03 11:58:42 +02:00
!endif
!ifdef EXIT_USBKB
DEFINE EXIT_USBKB_FLAG = -DEXIT_USBKB
!endif
2020-10-20 14:00:24 +02:00
!ifdef JIEF_DEBUG
DEFINE JIEF_DEBUG_FLAG = -DJIEF_DEBUG
!endif
2021-12-24 19:22:53 +01:00
!ifdef LESS_DEBUG
DEFINE LESS_DEBUG_FLAG = -DLESS_DEBUG
!endif
DEFINE BUILD_OPTIONS=-DIS_UEFI_MODULE -DMDEPKG_NDEBUG -DCLOVER_BUILD -DLESS_DEBUG $(VBIOS_PATCH_CLOVEREFI_FLAG) $(ONLY_SATA_0_FLAG) $(BLOCKIO_FLAG) $(NOUSB_FLAG) $(NOUDMA_FLAG) $(AMD_FLAG) $(SECURE_BOOT_FLAG) $(ANDX86_FLAG) $(PS2MOUSE_LEGACYBOOT_FLAG) $(DEBUG_ON_SERIAL_PORT_FLAG) $(EXIT_USBKB_FLAG) $(JIEF_DEBUG_FLAG) -DDISABLE_NEW_DEPRECATED_INTERFACES -DOC_TARGET_DEBUG
2019-09-03 11:58:42 +02:00
2021-02-10 13:32:07 +01:00
XCODE:DEBUG_*_*_CC_FLAGS =
XCODE:DEBUG_*_*_CXX_FLAGS =
2019-09-03 11:58:42 +02:00
2021-05-08 11:34:17 +02:00
# -Dinline=__inline
MSFT:*_*_*_CC_FLAGS = $(BUILD_OPTIONS)
MSFT:*_*_*_CXX_FLAGS = $(BUILD_OPTIONS)
2019-09-03 11:58:42 +02:00
2022-05-29 14:46:35 +02:00
XCODE:*_*_*_CC_FLAGS = -std=c11 -fno-unwind-tables $(BUILD_OPTIONS) $(XLTO_FLAG)
XCODE:*_*_*_CXX_FLAGS = -std=c++11 -fno-unwind-tables $(BUILD_OPTIONS) $(XLTO_FLAG)
2021-05-08 11:34:17 +02:00
GCC:*_*_*_CC_FLAGS = -std=c11 $(BUILD_OPTIONS) $(LTO_FLAG)
GCC:*_*_*_CXX_FLAGS = -std=c++11 $(BUILD_OPTIONS) $(LTO_FLAG)
2020-05-15 05:23:33 +02:00
#-fanalyzer -Wmismatched-tags
#-Weffc++