From nobody Thu Dec 18 23:22:12 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+48197+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+48197+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1569570437; cv=none; d=zoho.com; s=zohoarc; b=LDoZIazW3x/VOWZdeM9YnMIjHpk7OZYQ//no3VjFkm6RnKTHn4clUiRSndE8H0shKTsdELeAUwGox+DnruSHwq93b7SQBQVkPui39VsS0286GX/9/8GhAVthm54/BC95ujiqPy6xNZc5DtHgXaJBRZT2wrpwKSUM3gH90vDvMhA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569570437; h=Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=tVGqMCILcA8Yebbm8WmJyyZcPaP4pL268LWf5hoN9Fk=; b=Lzw32FexO5tEMmp0Y1xDAuJ8HpymUxA4xrMlibXwdq7W9g8CyCmA7/4kL4MH9Sp4zIYqKaM8cI5WRL0Bw2BlG0kcb21f/QUj/sIijGIB+c4TodiQRjHYaKILZ+4OQYIcbkQ5R3IQNL98H7AOKcK0xXS4X538nMa4Oij0ZAsnl6Q= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+48197+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 156957043763780.43776351997622; Fri, 27 Sep 2019 00:47:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OaCHYY1788612x3iJWtRn69b; Fri, 27 Sep 2019 00:47:16 -0700 X-Received: from mga03.intel.com (mga03.intel.com []) by groups.io with SMTP; Fri, 27 Sep 2019 00:47:16 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 00:47:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,554,1559545200"; d="scan'208";a="389884689" X-Received: from shwde7172.ccr.corp.intel.com ([10.239.158.22]) by fmsmga005.fm.intel.com with ESMTP; 27 Sep 2019 00:47:14 -0700 From: "Liming Gao" To: devel@edk2.groups.io Subject: [edk2-devel] [Patch 05/12] MdePkg BaseIoLibIntrinsic: Remove __inline__ attribute for IO functions Date: Fri, 27 Sep 2019 15:46:28 +0800 Message-Id: <1569570395-11240-6-git-send-email-liming.gao@intel.com> In-Reply-To: <1569570395-11240-1-git-send-email-liming.gao@intel.com> References: <1569570395-11240-1-git-send-email-liming.gao@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,liming.gao@intel.com X-Gm-Message-State: 4d0dENCeocwpxk1l08eu2mHHx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1569570436; bh=AV57gRV125jFuvhlh7VqvFzpbU/nh0NC+7QpAENNtZc=; h=Date:From:Reply-To:Subject:To; b=sS5u37EsLhLGrgXRseHwL5YlPwau5Xy59OC3UoRZ2PAV4pkD9H0aQb+cFd+BfojM6TM /EVdyfkc3SZDJzx73nUqW+/LIBsY0FxjUy3ROqNviqghEAq/Y9M/YbHOZlYtAQFF81vZh z3pxFcrOsYXHSUoxzXkxUa2KXci+XYBxIB0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" __inline__ attribute will make the functions not be exposed as the library interface. It will cause CLANG9 compiler fail. Signed-off-by: Liming Gao Acked-by: Laszlo Ersek --- MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c b/MdePkg/Library/= BaseIoLibIntrinsic/IoLibGcc.c index 055f0a947e..b3a1a20256 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c @@ -32,7 +32,6 @@ @return The value read. =20 **/ -__inline__ UINT8 EFIAPI IoRead8 ( @@ -60,7 +59,6 @@ IoRead8 ( @return The value written the I/O port. =20 **/ -__inline__ UINT8 EFIAPI IoWrite8 ( @@ -87,7 +85,6 @@ IoWrite8 ( @return The value read. =20 **/ -__inline__ UINT16 EFIAPI IoRead16 ( @@ -117,7 +114,6 @@ IoRead16 ( @return The value written the I/O port. =20 **/ -__inline__ UINT16 EFIAPI IoWrite16 ( @@ -145,7 +141,6 @@ IoWrite16 ( @return The value read. =20 **/ -__inline__ UINT32 EFIAPI IoRead32 ( @@ -175,7 +170,6 @@ IoRead32 ( @return The value written the I/O port. =20 **/ -__inline__ UINT32 EFIAPI IoWrite32 ( --=20 2.13.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#48197): https://edk2.groups.io/g/devel/message/48197 Mute This Topic: https://groups.io/mt/34309058/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-