]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/FaultTolerantWriteLite.h
[Description]:
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FaultTolerantWriteLite.h
index 7eb83e8e57342e5acd1bf32f6e52eb8cf80fe34b..97b9b816535f15c50c8eaa7b2986d2d78801ce74 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
-  This is a simple fault tolerant write driver, based on PlatformFd library.\r
-  And it only supports write BufferSize <= SpareAreaLength.\r
+  Fault tolerant write lite protocol defines only one interface to write \r
+  the buffer to the fault tolerant storage.\r
 \r
 Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
@@ -33,7 +33,7 @@ typedef struct _EFI_FTW_LITE_PROTOCOL EFI_FTW_LITE_PROTOCOL;
   manner, ensuring at all times that either the original contents or\r
   the modified contents are available.\r
 \r
-  @param  This                 Calling context \r
+  @param  This                 The pointer to this protocol instance. \r
   @param  FvBlockHandle        The handle of FVB protocol that provides services \r
                                for reading, writing, and erasing the target \r
                                block. \r
@@ -45,12 +45,11 @@ typedef struct _EFI_FTW_LITE_PROTOCOL EFI_FTW_LITE_PROTOCOL;
 \r
   @retval EFI_SUCCESS          The function completed successfully \r
   @retval EFI_ABORTED          The function could not complete successfully. \r
-  @retval EFI_BAD_BUFFER_SIZE  The write would span a block boundary, which is \r
-                               not a valid action. \r
+  @retval EFI_BAD_BUFFER_SIZE  The input data can't fit within the target block. \r
   @retval EFI_ACCESS_DENIED    No writes have been allocated. \r
-  @retval EFI_NOT_READY        The last write has not been completed. Restart () \r
-                               must be called to complete it. \r
-\r
+  @retval EFI_OUT_OF_RESOURCES Cannot allocate enough memory resource.\r
+  @retval EFI_NOT_FOUND        Cannot find FVB protocol by handle.\r
+  \r
 **/\r
 typedef\r
 EFI_STATUS\r