summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Protocol/FvbExtension.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 13:29:42 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-08 13:29:42 +0000
commit5f597758e20f046a7a76e728370b99308cf2c8a0 (patch)
tree749e4d98131de9bc655860cf2a715d8b9cc75703 /MdeModulePkg/Include/Protocol/FvbExtension.h
parent78c2ffb5a7172b9c5fbef15b5edc7aae3de5d4f2 (diff)
downloadedk2-5f597758e20f046a7a76e728370b99308cf2c8a0.zip
edk2-5f597758e20f046a7a76e728370b99308cf2c8a0.tar.gz
edk2-5f597758e20f046a7a76e728370b99308cf2c8a0.tar.bz2
Code scrube for MdeModule Definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5428 6f19259b-4bc3-4df7-8a09-765794883524
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
);
//