]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Protocol / FaultTolerantWriteLite / FaultTolerantWriteLite.h
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h b/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h
deleted file mode 100644 (file)
index aeb872f..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials                          \r
-are licensed and made available under the terms and conditions of the BSD License         \r
-which accompanies this distribution.  The full text of the license may be found at        \r
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-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:\r
-\r
-  FaultTolerantWriteLite.h\r
-\r
-Abstract:\r
-\r
-  This is a simple fault tolerant write driver, based on PlatformFd library.\r
-  And it only supports write BufferSize <= SpareAreaLength.\r
-\r
---*/\r
-\r
-#ifndef _FW_FAULT_TOLERANT_WRITE_LITE_PROTOCOL_H_\r
-#define _FW_FAULT_TOLERANT_WRITE_LITE_PROTOCOL_H_\r
-\r
-#define EFI_FTW_LITE_PROTOCOL_GUID \\r
-{ 0x3f557189, 0x8dae, 0x45ae, {0xa0, 0xb3, 0x2b, 0x99, 0xca, 0x7a, 0xa7, 0xa0} }\r
-\r
-//\r
-// Forward reference for pure ANSI compatability\r
-//\r
-EFI_FORWARD_DECLARATION (EFI_FTW_LITE_PROTOCOL);\r
-\r
-//\r
-// Protocol API definitions\r
-//\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI * EFI_FTW_LITE_WRITE) (\r
-  IN EFI_FTW_LITE_PROTOCOL             *This,\r
-  IN EFI_HANDLE                        FvbHandle,\r
-  IN EFI_LBA                           Lba,\r
-  IN UINTN                             Offset,\r
-  IN UINTN                             *NumBytes,\r
-  IN VOID                              *Buffer\r
-  );\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Starts a target block update. This records information about the write \r
-  in fault tolerant storage and will complete the write in a recoverable \r
-  manner, ensuring at all times that either the original contents or \r
-  the modified contents are available.\r
-\r
-Arguments:\r
-\r
-  This             - Calling context\r
-  FvBlockHandle    - The handle of FVB protocol that provides services for \r
-                     reading, writing, and erasing the target block.\r
-  Lba              - The logical block address of the target block.  \r
-  Offset           - The offset within the target block to place the data.\r
-  Length           - The number of bytes to write to the target block.\r
-  Buffer           - The data to write.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS          - The function completed successfully\r
-  EFI_ABORTED          - The function could not complete successfully.\r
-  EFI_BAD_BUFFER_SIZE  - The write would span a block boundary, \r
-                         which is not a valid action.\r
-  EFI_ACCESS_DENIED    - No writes have been allocated.\r
-  EFI_NOT_READY        - The last write has not been completed.  \r
-                         Restart () must be called to complete it.\r
-\r
---*/\r
-\r
-//\r
-// Protocol declaration\r
-//\r
-struct _EFI_FTW_LITE_PROTOCOL {\r
-  EFI_FTW_LITE_WRITE               Write;\r
-};\r
-\r
-extern EFI_GUID gEfiFaultTolerantWriteLiteProtocolGuid;\r
-\r
-#endif\r