1#/* @file
2#  Copyright (c) 2011-2015, 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                      = ArmXenRelocatablePlatformLib
18  FILE_GUID                      = c8602718-4faa-4119-90ca-cae72509ac4c
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  ArmLib
34  PrintLib
35  FdtLib
36
37[Sources.common]
38  RelocatableVirt.c
39  XenVirtMem.c
40  FdtParser.c
41
42[Sources.AARCH64]
43  AARCH64/RelocatableVirtHelper.S
44
45[Sources.ARM]
46  ARM/RelocatableVirtHelper.S
47
48[FeaturePcd]
49  gEmbeddedTokenSpaceGuid.PcdCacheEnable
50  gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec
51
52[PatchPcd]
53  gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
54  gArmTokenSpaceGuid.PcdFdBaseAddress
55  gArmTokenSpaceGuid.PcdFvBaseAddress
56  gArmTokenSpaceGuid.PcdSystemMemoryBase
57  gArmTokenSpaceGuid.PcdSystemMemorySize
58
59[FixedPcd]
60  gArmPlatformTokenSpaceGuid.PcdCoreCount
61  gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
62  gArmTokenSpaceGuid.PcdArmPrimaryCore
63  gArmTokenSpaceGuid.PcdFdSize
64