V2 changes:
Remove forward reference for structure EFI_PARTITION_INFO_PROTOCOL, since
there is no usage of the pointer of protocol structure as 'This'
parameter.
V1 history:
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 | 74 ++++++++++++++++++++
MdePkg/MdePkg.dec | 3 +
8 files changed, 212 insertions(+), 88 deletions(-)
create mode 100644 MdePkg/Include/Protocol/PartitionInfo.h
--
2.12.0.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel