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.31; helo=mga06.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 45553220D4C1E for ; Thu, 30 Nov 2017 22:09:03 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Nov 2017 22:13:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,344,1508828400"; d="scan'208";a="8290724" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 30 Nov 2017 22:13:28 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 30 Nov 2017 22:13:28 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 30 Nov 2017 22:13:28 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Fri, 1 Dec 2017 14:13:26 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file Thread-Index: AQHTaRq3G6yorQM9pUOqotmHFpXPAqMuBLSQ Date: Fri, 1 Dec 2017 06:13:26 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E188D5D@SHSMSX104.ccr.corp.intel.com> References: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: Fri, 01 Dec 2017 06:09:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Zhu, Yonghong >Sent: Wednesday, November 29, 2017 10:02 PM >To: edk2-devel@lists.01.org >Cc: Gao, Liming >Subject: [edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to genera= te >FFS file > >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 fil= e'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