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