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 <[email protected]>

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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to