TianoCore EDK2 master
|
#include <Base.h>
Go to the source code of this file.
Functions | |
BOOLEAN EFIAPI | XenHypercallIsAvailable (VOID) |
RETURN_STATUS EFIAPI | XenHypercallLibInit (VOID) |
Xen Hypercall Library implementation for ARM architecture
Copyright (C) 2015, Red Hat, Inc. Copyright (c) 2014, Linaro Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ArmXenHypercall.c.
BOOLEAN EFIAPI XenHypercallIsAvailable | ( | VOID | ) |
Check if the Xen Hypercall library is able to make calls to the Xen hypervisor.
Client code should call further functions in this library only if, and after, this function returns TRUE.
TRUE | Hypercalls are available. |
FALSE | Hypercalls are not available. |
Definition at line 24 of file ArmXenHypercall.c.
RETURN_STATUS EFIAPI XenHypercallLibInit | ( | VOID | ) |
To call when the gEfiXenInfoGuid HOB became available after the library init function has already been executed.
This allow to make hypercall in the PEIM stage.
Definition at line 33 of file ArmXenHypercall.c.