HII image package is defined in UEFI spec. But, EDK2 BaseTools doesn't support its generation. To fill this gap, new image description file (*.idf) is introduced to describe HII image resource. *.idf file syntax has been proposed into edk2 community. This patch updates BaseTools base on it to generate the binary HII image package.
Liming Gao (2): MdePkg UefiHii: Add IMAGE_TOKEN macro to access image resource in C and VFR MdeModulePkg HiiDatabaseDxe: Ignore new EFI_HII_IIBT_IMAGE_PNG type Image Yonghong Zhu (1): BaseTools: support generating image package from BMP/JPEG/PNG files BaseTools/Conf/build_rule.template | 21 ++ BaseTools/Source/Python/AutoGen/AutoGen.py | 31 ++- BaseTools/Source/Python/AutoGen/GenC.py | 245 ++++++++++++++++++++- BaseTools/Source/Python/AutoGen/IdfClassObject.py | 159 +++++++++++++ BaseTools/Source/Python/AutoGen/StrGather.py | 4 +- BaseTools/Source/Python/Common/DataType.py | 1 + MdeModulePkg/Universal/HiiDatabaseDxe/Image.c | 6 +- .../Include/Uefi/UefiInternalFormRepresentation.h | 8 +- 8 files changed, 467 insertions(+), 8 deletions(-) create mode 100644 BaseTools/Source/Python/AutoGen/IdfClassObject.py -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel