Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 1 | #
|
Ronald Cron | 04f1a70 | 2015-02-26 10:54:39 +0000 | [diff] [blame] | 2 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 3 | # Copyright (c) 2014, Linaro Limited. All rights reserved.
|
Star Zeng | 31c0338 | 2015-07-01 03:07:02 +0000 | [diff] [blame] | 4 | # Copyright (c) 2015, Intel Corporation. All rights reserved.
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 5 | #
|
| 6 | # This program and the accompanying materials
|
| 7 | # are licensed and made available under the terms and conditions of the BSD License
|
| 8 | # which accompanies this distribution. The full text of the license may be found at
|
| 9 | # http://opensource.org/licenses/bsd-license.php
|
| 10 | #
|
| 11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 13 | #
|
| 14 | #
|
| 15 |
|
Laszlo Ersek | d301991 | 2015-03-02 16:19:41 +0000 | [diff] [blame] | 16 | [Defines]
|
| 17 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
|
Laszlo Ersek | a51c169 | 2015-07-09 06:24:25 +0000 | [diff] [blame^] | 18 | DEFINE TTY_TERMINAL = FALSE
|
Laszlo Ersek | d301991 | 2015-03-02 16:19:41 +0000 | [diff] [blame] | 19 |
|
Ard Biesheuvel | 093b7c8 | 2015-07-06 15:58:00 +0000 | [diff] [blame] | 20 | [BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
|
Olivier Martin | e109e3f | 2015-07-07 15:49:16 +0000 | [diff] [blame] | 21 | GCC:*_*_AARCH64_DLINK_FLAGS = --script=$(EDK_TOOLS_PATH)/Scripts/gcc-aarch64-64K-align-ld-script
|
Ard Biesheuvel | 093b7c8 | 2015-07-06 15:58:00 +0000 | [diff] [blame] | 22 |
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 23 | [LibraryClasses.common]
|
| 24 | !if $(TARGET) == RELEASE
|
| 25 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 26 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
| 27 | !else
|
| 28 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
| 29 | UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
|
| 30 | !endif
|
| 31 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
| 32 |
|
| 33 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 34 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
| 35 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
| 36 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 37 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 38 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
| 39 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
| 40 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 41 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
| 42 |
|
| 43 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 44 | HobLib|ArmVirtPkg/Library/ArmVirtDxeHobLib/ArmVirtDxeHobLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 45 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
| 46 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
| 47 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
| 48 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
| 49 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
| 50 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
| 51 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 52 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
| 53 |
|
| 54 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
Laszlo Ersek | 1c5adbe | 2015-02-02 19:09:07 +0000 | [diff] [blame] | 55 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 56 |
|
| 57 | #
|
| 58 | # Allow dynamic PCDs
|
| 59 | #
|
| 60 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
| 61 |
|
| 62 | # 1/123 faster than Stm or Vstm version
|
| 63 | #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
| 64 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
|
| 65 |
|
| 66 | # Networking Requirements
|
| 67 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
| 68 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
|
| 69 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
|
| 70 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
|
| 71 |
|
| 72 | # ARM Architectural Libraries
|
| 73 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
| 74 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
| 75 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
| 76 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
| 77 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
| 78 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
| 79 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
|
| 80 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
| 81 | ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
|
| 82 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
|
| 83 |
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 84 | PlatformPeiLib|ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
|
| 85 | MemoryInitPeiLib|ArmVirtPkg/Library/ArmVirtMemoryInitPeiLib/ArmVirtMemoryInitPeiLib.inf
|
| 86 | EfiResetSystemLib|ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 87 |
|
| 88 | # ARM PL031 RTC Driver
|
| 89 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
|
| 90 | # ARM PL011 UART Driver
|
| 91 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 92 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 93 | SerialPortExtLib|EmbeddedPkg/Library/SerialPortExtLibNull/SerialPortExtLibNull.inf
|
| 94 |
|
| 95 | #
|
| 96 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
|
| 97 | # in the debugger will show load and unload commands for symbols. You can cut and paste this
|
| 98 | # into the command window to load symbols. We should be able to use a script to do this, but
|
| 99 | # the version of RVD I have does not support scripts accessing system memory.
|
| 100 | #
|
| 101 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
|
| 102 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
| 103 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
| 104 |
|
| 105 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
| 106 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
|
| 107 |
|
| 108 | # BDS Libraries
|
| 109 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
| 110 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
| 111 |
|
Laszlo Ersek | 10233c9 | 2015-02-23 16:04:11 +0000 | [diff] [blame] | 112 | # PCI Libraries
|
| 113 | PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 114 | PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
|
Laszlo Ersek | 10233c9 | 2015-02-23 16:04:11 +0000 | [diff] [blame] | 115 |
|
Laszlo Ersek | e17b1db | 2015-02-23 16:04:30 +0000 | [diff] [blame] | 116 | # USB Libraries
|
| 117 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
| 118 |
|
Ard Biesheuvel | 6abe83c | 2015-02-28 20:34:26 +0000 | [diff] [blame] | 119 | XenIoMmioLib|OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.inf
|
| 120 |
|
Ard Biesheuvel | 80f882a | 2015-05-07 15:22:31 +0000 | [diff] [blame] | 121 | #
|
| 122 | # Secure Boot dependencies
|
| 123 | #
|
| 124 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 125 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
| 126 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
|
| 127 | TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
|
Star Zeng | 31c0338 | 2015-07-01 03:07:02 +0000 | [diff] [blame] | 128 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
|
Ard Biesheuvel | 80f882a | 2015-05-07 15:22:31 +0000 | [diff] [blame] | 129 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
| 130 |
|
| 131 | # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
|
| 132 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
|
Star Zeng | 31c0338 | 2015-07-01 03:07:02 +0000 | [diff] [blame] | 133 | !else
|
| 134 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
|
| 135 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
Ard Biesheuvel | 80f882a | 2015-05-07 15:22:31 +0000 | [diff] [blame] | 136 | !endif
|
| 137 |
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 138 | [LibraryClasses.common.SEC]
|
| 139 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 140 | ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
| 141 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
|
| 142 |
|
| 143 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
|
| 144 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 145 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 146 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 147 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 148 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
| 149 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 150 |
|
| 151 | [LibraryClasses.common.PEI_CORE]
|
| 152 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
| 153 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 154 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 155 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 156 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
| 157 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
|
| 158 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
| 159 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 160 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 161 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 162 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
| 163 |
|
| 164 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
| 165 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 166 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 167 |
|
| 168 | [LibraryClasses.common.PEIM]
|
| 169 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
| 170 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 171 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 172 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 173 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
| 174 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
|
| 175 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
| 176 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 177 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 178 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
|
| 179 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 180 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
| 181 |
|
| 182 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
| 183 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
Olivier Martin | 7fbd1eb | 2015-05-29 13:50:43 +0000 | [diff] [blame] | 184 | SerialPortLib|ArmVirtPkg/Library/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.inf
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 185 |
|
| 186 | [LibraryClasses.common.DXE_CORE]
|
| 187 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
| 188 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
| 189 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
| 190 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 191 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 192 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 193 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 194 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
| 195 |
|
| 196 | [LibraryClasses.common.DXE_DRIVER]
|
| 197 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 198 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 199 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
| 200 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 201 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 202 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
|
| 203 |
|
| 204 | [LibraryClasses.common.UEFI_APPLICATION]
|
| 205 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
| 206 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 207 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 208 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 209 |
|
| 210 | [LibraryClasses.common.UEFI_DRIVER]
|
| 211 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 212 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
| 213 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 214 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 215 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 216 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 217 |
|
| 218 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
| 219 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 220 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 221 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
| 222 |
|
Ard Biesheuvel | 80f882a | 2015-05-07 15:22:31 +0000 | [diff] [blame] | 223 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 224 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
|
| 225 | !endif
|
| 226 |
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 227 | [LibraryClasses.ARM]
|
| 228 | #
|
| 229 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
| 230 | # This library provides the instrinsic functions generate by a given compiler.
|
| 231 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
| 232 | #
|
| 233 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
| 234 |
|
| 235 | # Add support for GCC stack protector
|
| 236 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
| 237 |
|
| 238 | [LibraryClasses.AARCH64]
|
| 239 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
| 240 |
|
| 241 |
|
| 242 | [BuildOptions]
|
| 243 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
| 244 |
|
| 245 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
| 246 |
|
| 247 | ################################################################################
|
| 248 | #
|
| 249 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
| 250 | #
|
| 251 | ################################################################################
|
| 252 |
|
| 253 | [PcdsFeatureFlag.common]
|
| 254 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
|
| 255 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
|
| 256 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
|
| 257 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
|
| 258 |
|
| 259 | #
|
| 260 | # Control what commands are supported from the UI
|
| 261 | # Turn these on and off to add features or save size
|
| 262 | #
|
| 263 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
|
| 264 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
|
| 265 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
|
| 266 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
|
| 267 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
|
| 268 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
|
| 269 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
|
| 270 |
|
| 271 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
|
| 272 |
|
| 273 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
|
| 274 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
|
| 275 |
|
| 276 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
|
| 277 |
|
| 278 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
| 279 |
|
| 280 | [PcdsFixedAtBuild.common]
|
| 281 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Virtualization Platform"
|
| 282 |
|
| 283 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
| 284 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
|
| 285 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
|
| 286 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
|
| 287 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
|
| 288 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
|
| 289 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
|
| 290 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
|
| 291 |
|
| 292 | # DEBUG_ASSERT_ENABLED 0x01
|
| 293 | # DEBUG_PRINT_ENABLED 0x02
|
| 294 | # DEBUG_CODE_ENABLED 0x04
|
| 295 | # CLEAR_MEMORY_ENABLED 0x08
|
| 296 | # ASSERT_BREAKPOINT_ENABLED 0x10
|
| 297 | # ASSERT_DEADLOOP_ENABLED 0x20
|
| 298 | !if $(TARGET) == RELEASE
|
| 299 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
| 300 | !else
|
| 301 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
| 302 | !endif
|
| 303 |
|
| 304 | # DEBUG_INIT 0x00000001 // Initialization
|
| 305 | # DEBUG_WARN 0x00000002 // Warnings
|
| 306 | # DEBUG_LOAD 0x00000004 // Load events
|
| 307 | # DEBUG_FS 0x00000008 // EFI File system
|
| 308 | # DEBUG_POOL 0x00000010 // Alloc & Free's
|
| 309 | # DEBUG_PAGE 0x00000020 // Alloc & Free's
|
Laszlo Ersek | d301991 | 2015-03-02 16:19:41 +0000 | [diff] [blame] | 310 | # DEBUG_INFO 0x00000040 // Informational debug messages
|
| 311 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 312 | # DEBUG_VARIABLE 0x00000100 // Variable
|
| 313 | # DEBUG_BM 0x00000400 // Boot Manager
|
| 314 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
| 315 | # DEBUG_NET 0x00004000 // SNI Driver
|
| 316 | # DEBUG_UNDI 0x00010000 // UNDI Driver
|
| 317 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver
|
| 318 | # DEBUG_EVENT 0x00080000 // Event messages
|
| 319 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
| 320 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
Laszlo Ersek | d301991 | 2015-03-02 16:19:41 +0000 | [diff] [blame] | 321 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
| 322 | # // significantly impact boot performance
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 323 | # DEBUG_ERROR 0x80000000 // Error
|
Laszlo Ersek | d301991 | 2015-03-02 16:19:41 +0000 | [diff] [blame] | 324 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 325 |
|
| 326 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
| 327 |
|
| 328 | #
|
| 329 | # Optional feature to help prevent EFI memory map fragments
|
| 330 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
|
| 331 | # Values are in EFI Pages (4K). DXE Core will make sure that
|
| 332 | # at least this much of each type of memory can be allocated
|
| 333 | # from a single memory range. This way you only end up with
|
| 334 | # maximum of two fragements for each type in the memory map
|
| 335 | # (the memory used, and the free memory that was prereserved
|
| 336 | # but not used).
|
| 337 | #
|
| 338 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
|
| 339 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
|
| 340 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
|
Ard Biesheuvel | e0bb8ad | 2015-06-16 14:27:18 +0000 | [diff] [blame] | 341 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 342 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
|
| 343 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
|
| 344 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
|
| 345 | !else
|
Ard Biesheuvel | c199315 | 2015-06-03 16:11:47 +0000 | [diff] [blame] | 346 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
|
| 347 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
|
| 348 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
|
Ard Biesheuvel | e0bb8ad | 2015-06-16 14:27:18 +0000 | [diff] [blame] | 349 | !endif
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 350 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
|
| 351 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
|
| 352 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
|
| 353 |
|
| 354 | #
|
| 355 | # ARM Pcds
|
| 356 | #
|
| 357 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
|
| 358 |
|
Ard Biesheuvel | 80f882a | 2015-05-07 15:22:31 +0000 | [diff] [blame] | 359 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
| 360 | # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
|
| 361 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
|
| 362 | gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
|
| 363 | gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
|
| 364 | !endif
|
| 365 |
|
Laszlo Ersek | a51c169 | 2015-07-09 06:24:25 +0000 | [diff] [blame^] | 366 | !if $(TTY_TERMINAL) == TRUE
|
| 367 | # Set terminal type to TtyTerm, the value encoded is EFI_TTY_TERM_GUID
|
| 368 | gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x80, 0x6d, 0x91, 0x7d, 0xb1, 0x5b, 0x8c, 0x45, 0xa4, 0x8f, 0xe2, 0x5f, 0xdd, 0x51, 0xef, 0x94}
|
| 369 | !endif
|
| 370 |
|
Michael Casadevall | 6f5872b | 2014-09-18 18:11:24 +0000 | [diff] [blame] | 371 | [Components.common]
|
| 372 | #
|
| 373 | # Networking stack
|
| 374 | #
|
| 375 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
|
| 376 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
|
| 377 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|
| 378 | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
|
| 379 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
|
| 380 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
|
| 381 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
|
| 382 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
|
| 383 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
|
| 384 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
|
| 385 | MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
|
| 386 | MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
|
Laszlo Ersek | da1ce6f | 2015-03-16 19:56:54 +0000 | [diff] [blame] | 387 |
|
| 388 | #
|
| 389 | # UEFI application (Shell Embedded Boot Loader)
|
| 390 | #
|
| 391 | ShellPkg/Application/Shell/Shell.inf {
|
| 392 | <LibraryClasses>
|
| 393 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
| 394 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
| 395 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
| 396 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
| 397 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
| 398 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
| 399 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
| 400 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
| 401 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
| 402 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
| 403 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
| 404 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
| 405 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 406 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
|
| 407 |
|
| 408 | <PcdsFixedAtBuild>
|
| 409 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
| 410 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
| 411 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
|
| 412 | }
|