From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (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 B409381F2B for ; Tue, 6 Dec 2016 04:03:37 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.33,310,1477958400"; d="scan'208";a="402036772" From: Anthony PERARD To: CC: Jordan Justen , Laszlo Ersek , Anthony PERARD Date: Tue, 6 Dec 2016 12:03:24 +0000 Message-ID: <20161206120325.1425-2-anthony.perard@citrix.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161206120325.1425-1-anthony.perard@citrix.com> References: <20161206120325.1425-1-anthony.perard@citrix.com> MIME-Version: 1.0 Subject: [PATCH v2 1/2] 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: Tue, 06 Dec 2016 12:03:38 -0000 Content-Type: text/plain Because EFIAPI is necessary for functions declared in library class header files. 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