]> git.proxmox.com Git - mirror_edk2.git/blobdiff - FatPkg/FatPei/FatLitePeim.h
FatPkg: Add RecoveryBlockIo2Ppi support
[mirror_edk2.git] / FatPkg / FatPei / FatLitePeim.h
index 69429fe03a17924d1da1342e5dcf246de90fdc2f..e838390de4db24929b91ca9b9c100420f58eee79 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Data structures for FAT recovery PEIM\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials are licensed and made available\r
 under the terms and conditions of the BSD License which accompanies this\r
@@ -20,6 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <Guid/RecoveryDevice.h>\r
 #include <Ppi/BlockIo.h>\r
+#include <Ppi/BlockIo2.h>\r
 #include <Ppi/DeviceRecoveryModule.h>\r
 \r
 #include <Library/DebugLib.h>\r
@@ -73,11 +74,13 @@ typedef struct {
   // Following fields only valid for physical device\r
   //\r
   EFI_PEI_BLOCK_DEVICE_TYPE     DevType;\r
+  UINT8                         InterfaceType;\r
   //\r
   // EFI_PEI_READ_BLOCKS         ReadFunc;\r
   //\r
-  EFI_PEI_RECOVERY_BLOCK_IO_PPI *BlockIo;\r
-  UINT8                         PhysicalDevNo;\r
+  EFI_PEI_RECOVERY_BLOCK_IO_PPI  *BlockIo;\r
+  EFI_PEI_RECOVERY_BLOCK_IO2_PPI *BlockIo2;\r
+  UINT8                          PhysicalDevNo;\r
 } PEI_FAT_BLOCK_DEVICE;\r
 \r
 //\r
@@ -150,7 +153,7 @@ typedef struct {
   UINTN                               Signature;\r
   EFI_PEI_DEVICE_RECOVERY_MODULE_PPI  DeviceRecoveryPpi;\r
   EFI_PEI_PPI_DESCRIPTOR              PpiDescriptor;\r
-  EFI_PEI_NOTIFY_DESCRIPTOR           NotifyDescriptor;\r
+  EFI_PEI_NOTIFY_DESCRIPTOR           NotifyDescriptor[2];\r
 \r
   UINT8                               UnicodeCaseMap[0x300];\r
   CHAR8                               *EngUpperMap;\r