1## @file
2#  Xen Hypercall abstraction lib for Intel and ARM architectures
3#
4#  Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
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                      = XenHypercallLib
18  FILE_GUID                      = B5EE9A32-CA5A-49A8-82E3-ADA4CCB77C7C
19  MODULE_TYPE                    = BASE
20  VERSION_STRING                 = 1.0
21  CONSTRUCTOR                    = XenHypercallLibInit
22
23[Defines.IA32, Defines.X64]
24  LIBRARY_CLASS                  = XenHypercallLib|DXE_DRIVER UEFI_DRIVER
25
26[Defines.ARM, Defines.AARCH64]
27  LIBRARY_CLASS                  = XenHypercallLib
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64
33#
34
35[Sources.IA32, Sources.X64]
36  X86XenHypercall.c
37
38[Sources.IA32]
39  Ia32/hypercall.nasm
40
41[Sources.X64]
42  X64/hypercall.nasm
43
44[Sources.ARM, Sources.AARCH64]
45  ArmXenHypercall.c
46
47[Sources.ARM]
48  Arm/Hypercall.S
49
50[Sources.AARCH64]
51  Aarch64/Hypercall.S
52
53[Sources]
54  XenHypercall.c
55
56[Packages]
57  MdePkg/MdePkg.dec
58  OvmfPkg/OvmfPkg.dec
59
60[LibraryClasses.IA32, LibraryClasses.X64]
61  BaseLib
62  HobLib
63  DebugLib
64
65[Guids.IA32, Guids.X64]
66  gEfiXenInfoGuid
67