MdeModulePkg: Consume new alignment-related macros
This patch substitutes the macros that were renamed in the first patch with the new, shared alignment macros. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Vitaly Cheptsov <vit9696@protonmail.com> Signed-off-by: Marvin Häuser <mhaeuser@posteo.de> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
836042ffd8
commit
495809a614
@@ -2126,7 +2126,7 @@ TrustTransferAtaDevice (
|
||||
// ATA PassThru PPI.
|
||||
//
|
||||
if ((AtaPassThru->Mode->IoAlign > 1) &&
|
||||
!ADDRESS_IS_ALIGNED_ (Buffer, AtaPassThru->Mode->IoAlign))
|
||||
!ADDRESS_IS_ALIGNED (Buffer, AtaPassThru->Mode->IoAlign))
|
||||
{
|
||||
NewBuffer = AllocateAlignedPages (
|
||||
EFI_SIZE_TO_PAGES (TransferLength),
|
||||
|
Reference in New Issue
Block a user