In v2 I did notice that some further simplification would be possible by curtailing the remaining ifdeffery. However I didn't believe (and the FDF spec didn't say) that one could use macros in the FD Layout Regions too (ie. for offset and size). Jordan has made me aware of that possibility, so patch #2 now introduces three more macros, and removes the remaining FD_SIZE_1MB-dependent branching in the FDF files.
https://github.com/lersek/edk2/commits/split_varstore_v3 Laszlo Ersek (2): OvmfPkg: extract varstore-related FD Layout Regions to an include file OvmfPkg: build OVMF_VARS.fd, OVMF_CODE.fd, OVMF.fd OvmfPkg/OvmfPkg.fdf.inc | 63 ++++++++++++++++++++++++ OvmfPkg/OvmfPkgIa32.fdf | 119 +++++++++++++-------------------------------- OvmfPkg/OvmfPkgIa32X64.fdf | 119 +++++++++++++-------------------------------- OvmfPkg/OvmfPkgX64.fdf | 119 +++++++++++++-------------------------------- OvmfPkg/VarStore.fdf.inc | 80 ++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 255 deletions(-) create mode 100644 OvmfPkg/OvmfPkg.fdf.inc create mode 100644 OvmfPkg/VarStore.fdf.inc -- 1.8.3.1 ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
