[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] efi/boot: fix set_color function
On 04/10/2019 11:34, Jan Beulich wrote: > On 03.10.2019 15:49, Igor Druzhinin wrote: >> - 0 is a possible and allowed value for a color mask accroding to >> UEFI Spec 2.6 (11.9) especially for reserved mask > > Hmm, looking at 2.8 (where it's section 12.9, which in turn is why > section titles would be more helpful in such references) I can't > see the case being mentioned explicitly. I can accept that > ReservedMask might be zero, but then I'd prefer to handle that > case in the caller, rather than allowing zero also for the three > colors. "If a bit is set in RedMask, GreenMask, or BlueMask then those bits of the pixel represent the corresponding color." - "If a bit is set..." implies it might not be set. Nothing prevents mask for the colors be 0 as well. Igor _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |