summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Protocol/FvbExtension.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Include/Protocol/FvbExtension.h')
-rw-r--r--MdeModulePkg/Include/Protocol/FvbExtension.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/MdeModulePkg/Include/Protocol/FvbExtension.h b/MdeModulePkg/Include/Protocol/FvbExtension.h
index e961057..21b5d0c 100644
--- a/MdeModulePkg/Include/Protocol/FvbExtension.h
+++ b/MdeModulePkg/Include/Protocol/FvbExtension.h
@@ -24,29 +24,30 @@ typedef struct _EFI_FVB_EXTENSION_PROTOCOL EFI_FVB_EXTENSION_PROTOCOL;
//
// FVB Extension Function Prototypes
//
-/**
- Erases and initializes a specified range of a firmware volume
-
- @param[in] This Pointer to the FVB Extension protocol instance
- @param[in] StartLba The starting logical block index to be erased
+/**
+ Erases and initializes a specified range of a firmware volume block
+
+ @param[in] This Pointer to the FVB Extension protocol instance
+ @param[in] StartLba The starting logical block index to be erased
@param[in] OffsetStartLba Offset into the starting block at which to
- 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
-
+ 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_SUCCESS The specified range was erased successfully
+ @retval EFI_ACCESS_DENIED The firmware volume block is in the WriteDisabled state
+ @retval EFI_DEVICE_ERROR The block device is not functioning correctly and
+ could not be written. Firmware device may have been
+ partially erased
**/
typedef
EFI_STATUS
(EFIAPI * EFI_FV_ERASE_CUSTOM_BLOCK) (
IN EFI_FVB_EXTENSION_PROTOCOL *This,
- IN EFI_LBA StartLba,
- IN UINTN OffsetStartLba,
- IN EFI_LBA LastLba,
- IN UINTN OffsetLastLba
+ IN EFI_LBA StartLba,
+ IN UINTN OffsetStartLba,
+ IN EFI_LBA LastLba,
+ IN UINTN OffsetLastLba
);
//