]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/Library/XenHypercallLib/ArmXenHypercall.c
OvmfPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / OvmfPkg / Library / XenHypercallLib / ArmXenHypercall.c
1 /** @file
2 Xen Hypercall Library implementation for ARM architecture
3
4 Copyright (C) 2015, Red Hat, Inc.
5 Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
6
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8 **/
9
10 #include <Base.h>
11
12 /**
13 Check if the Xen Hypercall library is able to make calls to the Xen
14 hypervisor.
15
16 Client code should call further functions in this library only if, and after,
17 this function returns TRUE.
18
19 @retval TRUE Hypercalls are available.
20 @retval FALSE Hypercalls are not available.
21 **/
22 BOOLEAN
23 EFIAPI
24 XenHypercallIsAvailable (
25 VOID
26 )
27 {
28 return TRUE;
29 }
30
31 RETURN_STATUS
32 EFIAPI
33 XenHypercallLibInit (
34 VOID
35 )
36 {
37 return RETURN_SUCCESS;
38 }