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 09D2D21BB2524 for ; Thu, 22 Jun 2017 01:43:24 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jun 2017 01:44:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,372,1493708400"; d="scan'208";a="102355067" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by orsmga002.jf.intel.com with ESMTP; 22 Jun 2017 01:44:47 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Ruiyu Ni Date: Thu, 22 Jun 2017 16:44:38 +0800 Message-Id: <20170622084440.7696-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH 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: Thu, 22 Jun 2017 08:43:24 -0000 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 | 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