public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: <edk2-devel@lists.01.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>,
	Laszlo Ersek <lersek@redhat.com>,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: [PATCH 3/4] OvmfPkg/XenBusDxe: Add EFIAPI to XenStore functions
Date: Thu, 1 Dec 2016 15:28:18 +0000	[thread overview]
Message-ID: <20161201152819.8341-4-anthony.perard@citrix.com> (raw)
In-Reply-To: <20161201152819.8341-1-anthony.perard@citrix.com>

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 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



  parent reply	other threads:[~2016-12-01 15:33 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 15:28 [PATCH 0/4] Fix runtime issue in XenBusDxe when compiled with GCC5 Anthony PERARD
2016-12-01 15:28 ` [PATCH 1/4] OvmfPkg/XenHypercallLib: Add EFIAPI Anthony PERARD
2016-12-01 15:28 ` [PATCH 2/4] OvmfPkg/XenBusDxe: Add EFIAPI to XenEventChannelNotify Anthony PERARD
2016-12-01 15:28 ` Anthony PERARD [this message]
2016-12-01 15:28 ` [PATCH 4/4] OvmfPkg/XenBusDxe: Add EFIAPI to XenGrantTable{Grant, End}Access Anthony PERARD
2016-12-01 18:43 ` [PATCH 0/4] Fix runtime issue in XenBusDxe when compiled with GCC5 Laszlo Ersek
2016-12-01 20:06   ` Jordan Justen
2016-12-01 20:54     ` Laszlo Ersek
2016-12-02  0:58       ` Jordan Justen
2016-12-02  9:45         ` Laszlo Ersek
2016-12-02  4:36   ` Gao, Liming
2016-12-02 10:00     ` Laszlo Ersek
2016-12-02 16:02   ` Anthony PERARD
2016-12-02 19:26     ` Laszlo Ersek
2016-12-03 17:59       ` Laszlo Ersek
2016-12-05  2:55         ` Gao, Liming
2016-12-05 10:09           ` Laszlo Ersek
2017-02-21 16:39         ` Anthony PERARD
2017-02-21 17:07           ` Laszlo Ersek
2017-02-21 17:53             ` Anthony PERARD
2017-02-21 19:02               ` Laszlo Ersek
2017-02-21 19:08                 ` Rebecca Cran
2017-02-21 22:45                   ` Jordan Justen
2017-02-21 23:59                     ` Laszlo Ersek
2017-02-22 14:16                       ` Gao, Liming
2017-02-22  8:54                 ` Gao, Liming
2017-02-23 10:19                   ` Laszlo Ersek
2017-02-23 12:43                     ` Anthony PERARD
2017-02-23 13:00                     ` Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161201152819.8341-4-anthony.perard@citrix.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox