public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Hao Wu <hao.a.wu@intel.com>
To: edk2-devel@lists.01.org
Cc: Hao Wu <hao.a.wu@intel.com>, Ruiyu Ni <ruiyu.ni@intel.com>
Subject: [PATCH 0/2] Add EFI Partition Information Protocol
Date: Thu, 22 Jun 2017 16:44:38 +0800	[thread overview]
Message-ID: <20170622084440.7696-1-hao.a.wu@intel.com> (raw)

Add the EFI Partition Information Protocol per the latest UEFI spec.

Test for the series:
A simple application called 'DumpPartInfo' is used to dump the contents of
the Partition Information protocols when the following devices are
attached:
a. MBR Hard disk
b. GPT Hard disk
c. CDROM

The source of the application and the series is available at:
https://github.com/hwu25/edk2 branch:partition_info_test

Cc: Ruiyu Ni <ruiyu.ni@intel.com>

Hao Wu (2):
  MdePkg: Add EFI Partition Information Protocol definitions
  MdeModulePkg/PartitionDxe: Add impl of Partition Information Protocol

 MdeModulePkg/Universal/Disk/PartitionDxe/ElTorito.c       | 43 ++++++-----
 MdeModulePkg/Universal/Disk/PartitionDxe/Gpt.c            | 55 ++++++++------
 MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c            | 51 ++++++++-----
 MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c      | 23 ++++--
 MdeModulePkg/Universal/Disk/PartitionDxe/Partition.h      | 48 ++++++------
 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf |  3 +-
 MdePkg/Include/Protocol/PartitionInfo.h                   | 78 ++++++++++++++++++++
 MdePkg/MdePkg.dec                                         |  3 +
 8 files changed, 216 insertions(+), 88 deletions(-)
 create mode 100644 MdePkg/Include/Protocol/PartitionInfo.h

-- 
2.12.0.windows.1



             reply	other threads:[~2017-06-22  8:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22  8:44 Hao Wu [this message]
2017-06-22  8:44 ` [PATCH 1/2] MdePkg: Add EFI Partition Information Protocol definitions Hao Wu
2017-07-07  2:26   ` Ni, Ruiyu
2017-07-07  5:40     ` Wu, Hao A
2017-06-22  8:44 ` [PATCH 2/2] MdeModulePkg/PartitionDxe: Add impl of Partition Information Protocol Hao Wu
2017-07-07  2:24   ` Ni, Ruiyu

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=20170622084440.7696-1-hao.a.wu@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