From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2BC4F81EA4 for ; Thu, 1 Dec 2016 07:33:41 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.33,282,1477958400"; d="scan'208";a="392491845" From: Anthony PERARD To: CC: Jordan Justen , Laszlo Ersek , Anthony PERARD Date: Thu, 1 Dec 2016 15:28:18 +0000 Message-ID: <20161201152819.8341-4-anthony.perard@citrix.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161201152819.8341-1-anthony.perard@citrix.com> References: <20161201152819.8341-1-anthony.perard@citrix.com> MIME-Version: 1.0 Subject: [PATCH 3/4] OvmfPkg/XenBusDxe: Add EFIAPI to XenStore functions X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 15:33:41 -0000 Content-Type: text/plain Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD --- OvmfPkg/XenBusDxe/XenStore.c | 13 +++++++++++++ OvmfPkg/XenBusDxe/XenStore.h | 10 ++++++++++ 2 files changed, 23 insertions(+) diff --git a/OvmfPkg/XenBusDxe/XenStore.c b/OvmfPkg/XenBusDxe/XenStore.c index 1666c4b..d69ed7d 100644 --- a/OvmfPkg/XenBusDxe/XenStore.c +++ b/OvmfPkg/XenBusDxe/XenStore.c @@ -791,6 +791,7 @@ XenStoreReadReply ( **/ STATIC XENSTORE_STATUS +EFIAPI XenStoreTalkv ( IN CONST XENSTORE_TRANSACTION *Transaction, IN enum xsd_sockmsg_type RequestType, @@ -874,6 +875,7 @@ Error: **/ STATIC XENSTORE_STATUS +EFIAPI XenStoreSingle ( IN CONST XENSTORE_TRANSACTION *Transaction, IN enum xsd_sockmsg_type RequestType, @@ -949,6 +951,7 @@ XenStoreUnwatch ( STATIC XENSTORE_STATUS +EFIAPI XenStoreWaitWatch ( VOID *Token ) @@ -1162,6 +1165,7 @@ XenStoreDeinit ( // XENSTORE_STATUS +EFIAPI XenStoreListDirectory ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -1189,6 +1193,7 @@ XenStoreListDirectory ( } BOOLEAN +EFIAPI XenStorePathExists ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *Directory, @@ -1209,6 +1214,7 @@ XenStorePathExists ( } XENSTORE_STATUS +EFIAPI XenStoreRead ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -1233,6 +1239,7 @@ XenStoreRead ( } XENSTORE_STATUS +EFIAPI XenStoreWrite ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -1258,6 +1265,7 @@ XenStoreWrite ( } XENSTORE_STATUS +EFIAPI XenStoreRemove ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -1275,6 +1283,7 @@ XenStoreRemove ( } XENSTORE_STATUS +EFIAPI XenStoreTransactionStart ( OUT XENSTORE_TRANSACTION *Transaction ) @@ -1293,6 +1302,7 @@ XenStoreTransactionStart ( } XENSTORE_STATUS +EFIAPI XenStoreTransactionEnd ( IN CONST XENSTORE_TRANSACTION *Transaction, IN BOOLEAN Abort @@ -1307,6 +1317,7 @@ XenStoreTransactionEnd ( } XENSTORE_STATUS +EFIAPI XenStoreVSPrint ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -1352,6 +1363,7 @@ XenStoreSPrint ( } XENSTORE_STATUS +EFIAPI XenStoreRegisterWatch ( IN CONST CHAR8 *DirectoryPath, IN CONST CHAR8 *Node, @@ -1393,6 +1405,7 @@ XenStoreRegisterWatch ( } VOID +EFIAPI XenStoreUnregisterWatch ( IN XENSTORE_WATCH *Watch ) diff --git a/OvmfPkg/XenBusDxe/XenStore.h b/OvmfPkg/XenBusDxe/XenStore.h index c9d4c65..c38fe37 100644 --- a/OvmfPkg/XenBusDxe/XenStore.h +++ b/OvmfPkg/XenBusDxe/XenStore.h @@ -53,6 +53,7 @@ typedef struct _XENSTORE_WATCH XENSTORE_WATCH; caller. **/ XENSTORE_STATUS +EFIAPI XenStoreListDirectory ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -73,6 +74,7 @@ XenStoreListDirectory ( to make that determination. **/ BOOLEAN +EFIAPI XenStorePathExists ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *Directory, @@ -97,6 +99,7 @@ XenStorePathExists ( caller. **/ XENSTORE_STATUS +EFIAPI XenStoreRead ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -117,6 +120,7 @@ XenStoreRead ( indicating the type of failure. **/ XENSTORE_STATUS +EFIAPI XenStoreWrite ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -135,6 +139,7 @@ XenStoreWrite ( indicating the type of failure. **/ XENSTORE_STATUS +EFIAPI XenStoreRemove ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -154,6 +159,7 @@ XenStoreRemove ( indicating the type of failure. **/ XENSTORE_STATUS +EFIAPI XenStoreTransactionStart ( OUT XENSTORE_TRANSACTION *Transaction ); @@ -169,6 +175,7 @@ XenStoreTransactionStart ( indicating the type of failure. **/ XENSTORE_STATUS +EFIAPI XenStoreTransactionEnd ( IN CONST XENSTORE_TRANSACTION *Transaction, IN BOOLEAN Abort @@ -209,6 +216,7 @@ XenStoreSPrint ( indicating the type of write failure. **/ XENSTORE_STATUS +EFIAPI XenStoreVSPrint ( IN CONST XENSTORE_TRANSACTION *Transaction, IN CONST CHAR8 *DirectoryPath, @@ -233,6 +241,7 @@ XenStoreVSPrint ( xenbus_watch objects, to watch the same path in the XenStore. **/ XENSTORE_STATUS +EFIAPI XenStoreRegisterWatch ( IN CONST CHAR8 *DirectoryPath, IN CONST CHAR8 *Node, @@ -246,6 +255,7 @@ XenStoreRegisterWatch ( call to XenStoreRegisterWatch (). **/ VOID +EFIAPI XenStoreUnregisterWatch ( IN XENSTORE_WATCH *Watch ); -- Anthony PERARD