OvmfPkg/XenHypercallLib: Add EFIAPI

Because EFIAPI is necessary for functions declared in library class header
files.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Build-tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Anthony PERARD 2016-12-06 12:03:24 +00:00 committed by Laszlo Ersek
parent 919278054f
commit 6ad157c3fa
2 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,7 @@ XenHypercall2 (
@return The value of the asked parameter or 0 in case of error.
**/
UINT64
EFIAPI
XenHypercallHvmGetParam (
UINT32 Index
);
@ -72,6 +73,7 @@ XenHypercallHvmGetParam (
otherwise, an error code.
**/
INTN
EFIAPI
XenHypercallMemoryOp (
IN UINTN Operation,
IN OUT VOID *Arguments
@ -87,6 +89,7 @@ XenHypercallMemoryOp (
otherwise, an error code.
**/
INTN
EFIAPI
XenHypercallEventChannelOp (
IN INTN Operation,
IN OUT VOID *Arguments

View File

@ -22,6 +22,7 @@
#include <Library/XenHypercallLib.h>
UINT64
EFIAPI
XenHypercallHvmGetParam (
IN UINT32 Index
)
@ -43,6 +44,7 @@ XenHypercallHvmGetParam (
}
INTN
EFIAPI
XenHypercallMemoryOp (
IN UINTN Operation,
IN OUT VOID *Arguments
@ -53,6 +55,7 @@ XenHypercallMemoryOp (
}
INTN
EFIAPI
XenHypercallEventChannelOp (
IN INTN Operation,
IN OUT VOID *Arguments