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