TianoCore EDK2 master
|
#include <Guid/XenInfo.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | XenDetected (VOID) |
BOOLEAN EFIAPI | XenPvhDetected (VOID) |
EFI_XEN_INFO *EFIAPI | XenGetInfoHOB (VOID) |
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
Definition in file XenPlatformLib.h.
BOOLEAN EFIAPI XenDetected | ( | VOID | ) |
This function detects if OVMF is running on Xen.
TRUE | OVMF is running on Xen |
FALSE | Xen has not been detected |
Definition at line 59 of file XenPlatformLib.c.
EFI_XEN_INFO *EFIAPI XenGetInfoHOB | ( | VOID | ) |
This function return a pointer to the XenInfo HOB.
Definition at line 24 of file XenPlatformLib.c.
BOOLEAN EFIAPI XenPvhDetected | ( | VOID | ) |
This function detect if OVMF have started via the PVH entry point.
TRUE | PVH entry point as been used |
FALSE | OVMF have started via the HVM route |
Definition at line 74 of file XenPlatformLib.c.