TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmXenHypercall.c File Reference
#include <Base.h>

Go to the source code of this file.

Functions

BOOLEAN EFIAPI XenHypercallIsAvailable (VOID)
 
RETURN_STATUS EFIAPI XenHypercallLibInit (VOID)
 

Detailed Description

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.

Function Documentation

◆ XenHypercallIsAvailable()

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.

Return values
TRUEHypercalls are available.
FALSEHypercalls are not available.

Definition at line 24 of file ArmXenHypercall.c.

◆ XenHypercallLibInit()

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.