]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Ppi/BlockIo.h
Add the following PI 1.2 PPIs to the MdePkg
[mirror_edk2.git] / IntelFrameworkPkg / Include / Ppi / BlockIo.h
index 145139bf3383d18f9b17a137ecab8fc453ce04de..1e9625bf1ef5a2f73af1d22ef7f6720b915a02e2 100644 (file)
@@ -10,8 +10,6 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-  Module Name:  BlockIo.h\r
-\r
   @par Revision Reference:\r
   This PPI is defined in Framework of EFI Recovery Spec\r
   Version 0.9\r
@@ -21,8 +19,6 @@
 #ifndef _PEI_BLOCK_IO_H_\r
 #define _PEI_BLOCK_IO_H_\r
 \r
-#include <PiPei.h>\r
-\r
 #define EFI_PEI_IDE_BLOCK_IO_PPI \\r
   { \\r
     0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b }  \\r
@@ -50,6 +46,14 @@ typedef enum {
   MaxDeviceType\r
 } EFI_PEI_BLOCK_DEVICE_TYPE;\r
 \r
+///\r
+/// Inconsistent with specification here: \r
+/// PEI_BLOCK_IO_MEDIA has been changed to EFI_PEI_BLOCK_IO_MEDIA.\r
+/// Inconsistency exists in Framework Recovery Specification, where all referrences to this\r
+/// structure name are with the "EFI_" prefix, except for the definition which is without "EFI_".\r
+/// So the name of PEI_BLOCK_IO_MEDIA is taken as the exception caused by mistake, and\r
+/// EFI_PEI_BLOCK_IO_MEDIA is used to comply with most part of the specification.\r
+///\r
 typedef struct {\r
   EFI_PEI_BLOCK_DEVICE_TYPE  DeviceType;\r
   BOOLEAN                    MediaPresent;\r