]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/FvbExtension.h
Code scrube for MdeModule Definitions.
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FvbExtension.h
index e961057f91e64fb7c6f07f46424db1b8460fc998..21b5d0c7bc4ae241541232bb200badb2bb8922cf 100644 (file)
@@ -24,29 +24,30 @@ typedef struct _EFI_FVB_EXTENSION_PROTOCOL EFI_FVB_EXTENSION_PROTOCOL;
 //\r
 //  FVB Extension Function Prototypes\r
 //\r
-/**
-  Erases and initializes a specified range of a firmware volume\r
-
-  @param[in]     This           Pointer to the FVB Extension protocol instance
-  @param[in]     StartLba       The starting logical block index to be erased
+/**\r
+  Erases and initializes a specified range of a firmware volume block\r
+\r
+  @param[in]     This           Pointer to the FVB Extension protocol instance\r
+  @param[in]     StartLba       The starting logical block index to be erased\r
   @param[in]     OffsetStartLba Offset into the starting block at which to \r
-                                begin erasing    
-  @param[in]     LastLba        The last logical block index to be erased
-  @param[in]     OffsetLastLba  Offset into the last block at which to end erasing     
-
-  @retval   EFI_EFI_SUCCESS        Range was erased 
-  @retval   EFI_INVALID_PARAMETER  invalid parameter
-  @retval   EFI_UNSUPPORTED        Range can not be erased\r
-
+                                begin erasing    \r
+  @param[in]     LastLba        The last logical block index to be erased\r
+  @param[in]     OffsetLastLba  Offset into the last block at which to end erasing     \r
+\r
+  @retval EFI_SUCCESS           The specified range was erased successfully\r
+  @retval EFI_ACCESS_DENIED     The firmware volume block is in the WriteDisabled state\r
+  @retval EFI_DEVICE_ERROR      The block device is not functioning correctly and \r
+                                could not be written. Firmware device may have been\r
+                                partially erased\r
 **/\r
 typedef\r
 EFI_STATUS\r
 (EFIAPI * EFI_FV_ERASE_CUSTOM_BLOCK) (\r
   IN EFI_FVB_EXTENSION_PROTOCOL   *This,\r
-  IN EFI_LBA                              StartLba,\r
-  IN UINTN                                OffsetStartLba,\r
-  IN EFI_LBA                              LastLba,\r
-  IN UINTN                                OffsetLastLba\r
+  IN EFI_LBA                      StartLba,\r
+  IN UINTN                        OffsetStartLba,\r
+  IN EFI_LBA                      LastLba,\r
+  IN UINTN                        OffsetLastLba\r
 );\r
 \r
 //\r