From nobody Mon Sep 16 18:58:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104878+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104878+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1684159170; cv=none; d=zohomail.com; s=zohoarc; b=TY5B2BUtObzfzBzqkZcP+pESS56D2UWy5R+T/X6gStgCkZF9Rs+zXqd9H3IyrVK2ajFMZjFXXtqxPlnRpaOcR1XQCdWdsOEpea+7NPkJMb9cuAKtA623F3xZ5PYWpaw5K4p5kTVDgLaE+B2t39dl1vgZyfb66Uj03Hz1eMLE2Aw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684159170; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=h110UQlM7DMz75iakDdG8sH9oQNeXig+88/D+0WGHl4=; b=HiyfO8sTkoGOWIvv0dutrS1FNWRh+geNUNBfV2WkZp/ke3ckxtZBAC/+R10KpPmPmC47iu8zhowHHtfW+tDBllENfQKWvJuRR6f2Rmul2LlpSLHxGRyV9Dv9lsJ+qMkNT1DmqYNXdAlnRl3sYDvJlYlfg1dSrpA6qoo/Al2StHE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104878+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1684159170851330.99689034634855; Mon, 15 May 2023 06:59:30 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id KssZYY1788612xarxL2F4EXd; Mon, 15 May 2023 06:59:30 -0700 X-Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mx.groups.io with SMTP id smtpd.web11.88933.1684159169919891138 for ; Mon, 15 May 2023 06:59:29 -0700 X-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0E7583200910; Mon, 15 May 2023 09:59:28 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 15 May 2023 09:59:29 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehjedgjeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 09:59:27 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Chasel Chiu , Nate DeSimone , Sai Chaganty , Isaac Oram Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms v2 1/2] Platform/Intel: Delete ALIGN16 macro Date: Mon, 15 May 2023 07:59:20 -0600 Message-Id: <20230515135921.3299706-2-rebecca@bsdio.com> In-Reply-To: <20230515135921.3299706-1-rebecca@bsdio.com> References: <20230515135921.3299706-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,rebecca@bsdio.com X-Gm-Message-State: zf44I8kKpzjh8Y3kVHsdO2PAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1684159170; bh=MFuaKkgV2PVXlKVeDw5m+BXkR0+UWLrh8iopB8zJE2Y=; h=Cc:Date:From:Reply-To:Subject:To; b=G3l3H1nieyvARzm0KwnbYVg1xk5Rg9p2FVngUbUz1sAtfdnUdW86BndJQytYwZAnqei wrVenrnXEi3FWpsULs2b+388F4G7LHDX2IvxlZJSoNwEKjYY9pu1qke++HR86gzJ6YlVC xaqJGOs0zC/qkNHFS2LguMsccou/WR0mYN8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1684159172031100005 Content-Type: text/plain; charset="utf-8" The IS_ALIGNED macro defined in PlatformBoardConfig.h conflicts with the definition from MdePkg/Include/Base.h. Since the definitions in CometlakeOpenBoardPkg and WhiskeylakeOpenBoardPkg aren't used, delete them. Signed-off-by: Rebecca Cran --- Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Include/PlatformBoardCo= nfig.h | 3 --- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/PlatformBoa= rdConfig.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Include/Pla= tformBoardConfig.h b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Inc= lude/PlatformBoardConfig.h index 4d286b897ad7..10f4d8d45861 100644 --- a/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Include/PlatformBo= ardConfig.h +++ b/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Include/PlatformBo= ardConfig.h @@ -15,9 +15,6 @@ #include #include =20 -#define IS_ALIGNED(addr, size) (((addr) & (size - 1)) ? 0 : 1) -#define ALIGN16(size) (IS_ALIGNED(size, 16) ? size : ((size + 16)= & 0xFFF0)) - #define BOARD_CONFIG_BLOCK_PEI_PREMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_PEI_POSTMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_DXE_VERSION 0x00000001 diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include= /PlatformBoardConfig.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/Whiskeylake= URvp/Include/PlatformBoardConfig.h index 44b4059f8ebf..e8bd003af79c 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h @@ -15,9 +15,6 @@ #include #include =20 -#define IS_ALIGNED(addr, size) (((addr) & (size - 1)) ? 0 : 1) -#define ALIGN16(size) (IS_ALIGNED(size, 16) ? size : ((size + 16)= & 0xFFF0)) - #define BOARD_CONFIG_BLOCK_PEI_PREMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_PEI_POSTMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_DXE_VERSION 0x00000001 --=20 2.39.2 -=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 (#104878): https://edk2.groups.io/g/devel/message/104878 Mute This Topic: https://groups.io/mt/98903763/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-