From nobody Sat Nov 2 08:26:26 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1492738364274853.5014806781077; Thu, 20 Apr 2017 18:32:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7769C2195407C; Thu, 20 Apr 2017 18:32:41 -0700 (PDT) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 723132195406F for ; Thu, 20 Apr 2017 18:32:40 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 20 Apr 2017 18:32:39 -0700 Received: from sfu5-mobl3.ccr.corp.intel.com ([10.239.193.185]) by fmsmga001.fm.intel.com with ESMTP; 20 Apr 2017 18:32:39 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,227,1488873600"; d="scan'208";a="1138371212" From: Fu Siyuan To: edk2-devel@lists.01.org Date: Fri, 21 Apr 2017 09:32:34 +0800 Message-Id: <1492738354-14220-1-git-send-email-siyuan.fu@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [edk2] [Patch] OptionRomPkg: Fix calling convention issue for UndiRuntiumeDxe driver. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ye Ting , Wu Jiaxin MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add "EFIAPI" to UNDI command entry point function according to UEFI calling convention. Cc: Ye Ting Cc: Wu Jiaxin Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan Reviewed-by: Wu Jiaxin Reviewed-by: Ye Ting =20 --- OptionRomPkg/UndiRuntimeDxe/Decode.c | 3 ++- OptionRomPkg/UndiRuntimeDxe/Undi32.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/OptionRomPkg/UndiRuntimeDxe/Decode.c b/OptionRomPkg/UndiRuntim= eDxe/Decode.c index 5f85347..cff6942 100644 --- a/OptionRomPkg/UndiRuntimeDxe/Decode.c +++ b/OptionRomPkg/UndiRuntimeDxe/Decode.c @@ -1,7 +1,7 @@ /** @file Provides the basic UNID functions. =20 -Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD = License which accompanies this distribution. The full text of the license may be = found at @@ -1276,6 +1276,7 @@ UNDI_Receive ( **/ // TODO: cdb - add argument and description to function comment VOID +EFIAPI UNDI_APIEntry_new ( IN UINT64 cdb ) diff --git a/OptionRomPkg/UndiRuntimeDxe/Undi32.h b/OptionRomPkg/UndiRuntim= eDxe/Undi32.h index 18341dd..00b48f6 100644 --- a/OptionRomPkg/UndiRuntimeDxe/Undi32.h +++ b/OptionRomPkg/UndiRuntimeDxe/Undi32.h @@ -1,7 +1,7 @@ /** @file EFI internal structures for the EFI UNDI driver. =20 -Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD = License which accompanies this distribution. The full text of the license may be = found at @@ -338,7 +338,7 @@ UNDI_Receive ( IN NIC_DATA_INSTANCE *AdapterInfo ); =20 -VOID UNDI_APIEntry_new(UINT64); +VOID EFIAPI UNDI_APIEntry_new(UINT64); VOID UNDI_APIEntry_Common(UINT64); =20 PXE_IPV4 convert_mcip(PXE_MAC_ADDR *); --=20 2.7.4.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel