From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 261D02095897D for ; Thu, 6 Jul 2017 22:38:08 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jul 2017 22:39:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,320,1496127600"; d="scan'208";a="124202117" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by fmsmga006.fm.intel.com with ESMTP; 06 Jul 2017 22:39:48 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Ruiyu Ni Date: Fri, 7 Jul 2017 13:39:42 +0800 Message-Id: <20170707053944.10500-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH v2 0/2] Add EFI Partition Information Protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2017 05:38:08 -0000 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 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