From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D3EB11A1E34 for ; Tue, 20 Sep 2016 19:41:39 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP; 20 Sep 2016 19:41:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,371,1470726000"; d="scan'208";a="11538323" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by fmsmga005.fm.intel.com with ESMTP; 20 Sep 2016 19:41:38 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Wed, 21 Sep 2016 10:39:08 +0800 Message-Id: <1474425551-9056-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch 0/3] BaseTools: Add build support to generate HII image package X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 02:41:40 -0000 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