On Fri, 2013-02-08 at 10:18 -0800, Jordan Justen wrote: > > I'm thinking I'd prefer: > (Bp->hdr.xloadflags & ((sizeof(UINTN) == 4) ? BIT2 : BIT3)) > > This matches the kernel comment. > > That okay David?
As long as it works. Although if you're going that far you might as well go the whole hog and do something completely long-hand and ugly like #ifdef MDE_CPU_IA32 #define EFI_SUPPORTED_BIT BIT2 #else #define EFI_SUPPORTED_BIT BIT3 #endif -- dwmw2
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
