On Thu, Oct 23, 2014 at 07:31:27PM +0200, Laszlo Ersek wrote: > But, referring to > > http://thread.gmane.org/gmane.comp.bios.tianocore.devel/10156/focus=10197 > > On 09/30/14 00:17, Jordan Justen wrote: > > In OvmfPkg*.dsc: > > * [...] > > * Replace BasePcdLibNull.inf with DxePcdLib.inf as needed in DXE/UEFI > > LibraryClasses. > > > > (This paragraph is a bit tangential. Feel free to ignore it. :) I > > think this is not quite valid for pure UEFI drivers, since they should > > not rely on the PCD protocol. But, I think that OVMF as a platform can > > bend this rule. [...] > > So, we might want to decide that going forward we will indeed bend this > rule, and *explicitly* declare all UEFI_DRIVERs under OvmfPkg/ > non-portable outside of edk2. > > In which case you'd simply change the default PcdLib resolution for > UEFI_DRIVER and UEFI_APPLICATION modules in the DSC files, as Jordan > describes in the quote.
Oh, ok. I missed that part, probably because at that time I was still struggling to comprehend what a "pcd" is :) Anyhow, I'll send out the patch series shortly, and then we can all decide whether that's something we're still interested in doing (I'm clearly not qualified to argue either way, but would be happy to implement whatever consensus we come up with) :) Thanks, --Gabriel ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel