VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/OvmfPkg/Library/XenHypercallLib/ArmXenHypercall.c@ 77662

Last change on this file since 77662 was 77662, checked in by vboxsync, 6 years ago

EFI: First step in UDK2018 merge. Does not build yet.

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
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**/
28BOOLEAN
29EFIAPI
30XenHypercallIsAvailable (
31 VOID
32 )
33{
34 return TRUE;
35}
36
37RETURN_STATUS
38EFIAPI
39XenHypercallLibInit (
40 VOID
41 )
42{
43 return RETURN_SUCCESS;
44}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette