public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Eric Jin" <eric.jin@intel.com>
To: devel@edk2.groups.io
Subject: [PATCH V2 00/10] Multiple Controllers Support solution
Date: Mon, 12 Aug 2019 09:46:03 +0800	[thread overview]
Message-ID: <20190812014603.42484-1-eric.jin@intel.com> (raw)

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525

The patch set is to support drivers that manage multiple controllers and
also provide a firmware update capability to each managed controller.

The following modules are related to Multiple Controllers Support solution

FmpDevicePkg\FmpDxe\FmpDxe.inf - Driver to manage multiple controllers and provide
the firmware update capability to each managed controller.
FmpDevicePkg\CapsuleUpdatePolicyDxe\CapsuleUpdatePolicyDxe.inf - Driver to produce
the Capsule Update Policy Protocol using the services of the CapsuleUpdatePolicyLib
class. The protocol is a private interface to the FmpDevicePkg
FmpDevicePkg\Library\CapsuleUpdatePolicyLibOnProtocol\CapsuleUpdatePolicyLibOnProtocol.inf -
CapsuleUpdatePolicyLib instance that uses the services of the Capsule Update Policy
Protocol produced by CapsuleUpdatePolicyDxe
FmpDevicePkg\Library\CapsuleUpdatePolicyLibNull\CapsuleUpdatePolicyLibNull.inf - 
Null CapsuleUpdatePolicyLib instance and the template for platform specific implementation
FmpDevicePkg\Library\FmpDeviceLibNull\FmpDeviceLibNull.inf - Null FmpDeviceLib
instance and the template for platform specific implementation

Eric Jin (10):
  FmpDevicePkg: Add UEFI_DRIVER support
  FmpDevicePkg: Add APIs to FmpDeviceLib
  FmpDEvicePkg/FmpDeviceLibNull: Implement new APIs
  FmpDevicePkg/FmpDxe: Use new FmpDeviceLib APIs
  FmpDevicePkg/FmpDxe: Different variable for each FMP Descriptor
  FmpDevicePkg: Add Capsule Update Policy Protocol
  FmpDevicePkg/FmpDxe: Improve all DEBUG() messages
  FmpDevicePkg/FmpDxe: Add PcdFmpDeviceImageTypeIdGuid
  FmpDevicePkg/FmpDxe: Add PcdFmpDeviceStorageAccessEnable
  FmpDevicePkg/FmpDxe: Remove use of CatSprint()

 .../CapsuleUpdatePolicyDxe.c                  | 173 ++++
 .../CapsuleUpdatePolicyDxe.h                  | 140 +++
 .../CapsuleUpdatePolicyDxe.inf                |  48 +
 .../CapsuleUpdatePolicyDxe.uni                |  14 +
 .../CapsuleUpdatePolicyDxeExtra.uni           |  14 +
 FmpDevicePkg/FmpDevicePkg.dec                 |  43 +-
 FmpDevicePkg/FmpDevicePkg.dsc                 |  64 +-
 FmpDevicePkg/FmpDevicePkg.uni                 |  16 +-
 FmpDevicePkg/FmpDxe/DetectTestKey.c           |  16 +-
 FmpDevicePkg/FmpDxe/FmpDxe.c                  | 792 ++++++++++------
 FmpDevicePkg/FmpDxe/FmpDxe.h                  | 355 ++++++++
 FmpDevicePkg/FmpDxe/FmpDxe.inf                |   7 +-
 FmpDevicePkg/FmpDxe/FmpDxeLib.inf             |   7 +-
 FmpDevicePkg/FmpDxe/VariableSupport.c         | 844 +++++++++++++-----
 FmpDevicePkg/FmpDxe/VariableSupport.h         | 135 ++-
 FmpDevicePkg/Include/Library/FmpDeviceLib.h   | 104 ++-
 .../CapsuleUpdatePolicyLibOnProtocol.c        | 171 ++++
 .../CapsuleUpdatePolicyLibOnProtocol.inf      |  40 +
 .../CapsuleUpdatePolicyLibOnProtocol.uni      |  15 +
 .../Library/FmpDeviceLibNull/FmpDeviceLib.c   |  93 +-
 .../FmpDeviceLibNull/FmpDeviceLibNull.inf     |   4 +-
 .../FmpPayloadHeaderLibV1.inf                 |   4 +-
 .../Library/FmpPayloadHeaderLib.h             |   0
 .../Protocol/CapsuleUpdatePolicy.h            | 132 +++
 24 files changed, 2644 insertions(+), 587 deletions(-)
 create mode 100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.c
 create mode 100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.h
 create mode 100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.inf
 create mode 100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.uni
 create mode 100644 FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxeExtra.uni
 create mode 100644 FmpDevicePkg/FmpDxe/FmpDxe.h
 create mode 100644 FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.c
 create mode 100644 FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.inf
 create mode 100644 FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.uni
 rename FmpDevicePkg/{Include => PrivateInclude}/Library/FmpPayloadHeaderLib.h (100%)
 create mode 100644 FmpDevicePkg/PrivateInclude/Protocol/CapsuleUpdatePolicy.h

-- 
2.20.1.windows.1


             reply	other threads:[~2019-08-12  1:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12  1:46 Eric Jin [this message]
2019-08-12  5:19 ` [edk2-devel] [PATCH V2 00/10] Multiple Controllers Support solution Liming Gao
2019-08-12  7:14   ` Eric Jin
2019-08-12  9:24     ` Liming Gao
2019-08-12 15:16       ` Eric Jin
2019-08-14  4:38         ` Liming Gao
2019-08-14  7:12           ` Eric Jin
     [not found]         ` <15BAB023D575B174.21049@groups.io>
2019-08-15  9:26           ` Liming Gao

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=20190812014603.42484-1-eric.jin@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