Files
system76-edk2/OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
Anthony PERARD f496443eb3 OvmfPkg/Library/XenPlatformLib: New library
The purpose of XenPlatformLib is to regroup the few functions that are
used in several places to detect if Xen is detected, and to get the
XenInfo HOB.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190813113119.14804-14-anthony.perard@citrix.com>
2019-08-21 18:03:49 +02:00

34 lines
750 B
INI

## @file
# Get information about Xen
#
# This library simply allow to find out if OVMF is running under Xen and
# allow to get more information when it is the case.
#
# Copyright (c) 2019, Citrix Systems, Inc.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = XenPlatformLib
FILE_GUID = DB54DBB7-8142-4EE5-9364-78C824B582EB
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = XenPlatformLib
[Sources]
XenPlatformLib.c
[Packages]
MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
HobLib
[Guids]
gEfiXenInfoGuid