From c5c9e7e298ed138b9823ccfba10436d49d1dcc32 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Thu, 23 Feb 2017 12:42:08 +0000 Subject: [PATCH] OvmfPkg/XenBusDxe: Use EFIAPI for XenStoreVSPrint ... because this function use VA_COPY. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD Reviewed-by: Liming Gao Reviewed-by: Laszlo Ersek --- OvmfPkg/XenBusDxe/XenStore.c | 1 + OvmfPkg/XenBusDxe/XenStore.h | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/XenBusDxe/XenStore.c b/OvmfPkg/XenBusDxe/XenStore.c index 76b6e297ef..6812e1078c 100644 --- a/OvmfPkg/XenBusDxe/XenStore.c +++ b/OvmfPkg/XenBusDxe/XenStore.c @@ -1304,6 +1304,7 @@ XenStoreTransactionEnd ( } XENSTORE_STATUS +EFIAPI XenStoreVSPrint ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, diff --git a/OvmfPkg/XenBusDxe/XenStore.h b/OvmfPkg/XenBusDxe/XenStore.h index c9d4c6509a..33bb647f66 100644 --- a/OvmfPkg/XenBusDxe/XenStore.h +++ b/OvmfPkg/XenBusDxe/XenStore.h @@ -209,6 +209,7 @@ XenStoreSPrint ( indicating the type of write failure. **/ XENSTORE_STATUS +EFIAPI XenStoreVSPrint ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath,