That depends on review from other package maintainers. > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Gerd > Hoffmann > Sent: Monday, March 13, 2023 4:46 PM > To: Ni, Ray <ray...@intel.com> > Cc: Tom Lendacky <thomas.lenda...@amd.com>; devel@edk2.groups.io; > Dong, Eric <eric.d...@intel.com>; Kumar, Rahul R > <rahul.r.ku...@intel.com>; Michael Roth <michael.r...@amd.com>; Ashish > Kalra <ashish.ka...@amd.com> > Subject: Re: [edk2-devel] [PATCH 1/2] UefiCpuPkg/MpInitLib: Ensure SEV- > SNP VMSA allocations are not 2MB aligned > > On Mon, Mar 13, 2023 at 08:28:57AM +0000, Ni, Ray wrote: > > > > > > +#define IS_ALIGNED(x, y) ((((UINTN)(x) & (y - 1)) == 0)) > > > > 1. Can you use the existing macro ALIGN_POINTER() defined in Base.h? > > Having copies of this all over the tree is indeed a bad idea. > > See https://edk2.groups.io/g/devel/message/100695 which adds this > and a few more commonly used macros to Base.h. Can we get that > reviewed and merged please? > > thanks & take care, > Gerd > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#101087): https://edk2.groups.io/g/devel/message/101087 Mute This Topic: https://groups.io/mt/97524218/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-