Copyright (C) 2015, Red Hat, Inc.\r
Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>\r
\r
- This program and the accompanying materials are licensed and made available\r
- under the terms and conditions of the BSD License that accompanies this\r
- distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
- WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
\r
#include <Base.h>\r
\r
+/**\r
+ Check if the Xen Hypercall library is able to make calls to the Xen\r
+ hypervisor.\r
+\r
+ Client code should call further functions in this library only if, and after,\r
+ this function returns TRUE.\r
+\r
+ @retval TRUE Hypercalls are available.\r
+ @retval FALSE Hypercalls are not available.\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+XenHypercallIsAvailable (\r
+ VOID\r
+ )\r
+{\r
+ return TRUE;\r
+}\r
+\r
RETURN_STATUS\r
EFIAPI\r
XenHypercallLibInit (\r