\r
Copyright (C) 2014, Citrix Ltd.\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this 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,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#ifndef __XEN_HYPERCALL_LIB_H__\r
#define __XEN_HYPERCALL_LIB_H__\r
\r
+/**\r
+ To call when the gEfiXenInfoGuid HOB became available after the library init\r
+ function has already been executed.\r
+\r
+ This allow to make hypercall in the PEIM stage.\r
+**/\r
+RETURN_STATUS\r
+EFIAPI\r
+XenHypercallLibInit (\r
+ VOID\r
+ );\r
+\r
/**\r
Check if the Xen Hypercall library is able to make calls to the Xen\r
hypervisor.\r
UINT64\r
EFIAPI\r
XenHypercallHvmGetParam (\r
- UINT32 Index\r
+ UINT32 Index\r
);\r
\r
/**\r
INTN\r
EFIAPI\r
XenHypercallMemoryOp (\r
- IN UINTN Operation,\r
- IN OUT VOID *Arguments\r
+ IN UINTN Operation,\r
+ IN OUT VOID *Arguments\r
);\r
\r
/**\r
INTN\r
EFIAPI\r
XenHypercallEventChannelOp (\r
- IN INTN Operation,\r
- IN OUT VOID *Arguments\r
+ IN INTN Operation,\r
+ IN OUT VOID *Arguments\r
);\r
\r
#endif\r