From nobody Fri Oct 18 09:21:20 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+104850+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+104850+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1684129420; cv=none; d=zohomail.com; s=zohoarc; b=k9KwmzoTK5aS5AVlbJ8HXsq4+rr8XLnKZKW/q+QoX6eLovCR1Z06vCAcg2xZJqVRmJczoqdDpMtza3na62RSnvzXvkp8hQ4vkHs4cgJxSQouE5P+pKZtzjMyJv2efGVt/0bT/mJkaVuIDCuKcRJYUnpP8al6xQVTEsaHBQLdbRg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684129420; 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=raRwFX3k+bs8QRQAxrd1dt1RRmMayge+yUMAr045cO8=; b=ITmwY8ygtpanbf8dsAwROs1pnUUJswGhJimqJj40JHijxFWtRyq+mOTYhI0VZWqsq4gIa95Ylp4vQj/CCcJ73Eybzz20o6MV11P0ZUcywua+cZZy+BZzxx0LSeI48fwrMWpH8FLvcvV+GY90EXPVtXJ8+45GBDf1wLwS50zIb9k= 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+104850+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 168412942091322.00012697231432; Sun, 14 May 2023 22:43:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id mcejYY1788612xoSBZYEVDUB; Sun, 14 May 2023 22:43:40 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.82069.1684129419305576512 for ; Sun, 14 May 2023 22:43:39 -0700 X-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 6ACD732008C3; Mon, 15 May 2023 01:43:38 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 15 May 2023 01:43:38 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehiedgleekucetufdoteggodetrfdotf 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 01:43:36 -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 1/2] Platform/Intel/WhiskeylakeOpenBoardPkg: Fix ALIGN16 macro Date: Sun, 14 May 2023 23:43:28 -0600 Message-Id: <20230515054329.3224434-2-rebecca@bsdio.com> In-Reply-To: <20230515054329.3224434-1-rebecca@bsdio.com> References: <20230515054329.3224434-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: d7y4Hk41xluwGmHI4cl4NFDhx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1684129420; bh=nxRj0gL3H7zigfcZeOW3pTllPXADAxKPXSCTOjDtQ9Q=; h=Cc:Date:From:Reply-To:Subject:To; b=eO5LRYM1H19dQZhbl+WrrXSrSYSXLiIVbsEnJYcQP3ur2aapxQyrqU6qgoA7ud4G/dN MrWOtTQ85BmJuayiN4e33ikSakgm4Mj18E125Nir+SugI02GEG+YzFa9pFk6XqWwj9HNf 1QEvdv4tn5+wGlV5B7/shWHh3wc7XyL7nL4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1684129422649100005 Content-Type: text/plain; charset="utf-8" The IS_ALIGNED macro defined in PlatformBoardConfig.h conflicts with the definition from MdePkg/Include/Base.h. Delete it, and switch to ADDRESS_IS_ALIGNED. Signed-off-by: Rebecca Cran --- Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/PlatformBoa= rdConfig.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include= /PlatformBoardConfig.h b/Platform/Intel/WhiskeylakeOpenBoardPkg/Whiskeylake= URvp/Include/PlatformBoardConfig.h index 44b4059f8ebf..4872a0afc65a 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Include/Platfo= rmBoardConfig.h @@ -15,8 +15,7 @@ #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 ALIGN16(size) (ADDRESS_IS_ALIGNED(size, 16) ? size : ((si= ze + 16) & 0xFFF0)) =20 #define BOARD_CONFIG_BLOCK_PEI_PREMEM_VERSION 0x00000001 #define BOARD_CONFIG_BLOCK_PEI_POSTMEM_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 (#104850): https://edk2.groups.io/g/devel/message/104850 Mute This Topic: https://groups.io/mt/98897866/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-