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

View File

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