From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.36759.1679468576574804472 for ; Wed, 22 Mar 2023 00:02:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BDWxZqkU; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679468575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xw2jRmC+dvQIglPJDYrHLkKpBL8rRSuQAQjIscyoCkM=; b=BDWxZqkUV1B5y1VQhr/vVCuTAzuwk2xlAhdFJk599bZ/E9HAMfnNg0twYNjgpfKCPfBXom iqT94N1UcUL9YiANgJ3aaqoQB76PnQW9eNJCgDKA31ECAaaFCgyv3qF/Krnm7ZN5RY0arw yTSIrYx3Tl65emBjbFyVaUHWbgggJSE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-553-toSkP0qsMLmdbt5f8i3BQA-1; Wed, 22 Mar 2023 03:02:52 -0400 X-MC-Unique: toSkP0qsMLmdbt5f8i3BQA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9AFA62808E68; Wed, 22 Mar 2023 07:02:51 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB45E40C6E68; Wed, 22 Mar 2023 07:02:44 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B777018000A3; Wed, 22 Mar 2023 08:02:43 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Michael D Kinney , Erdem Aktas , James Bottomley , Liming Gao , =?UTF-8?q?Marvin=20H=C3=A4user?= , Pawel Polawski , Michael Roth , Tom Lendacky , Gerd Hoffmann , Jiewen Yao , Jian J Wang , Ard Biesheuvel , Jordan Justen , Hao A Wu , Zhiguang Liu , Ray Ni , Min Xu , Oliver Steffen Subject: [PATCH v2 0/6] MdePkg/Base.h: Introduce various alignment-related macros Date: Wed, 22 Mar 2023 08:02:37 +0100 Message-Id: <20230322070243.410903-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit v2 changes: - rebase to latest master, adapt patches to changes. - update macro documentation to use @retval TRUE/FALSE. - added patch to use IS_POW2 in MtrrLib. - add reviews and acks. Gerd Hoffmann (3): OvmfPkg: Rename IS_ALIGNED macros to avoid name collisions OvmfPkg: Consume new alignment-related macros UefiCpuPkg/MtrrLib: use new IS_POW2() macro. Marvin Häuser (3): MdeModulePkg: Rename IS_ALIGNED macros to avoid name collisions MdePkg/Base.h: Introduce various alignment-related macros MdeModulePkg: Consume new alignment-related macros MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h | 1 - .../Ata/AtaAtapiPassThru/AtaAtapiPassThru.h | 2 - MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h | 1 - MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h | 2 - .../Bus/Ufs/UfsBlockIoPei/UfsBlockIoPei.h | 2 - .../Bus/Ufs/UfsPassThruDxe/UfsPassThru.h | 2 - MdeModulePkg/Universal/EbcDxe/EbcExecute.h | 3 +- MdePkg/Include/Base.h | 98 ++++++++++++++++++- MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c | 2 +- .../Bus/Ata/AhciPei/AhciPeiPassThru.c | 6 +- .../Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 12 +-- .../Bus/Ata/AtaBusDxe/AtaPassThruExecute.c | 2 +- MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c | 4 +- .../Bus/Ufs/UfsPassThruDxe/UfsPassThru.c | 6 +- MdeModulePkg/Universal/EbcDxe/EbcExecute.c | 36 +++---- OvmfPkg/AmdSevDxe/AmdSevDxe.c | 2 - .../X64/SnpPageStateChangeInternal.c | 1 - UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 17 +--- 18 files changed, 133 insertions(+), 66 deletions(-) -- 2.39.2