2015-03-31 02:56:01 +02:00
|
|
|
## @file
|
|
|
|
# Coreboot Payload Package
|
|
|
|
#
|
2016-05-02 19:22:15 +02:00
|
|
|
# Provides drivers and definitions to create uefi payload for coreboot.
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
2016-04-06 17:14:55 +02:00
|
|
|
# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
|
2016-05-02 19:22:15 +02:00
|
|
|
# This program and the accompanying materials are licensed and made available under
|
|
|
|
# the terms and conditions of the BSD License that accompanies this distribution.
|
2015-03-31 02:56:01 +02:00
|
|
|
# The full text of the license may be found at
|
2016-05-02 19:22:15 +02:00
|
|
|
# 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.
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = CorebootPayloadPkg
|
|
|
|
PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96
|
|
|
|
PLATFORM_VERSION = 0.1
|
2016-05-02 19:22:15 +02:00
|
|
|
DSC_SPECIFICATION = 0x00010005
|
2015-03-31 02:56:01 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
2015-04-10 04:41:36 +02:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
2015-03-31 02:56:01 +02:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
2015-04-10 04:41:41 +02:00
|
|
|
OUTPUT_DIRECTORY = Build/CorebootPayloadPkgX64
|
2015-03-31 02:56:01 +02:00
|
|
|
FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
DEFINE SECURE_BOOT_ENABLE = FALSE
|
|
|
|
DEFINE SOURCE_DEBUG_ENABLE = FALSE
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2016-05-05 02:38:17 +02:00
|
|
|
#
|
|
|
|
# CPU options
|
|
|
|
#
|
|
|
|
DEFINE MAX_LOGICAL_PROCESSORS = 64
|
|
|
|
|
2016-05-05 02:38:00 +02:00
|
|
|
#
|
|
|
|
# Serial port set up
|
|
|
|
#
|
|
|
|
DEFINE BAUD_RATE = 115200
|
|
|
|
DEFINE SERIAL_CLOCK_RATE = 1843200
|
|
|
|
DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity
|
|
|
|
DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE
|
|
|
|
DEFINE SERIAL_DETECT_CABLE = FALSE
|
|
|
|
DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO
|
|
|
|
DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16
|
|
|
|
DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)
|
|
|
|
DEFINE UART_DEFAULT_DATA_BITS = 8
|
|
|
|
DEFINE UART_DEFAULT_PARITY = 1
|
|
|
|
DEFINE UART_DEFAULT_STOP_BITS = 1
|
|
|
|
DEFINE DEFAULT_TERMINAL_TYPE = 0
|
|
|
|
|
|
|
|
#
|
|
|
|
# typedef struct {
|
|
|
|
# UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.
|
|
|
|
# UINT16 DeviceId; ///< Device ID to match the PCI device
|
|
|
|
# UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz
|
|
|
|
# UINT64 Offset; ///< The byte offset into to the BAR
|
|
|
|
# UINT8 BarIndex; ///< Which BAR to get the UART base address
|
|
|
|
# UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.
|
|
|
|
# UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
|
|
|
|
# UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.
|
|
|
|
# UINT8 Reserved[2];
|
|
|
|
# } PCI_SERIAL_PARAMETER;
|
|
|
|
#
|
|
|
|
# Vendor 0000 Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
|
|
|
|
#
|
|
|
|
# [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]
|
|
|
|
DEFINE PCI_SERIAL_PARAMETERS = {0x00,0x00, 0x00,0x00, 0x0,0x20,0x1c,0x00, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x01, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
|
|
|
|
|
2016-05-05 02:37:45 +02:00
|
|
|
#
|
|
|
|
# Shell options: [BUILD_SHELL, FULL_BIN, MIN_BIN, NONE, UEFI]
|
|
|
|
#
|
|
|
|
DEFINE SHELL_TYPE = FULL_BIN
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
[BuildOptions]
|
2016-05-05 02:37:45 +02:00
|
|
|
GCC:DEBUG_*_*_CC_FLAGS = -Og -flto
|
|
|
|
GCC:DEBUG_*_*_DLINK_FLAGS = -flto
|
2015-03-31 02:56:01 +02:00
|
|
|
GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
|
|
|
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
|
|
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
|
|
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# SKU Identification section - list of all SKU IDs supported by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[SkuIds]
|
|
|
|
0|DEFAULT
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[LibraryClasses]
|
|
|
|
#
|
|
|
|
# Entry point
|
|
|
|
#
|
|
|
|
PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Basic
|
|
|
|
#
|
2016-05-02 19:22:15 +02:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
|
|
|
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.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
|
|
|
|
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
|
|
|
CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# UEFI & PI
|
|
|
|
#
|
|
|
|
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
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
|
|
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Generic Modules
|
|
|
|
#
|
|
|
|
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
|
|
|
UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
|
|
|
OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
|
|
|
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
|
|
|
SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
|
|
|
GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
|
|
|
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# CPU
|
|
|
|
#
|
|
|
|
MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Platform
|
|
|
|
#
|
|
|
|
TimerLib|CorebootPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf
|
|
|
|
ResetSystemLib|CorebootPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf
|
2015-11-26 09:49:26 +01:00
|
|
|
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
|
|
|
PlatformHookLib|CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
PlatformBdsLib|CorebootPayloadPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Misc
|
|
|
|
#
|
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
|
|
|
PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
|
|
|
|
DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
|
|
|
|
!else
|
|
|
|
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
!endif
|
|
|
|
CbParseLib|CorebootModulePkg/Library/CbParseLib/CbParseLib.inf
|
|
|
|
DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
|
|
|
LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
|
|
|
|
|
|
|
|
[LibraryClasses.IA32.SEC]
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
|
|
|
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
|
|
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
|
|
|
|
|
|
|
[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]
|
|
|
|
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
|
|
|
!if $(SOURCE_DEBUG_ENABLE)
|
|
|
|
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
|
|
|
!endif
|
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_CORE]
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
|
|
|
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
!if $(SOURCE_DEBUG_ENABLE)
|
|
|
|
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
!endif
|
2015-03-31 02:56:01 +02:00
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
|
|
|
|
2016-05-02 19:22:15 +02:00
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
2015-03-31 02:56:01 +02:00
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
|
|
|
CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
[LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[PcdsFeatureFlag]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
|
|
|
|
|
|
|
|
[PcdsFixedAtBuild]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
|
2016-05-02 19:22:15 +02:00
|
|
|
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
2015-04-10 04:41:49 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
|
2015-03-31 02:56:01 +02:00
|
|
|
|
|
|
|
!if $(SOURCE_DEBUG_ENABLE)
|
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
|
|
|
|
!endif
|
|
|
|
|
2015-11-26 09:49:26 +01:00
|
|
|
[PcdsPatchableInModule.common]
|
2016-05-05 02:38:00 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7
|
|
|
|
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
|
|
|
!if $(SOURCE_DEBUG_ENABLE)
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
|
|
|
!else
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
|
|
|
!endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following parameters are set by Library/PlatformHookLib
|
|
|
|
#
|
2015-11-26 09:49:26 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE
|
2016-05-05 02:38:00 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1
|
|
|
|
|
|
|
|
#
|
|
|
|
# Enable these parameters to be set on the command line
|
|
|
|
#
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)
|
|
|
|
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)
|
2015-11-26 09:49:26 +01:00
|
|
|
|
2016-05-05 02:38:17 +02:00
|
|
|
gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[PcdsDynamicDefault]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of all EDK II Modules needed by this Platform.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Components.IA32]
|
|
|
|
#
|
|
|
|
# SEC Core
|
|
|
|
#
|
|
|
|
CorebootModulePkg/SecCore/SecCore.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# PEI Core
|
|
|
|
#
|
|
|
|
MdeModulePkg/Core/Pei/PeiMain.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# PEIM
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
}
|
|
|
|
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
|
|
|
CorebootModulePkg/CbSupportPei/CbSupportPei.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
|
|
|
|
|
|
|
[Components.X64]
|
|
|
|
#
|
|
|
|
# DXE Core
|
|
|
|
#
|
|
|
|
MdeModulePkg/Core/Dxe/DxeMain.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
|
|
|
}
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Components that produce the architectural protocols
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
|
|
|
UefiCpuPkg/CpuDxe/CpuDxe.inf
|
|
|
|
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
|
|
|
PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
|
|
|
MdeModulePkg/Universal/Metronome/Metronome.inf
|
|
|
|
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
|
|
|
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
|
|
|
|
PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
2016-05-02 19:22:15 +02:00
|
|
|
# Following are the DXE drivers
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
}
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
|
|
|
|
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
|
|
|
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
|
|
|
MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
|
|
|
CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# SMBIOS Support
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# ACPI Support
|
|
|
|
#
|
2016-05-02 19:22:15 +02:00
|
|
|
MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# PCI Support
|
2016-05-02 19:22:15 +02:00
|
|
|
#
|
2016-05-02 21:59:17 +02:00
|
|
|
CorebootModulePkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
|
|
|
|
CorebootModulePkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
|
2016-05-05 02:38:55 +02:00
|
|
|
CorebootModulePkg/PciSioSerialDxe/PciSioSerialDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# SCSI/ATA/IDE/DISK Support
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
2016-04-06 17:14:55 +02:00
|
|
|
FatPkg/EnhancedFatDxe/Fat.inf
|
2016-05-02 21:59:17 +02:00
|
|
|
CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
2015-03-31 02:56:01 +02:00
|
|
|
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Usb Support
|
|
|
|
#
|
|
|
|
MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
|
|
|
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
|
|
|
MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# ISA Support
|
|
|
|
#
|
2016-05-05 02:38:55 +02:00
|
|
|
CorebootModulePkg/SerialDxe/SerialDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
# Console Support
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
2016-05-02 19:22:15 +02:00
|
|
|
|
|
|
|
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
2016-05-02 19:22:15 +02:00
|
|
|
# Framebuffer Gop
|
2015-03-31 02:56:01 +02:00
|
|
|
#
|
|
|
|
CorebootPayloadPkg/FbGop/FbGop.inf
|
2016-05-05 02:37:45 +02:00
|
|
|
|
|
|
|
#------------------------------
|
|
|
|
# Build the shell
|
|
|
|
#------------------------------
|
|
|
|
|
|
|
|
!if $(SHELL_TYPE) == BUILD_SHELL
|
|
|
|
|
|
|
|
[PcdsFixedAtBuild]
|
|
|
|
## This flag is used to control initialization of the shell library
|
|
|
|
# This should be FALSE for compiling the shell application itself only.
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
|
|
|
|
#
|
|
|
|
# Shell Lib
|
|
|
|
#
|
|
|
|
[LibraryClasses]
|
|
|
|
BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
|
|
|
|
[Components.X64]
|
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
|
|
|
|
|
|
|
#------------------------------
|
|
|
|
# Basic commands
|
|
|
|
#------------------------------
|
|
|
|
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
|
|
|
|
|
|
|
#------------------------------
|
|
|
|
# Networking commands
|
|
|
|
#------------------------------
|
|
|
|
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
|
|
|
|
|
|
|
|
#------------------------------
|
|
|
|
# Performance command
|
|
|
|
#------------------------------
|
|
|
|
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
|
|
|
|
|
|
|
|
#------------------------------
|
|
|
|
# Support libraries
|
|
|
|
#------------------------------
|
|
|
|
|
|
|
|
<LibraryClasses>
|
|
|
|
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
|
|
|
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
|
|
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
|
|
|
ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
|
|
|
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
|
|
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
|
|
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
|
|
|
}
|
|
|
|
|
|
|
|
!endif
|