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 945E281EA4 for ; Thu, 1 Dec 2016 07:33:39 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.33,282,1477958400"; d="scan'208";a="392491838" From: Anthony PERARD To: CC: Jordan Justen , Laszlo Ersek , Anthony PERARD Date: Thu, 1 Dec 2016 15:28:16 +0000 Message-ID: <20161201152819.8341-2-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 1/4] OvmfPkg/XenHypercallLib: Add EFIAPI 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:39 -0000 Content-Type: text/plain Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD --- OvmfPkg/Include/Library/XenHypercallLib.h | 3 +++ OvmfPkg/Library/XenHypercallLib/XenHypercall.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/OvmfPkg/Include/Library/XenHypercallLib.h b/OvmfPkg/Include/Library/XenHypercallLib.h index 509855d..36e3344 100644 --- a/OvmfPkg/Include/Library/XenHypercallLib.h +++ b/OvmfPkg/Include/Library/XenHypercallLib.h @@ -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 diff --git a/OvmfPkg/Library/XenHypercallLib/XenHypercall.c b/OvmfPkg/Library/XenHypercallLib/XenHypercall.c index 82cdbd9..5ea5c45 100644 --- a/OvmfPkg/Library/XenHypercallLib/XenHypercall.c +++ b/OvmfPkg/Library/XenHypercallLib/XenHypercall.c @@ -22,6 +22,7 @@ #include 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 -- Anthony PERARD