oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +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.
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 3 | #
|
Olivier Martin | febad02 | 2014-08-20 11:38:45 +0000 | [diff] [blame] | 4 | # This program and the accompanying materials
|
| 5 | # are licensed and made available under the terms and conditions of the BSD License
|
| 6 | # which accompanies this distribution. The full text of the license may be found at
|
| 7 | # http://opensource.org/licenses/bsd-license.php
|
| 8 | #
|
| 9 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 10 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 11 | #
|
| 12 | #
|
| 13 | ################################################################################
|
| 14 | #
|
| 15 | # Defines Section - statements that will be processed to create a Makefile.
|
| 16 | #
|
| 17 | ################################################################################
|
| 18 | [Defines]
|
| 19 | PLATFORM_NAME = ArmPlatform
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 20 | PLATFORM_GUID = 4fe82b83-9315-4ff3-8cc0-ab77ca93cb7f
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 21 | PLATFORM_VERSION = 0.1
|
| 22 | DSC_SPECIFICATION = 0x00010005
|
| 23 | OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
|
Harry Liebel | 1bc8326 | 2013-07-18 19:06:52 +0000 | [diff] [blame] | 24 | SUPPORTED_ARCHITECTURES = ARM|AARCH64
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 25 | BUILD_TARGETS = DEBUG|RELEASE
|
| 26 | SKUID_IDENTIFIER = DEFAULT
|
| 27 | FLASH_DEFINITION = ArmPlatformPkg/ArmPlatformPkg.fdf
|
| 28 |
|
| 29 | [LibraryClasses.common]
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 30 | ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
|
| 31 |
|
| 32 | !if $(TARGET) == RELEASE
|
| 33 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 34 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
| 35 | !else
|
| 36 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
| 37 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
| 38 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
|
| 39 | !endif
|
| 40 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 41 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 42 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 43 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
| 44 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
| 45 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 46 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 47 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
| 48 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
| 49 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 50 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
| 51 |
|
| 52 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
| 53 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
| 54 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
| 55 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
| 56 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
| 57 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
| 58 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
| 59 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
| 60 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 61 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 62 |
|
| 63 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
| 64 |
|
| 65 | #
|
| 66 | # Assume everything is fixed at build
|
| 67 | #
|
| 68 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 69 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 70 | # 1/123 faster than Stm or Vstm version
|
| 71 | #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
| 72 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
|
| 73 |
|
| 74 | # ARM Architectural Libraries
|
| 75 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
| 76 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
oliviermartin | 793ae6e | 2012-03-15 16:03:41 +0000 | [diff] [blame] | 77 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 78 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
| 79 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
Olivier Martin | 017baa1 | 2013-10-29 06:36:34 +0000 | [diff] [blame] | 80 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
|
Ard Biesheuvel | 8d13298 | 2015-07-28 20:44:44 +0000 | [diff] [blame] | 81 | ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
|
oliviermartin | bc87b50 | 2013-03-12 00:56:37 +0000 | [diff] [blame] | 82 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 83 |
|
| 84 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
| 85 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
| 86 | EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
|
| 87 | RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
|
| 88 |
|
Ronald Cron | 8bf4ad4 | 2014-07-15 09:25:57 +0000 | [diff] [blame] | 89 | # Networking Requirements for ArmPlatformPkg/Bds
|
| 90 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
| 91 |
|
Ronald Cron | 0ead5ec | 2015-07-14 14:32:24 +0000 | [diff] [blame] | 92 | # These libraries are used by the dynamic EFI Shell commands
|
| 93 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
| 94 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
| 95 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
| 96 |
|
Ronald Cron | 8bf4ad4 | 2014-07-15 09:25:57 +0000 | [diff] [blame] | 97 | # EBL Related Libraries
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 98 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf
|
| 99 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
|
| 100 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
|
| 101 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
|
Ronald Cron | 8bf4ad4 | 2014-07-15 09:25:57 +0000 | [diff] [blame] | 102 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 103 | #
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 104 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 105 | # in the debugger will show load and unload commands for symbols. You can cut and paste this
|
| 106 | # into the command window to load symbols. We should be able to use a script to do this, but
|
| 107 | # the version of RVD I have does not support scripts accessing system memory.
|
| 108 | #
|
| 109 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
|
| 110 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
| 111 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 112 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 113 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
| 114 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
|
| 115 |
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 116 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 117 |
|
| 118 | # BDS Libraries
|
| 119 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
oliviermartin | fa4a706 | 2012-09-27 16:53:57 +0000 | [diff] [blame] | 120 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 121 |
|
Harry Liebel | 1bc8326 | 2013-07-18 19:06:52 +0000 | [diff] [blame] | 122 | [LibraryClasses.ARM]
|
| 123 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
|
| 124 | ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
|
| 125 |
|
| 126 | [LibraryClasses.AARCH64]
|
| 127 | ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
|
| 128 | ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
|
Ard Biesheuvel | 4f6d34b | 2014-09-09 16:10:18 +0000 | [diff] [blame] | 129 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
|
Harry Liebel | 1bc8326 | 2013-07-18 19:06:52 +0000 | [diff] [blame] | 130 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 131 | [LibraryClasses.common.SEC]
|
oliviermartin | e314d56 | 2012-05-02 20:13:32 +0000 | [diff] [blame] | 132 | ArmPlatformSecLib|ArmPlatformPkg/Library/ArmPlatformSecLibNull/ArmPlatformLibNullSec.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 133 | ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf
|
oliviermartin | 8cc852f | 2012-02-28 17:27:15 +0000 | [diff] [blame] | 134 | ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 135 |
|
oliviermartin | c7b7c44 | 2011-12-14 10:39:07 +0000 | [diff] [blame] | 136 | ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 137 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 138 |
|
oliviermartin | 9d6b024 | 2012-09-28 09:52:11 +0000 | [diff] [blame] | 139 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
|
oliviermartin | c3adcc9 | 2013-01-25 12:02:59 +0000 | [diff] [blame] | 140 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 141 |
|
Ard Biesheuvel | e9e9c7e | 2015-07-28 20:44:58 +0000 | [diff] [blame] | 142 | ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
|
| 143 |
|
Ard Biesheuvel | d94a48c | 2015-04-14 11:52:55 +0000 | [diff] [blame] | 144 | [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]
|
| 145 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
|
| 146 |
|
Harry Liebel | 1bc8326 | 2013-07-18 19:06:52 +0000 | [diff] [blame] | 147 | [LibraryClasses.ARM.SEC]
|
| 148 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
|
| 149 |
|
| 150 | [LibraryClasses.AARCH64.SEC]
|
| 151 | ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
|
| 152 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 153 | [LibraryClasses.common.PEI_CORE]
|
| 154 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 155 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 156 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 157 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
| 158 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
|
| 159 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
| 160 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 161 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 162 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 163 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 164 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 165 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
| 166 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 167 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 168 | [LibraryClasses.common.PEIM]
|
| 169 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
| 170 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
| 171 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
| 172 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
| 173 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
|
| 174 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
| 175 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
| 176 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 177 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
|
| 178 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 179 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
| 180 |
|
| 181 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
| 182 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
Ard Biesheuvel | e0a1413 | 2014-09-16 00:56:50 +0000 | [diff] [blame] | 183 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 184 |
|
| 185 | [LibraryClasses.common.DXE_CORE]
|
| 186 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
| 187 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
| 188 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
| 189 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 190 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 191 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
| 192 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 193 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
| 194 |
|
| 195 | [LibraryClasses.common.DXE_DRIVER]
|
| 196 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 197 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
| 198 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
| 199 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 200 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 201 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
|
| 202 |
|
| 203 | [LibraryClasses.common.UEFI_APPLICATION]
|
| 204 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
| 205 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 206 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 207 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 208 |
|
| 209 | [LibraryClasses.common.UEFI_DRIVER]
|
| 210 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 211 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
| 212 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
| 213 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 214 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 215 |
|
| 216 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
| 217 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
| 218 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 219 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
| 220 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
| 221 |
|
Olivier Martin olivier.martin | bd1d062 | 2014-08-20 18:01:50 +0000 | [diff] [blame] | 222 | [LibraryClasses.ARM, LibraryClasses.AARCH64]
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 223 | #
|
| 224 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
| 225 | # This library provides the instrinsic functions generate by a given compiler.
|
| 226 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
| 227 | #
|
| 228 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
| 229 |
|
Olivier Martin olivier.martin | bd1d062 | 2014-08-20 18:01:50 +0000 | [diff] [blame] | 230 | # Add support for GCC stack protector
|
| 231 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
Harry Liebel | 1bc8326 | 2013-07-18 19:06:52 +0000 | [diff] [blame] | 232 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 233 | [BuildOptions]
|
| 234 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
|
| 235 |
|
| 236 | GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
|
| 237 |
|
| 238 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
|
| 239 |
|
| 240 | ################################################################################
|
| 241 | #
|
| 242 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
| 243 | #
|
| 244 | ################################################################################
|
| 245 |
|
| 246 | [PcdsFeatureFlag.common]
|
| 247 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
|
| 248 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
|
| 249 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
|
| 250 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 251 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 252 | #
|
| 253 | # Control what commands are supported from the UI
|
| 254 | # Turn these on and off to add features or save size
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 255 | #
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 256 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
|
| 257 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
|
| 258 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
|
| 259 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
|
| 260 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 261 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
|
| 262 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
|
| 263 |
|
| 264 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 265 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 266 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
|
| 267 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 268 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 269 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 270 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 271 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
| 272 |
|
| 273 | [PcdsFixedAtBuild.common]
|
| 274 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Platform"
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 275 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 276 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmPlatform"
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 277 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
| 278 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
|
| 279 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
|
| 280 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
|
| 281 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
|
| 282 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
|
| 283 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
|
| 284 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
|
| 285 |
|
| 286 | # DEBUG_ASSERT_ENABLED 0x01
|
| 287 | # DEBUG_PRINT_ENABLED 0x02
|
| 288 | # DEBUG_CODE_ENABLED 0x04
|
| 289 | # CLEAR_MEMORY_ENABLED 0x08
|
| 290 | # ASSERT_BREAKPOINT_ENABLED 0x10
|
| 291 | # ASSERT_DEADLOOP_ENABLED 0x20
|
| 292 | !if $(TARGET) == RELEASE
|
| 293 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
| 294 | !else
|
| 295 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
| 296 | !endif
|
| 297 |
|
| 298 | # DEBUG_INIT 0x00000001 // Initialization
|
| 299 | # DEBUG_WARN 0x00000002 // Warnings
|
| 300 | # DEBUG_LOAD 0x00000004 // Load events
|
| 301 | # DEBUG_FS 0x00000008 // EFI File system
|
| 302 | # DEBUG_POOL 0x00000010 // Alloc & Free's
|
| 303 | # DEBUG_PAGE 0x00000020 // Alloc & Free's
|
| 304 | # DEBUG_INFO 0x00000040 // Verbose
|
| 305 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
|
| 306 | # DEBUG_VARIABLE 0x00000100 // Variable
|
| 307 | # DEBUG_BM 0x00000400 // Boot Manager
|
| 308 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
| 309 | # DEBUG_NET 0x00004000 // SNI Driver
|
| 310 | # DEBUG_UNDI 0x00010000 // UNDI Driver
|
| 311 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver
|
| 312 | # DEBUG_EVENT 0x00080000 // Event messages
|
| 313 | # DEBUG_ERROR 0x80000000 // Error
|
| 314 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
|
| 315 |
|
| 316 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
| 317 |
|
| 318 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
|
| 319 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
|
| 320 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 321 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 322 | #
|
| 323 | # Optional feature to help prevent EFI memory map fragments
|
| 324 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 325 | # Values are in EFI Pages (4K). DXE Core will make sure that
|
| 326 | # at least this much of each type of memory can be allocated
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 327 | # from a single memory range. This way you only end up with
|
| 328 | # maximum of two fragements for each type in the memory map
|
| 329 | # (the memory used, and the free memory that was prereserved
|
| 330 | # but not used).
|
| 331 | #
|
| 332 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
|
| 333 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
|
| 334 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
|
| 335 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|50
|
| 336 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|20
|
| 337 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
|
| 338 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
|
| 339 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
|
| 340 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 341 |
|
Ronald Cron | 0ead5ec | 2015-07-14 14:32:24 +0000 | [diff] [blame] | 342 | # We want to use the Shell Libraries but don't want it to initialise
|
| 343 | # automatically. We initialise the libraries when the command is called by the
|
| 344 | # Shell.
|
| 345 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
| 346 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 347 | #
|
| 348 | # ARM Pcds
|
| 349 | #
|
| 350 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 351 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 352 | # Stacks for MPCores in Secure World
|
| 353 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0
|
| 354 | # Stacks for MPCores in Monitor Mode
|
| 355 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0
|
| 356 | # Stacks for MPCores in Normal World
|
| 357 | gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0
|
| 358 |
|
| 359 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0
|
| 360 | gArmTokenSpaceGuid.PcdSystemMemorySize|0
|
| 361 |
|
| 362 | ################################################################################
|
| 363 | #
|
| 364 | # Components Section - list of all EDK II Modules needed by this Platform
|
| 365 | #
|
| 366 | ################################################################################
|
| 367 | [Components.common]
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 368 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 369 | #
|
| 370 | # SEC
|
| 371 | #
|
oliviermartin | f8181c9 | 2012-05-02 20:19:00 +0000 | [diff] [blame] | 372 | ArmPlatformPkg/Sec/Sec.inf {
|
| 373 | <LibraryClasses>
|
| 374 | # Use the implementation which set the Secure bits
|
Olivier Martin | 017baa1 | 2013-10-29 06:36:34 +0000 | [diff] [blame] | 375 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
|
oliviermartin | f8181c9 | 2012-05-02 20:19:00 +0000 | [diff] [blame] | 376 | }
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 377 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 378 | #
|
| 379 | # PEI Phase modules
|
| 380 | #
|
| 381 | ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
|
| 382 | <LibraryClasses>
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 383 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
|
| 384 | }
|
| 385 | MdeModulePkg/Core/Pei/PeiMain.inf
|
| 386 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
| 387 | <LibraryClasses>
|
| 388 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 389 | }
|
| 390 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf
|
| 391 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
|
| 392 | ArmPkg/Drivers/CpuPei/CpuPei.inf
|
| 393 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
|
| 394 | Nt32Pkg/BootModePei/BootModePei.inf
|
| 395 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
| 396 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
|
| 397 | <LibraryClasses>
|
Olivier Martin | 9435a57 | 2015-04-08 19:58:50 +0000 | [diff] [blame] | 398 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 399 | }
|
| 400 |
|
| 401 | #
|
| 402 | # DXE
|
| 403 | #
|
| 404 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
| 405 | <LibraryClasses>
|
| 406 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 407 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
|
| 408 | }
|
| 409 |
|
| 410 | #
|
| 411 | # Architectural Protocols
|
| 412 | #
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 413 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 414 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
| 415 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
| 416 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
| 417 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
oliviermartin | 504d146 | 2011-11-01 23:40:49 +0000 | [diff] [blame] | 418 | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 419 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
|
| 420 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 421 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
| 422 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
| 423 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 424 |
|
oliviermartin | 504d146 | 2011-11-01 23:40:49 +0000 | [diff] [blame] | 425 | # Simple TextIn/TextOut for UEFI Terminal
|
| 426 | EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 427 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 428 | #
|
| 429 | # Semi-hosting filesystem
|
| 430 | #
|
| 431 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 432 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 433 | #
|
| 434 | # FAT filesystem + GPT/MBR partitioning
|
| 435 | #
|
| 436 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
| 437 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 438 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 439 |
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 440 | #
|
| 441 | # Application
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 442 | #
|
oliviermartin | 12fcdcb | 2011-09-27 16:40:46 +0000 | [diff] [blame] | 443 | EmbeddedPkg/Ebl/Ebl.inf
|
| 444 |
|
| 445 | #
|
| 446 | # Bds
|
| 447 | #
|
| 448 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
| 449 | ArmPlatformPkg/Bds/Bds.inf
|
Ronald Cron | 0ead5ec | 2015-07-14 14:32:24 +0000 | [diff] [blame] | 450 |
|
| 451 | # Legacy Linux Loader
|
| 452 | ArmPkg/Application/LinuxLoader/LinuxLoader.inf
|