]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
OvmfPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / OvmfPkg / Library / XenHypercallLib / XenHypercallLib.inf
1 ## @file
2 # Xen Hypercall abstraction lib for Intel and ARM architectures
3 #
4 # Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [Defines]
10 INF_VERSION = 0x00010005
11 BASE_NAME = XenHypercallLib
12 FILE_GUID = B5EE9A32-CA5A-49A8-82E3-ADA4CCB77C7C
13 MODULE_TYPE = BASE
14 VERSION_STRING = 1.0
15 CONSTRUCTOR = XenHypercallLibInit
16
17 [Defines.IA32, Defines.X64]
18 LIBRARY_CLASS = XenHypercallLib|DXE_DRIVER UEFI_DRIVER
19
20 [Defines.ARM, Defines.AARCH64]
21 LIBRARY_CLASS = XenHypercallLib
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
27 #
28
29 [Sources.IA32, Sources.X64]
30 X86XenHypercall.c
31
32 [Sources.IA32]
33 Ia32/hypercall.nasm
34
35 [Sources.X64]
36 X64/hypercall.nasm
37
38 [Sources.ARM, Sources.AARCH64]
39 ArmXenHypercall.c
40
41 [Sources.ARM]
42 Arm/Hypercall.S
43
44 [Sources.AARCH64]
45 Aarch64/Hypercall.S
46
47 [Sources]
48 XenHypercall.c
49
50 [Packages]
51 MdePkg/MdePkg.dec
52 OvmfPkg/OvmfPkg.dec
53
54 [LibraryClasses.IA32, LibraryClasses.X64]
55 BaseLib
56 HobLib
57 DebugLib
58
59 [Guids.IA32, Guids.X64]
60 gEfiXenInfoGuid
61
62 [BuildOptions.ARM]
63 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15