public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Yonghong Zhu <yonghong.zhu@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>
Subject: [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file
Date: Wed, 29 Nov 2017 22:02:02 +0800	[thread overview]
Message-ID: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> (raw)

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 <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>

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



             reply	other threads:[~2017-11-29 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29 14:02 Yonghong Zhu [this message]
2017-11-29 14:02 ` [Patch 1/4 V3] BaseTools: GenFfs support to get alignment value from SectionFile Yonghong Zhu
2017-11-29 14:02 ` [Patch 2/4 V3] BaseTools: Update Trim to generate VfrBinOffset Binary Yonghong Zhu
2017-11-29 14:02 ` [Patch 3/4 V3] BaseTools: Update Gensec to set PROCESSING_REQUIRED value Yonghong Zhu
2017-12-05 11:53   ` Leif Lindholm
2017-12-05 13:56     ` Zhu, Yonghong
2017-11-29 14:02 ` [Patch 4/4 V3] BaseTools: Update Makefile to support FFS file generation Yonghong Zhu
2017-12-06 18:23   ` Leif Lindholm
2017-12-07  0:59     ` Zhu, Yonghong
2017-12-07  9:59       ` Zhu, Yonghong
2017-12-01  6:13 ` [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1511964126-6716-1-git-send-email-yonghong.zhu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox