1 #/* @file 2 # Copyright (c) 2011-2014, ARM Limited. All rights reserved. 3 # Copyright (c) 2014, Linaro Limited. All rights reserved. 4 # 5 # This program and the accompanying materials 6 # are licensed and made available under the terms and conditions of the BSD License 7 # which accompanies this distribution. The full text of the license may be found at 8 # http://opensource.org/licenses/bsd-license.php 9 # 10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 # 13 #*/ 14 15 [Defines] 16 INF_VERSION = 0x00010005 17 BASE_NAME = ArmVirtPlatformLib 18 FILE_GUID = 00214cc1-06d1-45fe-9700-dca5726ad7bf 19 MODULE_TYPE = BASE 20 VERSION_STRING = 1.0 21 LIBRARY_CLASS = ArmPlatformLib|SEC PEIM 22 23 [Packages] 24 MdePkg/MdePkg.dec 25 MdeModulePkg/MdeModulePkg.dec 26 EmbeddedPkg/EmbeddedPkg.dec 27 ArmPkg/ArmPkg.dec 28 ArmPlatformPkg/ArmPlatformPkg.dec 29 ArmVirtPkg/ArmVirtPkg.dec 30 31 [LibraryClasses] 32 IoLib 33 MemoryAllocationLib 34 ArmLib 35 PrintLib 36 FdtLib 37 38 [Sources.common] 39 Virt.c 40 VirtMem.c 41 42 [Sources.AARCH64] 43 AARCH64/VirtHelper.S 44 45 [Sources.ARM] 46 ARM/VirtHelper.S | GCC 47 ARM/VirtHelper.asm | RVCT 48 49 [FeaturePcd] 50 gEmbeddedTokenSpaceGuid.PcdCacheEnable 51 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec 52 53 [Pcd] 54 gArmTokenSpaceGuid.PcdSystemMemorySize 55 56 [FixedPcd] 57 gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress 58 gArmPlatformTokenSpaceGuid.PcdCoreCount 59 gArmTokenSpaceGuid.PcdSystemMemoryBase 60 gArmTokenSpaceGuid.PcdArmPrimaryCoreMask 61 gArmTokenSpaceGuid.PcdArmPrimaryCore 62 gArmTokenSpaceGuid.PcdFdBaseAddress 63 gArmTokenSpaceGuid.PcdFdSize 64 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize 65