On 09/02/15 11:52, Benjamin Herrenschmidt wrote: > On Wed, 2015-09-02 at 11:33 +0200, Laszlo Ersek wrote: >> On 09/02/15 01:01, Ard Biesheuvel wrote: >>> On 2 September 2015 at 00:32, Benjamin Herrenschmidt < >>> [email protected]> wrote: >>>> On Wed, 2015-08-26 at 11:59 +0200, Ard Biesheuvel wrote: >>>>> This adds support for the Intel BDS, by introducing a define >>>>> 'USE_ARM_BDS' which defaults to TRUE, and can be overridden on >>>>> the build command line. >>>> >>>> Out of curiosity (still in the process of getting my head around >>>> the >>>> BDS stuff for my POWER port) ... why not the "Universal" BDS with >>>> separate UiApp ? Or is the IntelBDS a better option for some >>>> reason ? >>>> >>> >>> Excellent question. >> >> Yeah. Ben is disturbingly well informed. I wish my first emails to >> these lists had been this much to the point! ;> > > Heh thanks :-) > > ../... > >> http://thread.gmane.org/gmane.comp.bios.edk2.devel/759 >> >> Version 2 needs a good deal of work (including splitting up the >> patches >> into a bunch of smaller ones, plus some easy modifications to the new >> BDS library *class* under MdeModulePkg as well), but it certainly >> looks >> feasible. And once Ray's work converges, those patches and reviews >> should teach us enough to do the ArmVirtPkg conversion ourselves. > > Interesting. I have something more/less working with the IntelBDS > (though ugly) and not at all with MdeModulePkg but as I said, I mostly > copy/pasted "stuff" around without quite understanding what I was doing > at this stage, so looking at how you guys transition will be useful.
If you need something "urgently", I'd recommend looking at "ArmVirtPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.c". It's fairly minimal, and (hopefully) well commented. You can probably ignore TryRunningQemuKernel(), SetBootOrderFromQemu(), and GetFrontPageTimeoutFromQemu(). Thanks Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

