From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A5E24203564DB for ; Wed, 29 Nov 2017 05:57:46 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2017 06:02:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,473,1505804400"; d="scan'208";a="154377127" Received: from shwdeopenpsi168.ccr.corp.intel.com ([10.239.158.129]) by orsmga004.jf.intel.com with ESMTP; 29 Nov 2017 06:02:09 -0800 From: Yonghong Zhu To: edk2-devel@lists.01.org Cc: Liming Gao Date: Wed, 29 Nov 2017 22:02:02 +0800 Message-Id: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> X-Mailer: git-send-email 2.6.1.windows.1 Subject: [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2017 13:57:46 -0000 V3: add a new build option --genfds-multi-thread for this feature, default is False. These patches enable multiple thread to generate ffs file by merge FFS file's generation into Make phase. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu Yonghong Zhu (4): BaseTools: GenFfs support to get alignment value from SectionFile BaseTools: Update Trim to generate VfrBinOffset Binary BaseTools: Update Gensec to set PROCESSING_REQUIRED value BaseTools: Update Makefile to support FFS file generation BaseTools/Source/C/GenFfs/GenFfs.c | 135 +++++++++++++- BaseTools/Source/C/GenSec/GenSec.c | 74 ++++++++ BaseTools/Source/Python/AutoGen/AutoGen.py | 23 ++- BaseTools/Source/Python/AutoGen/GenMake.py | 90 ++++++++- BaseTools/Source/Python/Common/GlobalData.py | 1 + BaseTools/Source/Python/GenFds/AprioriSection.py | 14 +- BaseTools/Source/Python/GenFds/CompressSection.py | 10 +- BaseTools/Source/Python/GenFds/DataSection.py | 37 ++-- BaseTools/Source/Python/GenFds/DepexSection.py | 6 +- BaseTools/Source/Python/GenFds/EfiSection.py | 78 +++++--- BaseTools/Source/Python/GenFds/Fd.py | 24 ++- BaseTools/Source/Python/GenFds/FfsFileStatement.py | 4 +- BaseTools/Source/Python/GenFds/FfsInfStatement.py | 202 ++++++++++++--------- BaseTools/Source/Python/GenFds/Fv.py | 189 ++++++++++--------- BaseTools/Source/Python/GenFds/FvImageSection.py | 8 +- BaseTools/Source/Python/GenFds/GenFds.py | 20 ++ .../Source/Python/GenFds/GenFdsGlobalVariable.py | 174 ++++++++++++++---- BaseTools/Source/Python/GenFds/GuidSection.py | 168 +++++++++-------- .../Source/Python/GenFds/OptRomFileStatement.py | 4 +- .../Source/Python/GenFds/OptRomInfStatement.py | 12 +- BaseTools/Source/Python/GenFds/OptionRom.py | 25 +-- BaseTools/Source/Python/GenFds/Region.py | 49 +++-- BaseTools/Source/Python/GenFds/Section.py | 4 +- BaseTools/Source/Python/GenFds/UiSection.py | 5 +- BaseTools/Source/Python/GenFds/VerSection.py | 9 +- BaseTools/Source/Python/Trim/Trim.py | 81 ++++++++- BaseTools/Source/Python/build/build.py | 48 ++++- 27 files changed, 1077 insertions(+), 417 deletions(-) -- 2.6.1.windows.1