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 This program and the accompanying materials are licensed and made available
8 under the terms and conditions of the BSD License that accompanies this
9 distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
13 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 **/
15
16 #include <Base.h>
17
18 /**
19 Check if the Xen Hypercall library is able to make calls to the Xen
20 hypervisor.
21
22 Client code should call further functions in this library only if, and after,
23 this function returns TRUE.
24
25 @retval TRUE Hypercalls are available.
26 @retval FALSE Hypercalls are not available.
27 **/
28 BOOLEAN
29 EFIAPI
XenHypercallIsAvailable(VOID)30 XenHypercallIsAvailable (
31 VOID
32 )
33 {
34 return TRUE;
35 }
36
37 RETURN_STATUS
38 EFIAPI
XenHypercallLibInit(VOID)39 XenHypercallLibInit (
40 VOID
41 )
42 {
43 return RETURN_SUCCESS;
44 }
45