summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Protocol/FvbExtension.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-24 07:53:20 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-24 07:53:20 +0000
commit76f1dde2c43e02a78af3d09aea48fa316d283a62 (patch)
treed153c6009a908ed5e626e5cd919ba7215cdf8545 /MdeModulePkg/Include/Protocol/FvbExtension.h
parent0a6f71704a8a3376ead7dc18b00a86a248181f4e (diff)
downloadedk2-76f1dde2c43e02a78af3d09aea48fa316d283a62.zip
edk2-76f1dde2c43e02a78af3d09aea48fa316d283a62.tar.gz
edk2-76f1dde2c43e02a78af3d09aea48fa316d283a62.tar.bz2
Move Crc32GuidedSectionExtraction from Protocol to Guid directory
Move DiskInfo protocol from MdeModulePkg to IntelFrameworkModulePkg Retire unused FvbExtension protocol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7638 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Protocol/FvbExtension.h')
-rw-r--r--MdeModulePkg/Include/Protocol/FvbExtension.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/MdeModulePkg/Include/Protocol/FvbExtension.h b/MdeModulePkg/Include/Protocol/FvbExtension.h
deleted file mode 100644
index f3918e9..0000000
--- a/MdeModulePkg/Include/Protocol/FvbExtension.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/** @file
-
- FVB Extension protocol provides one extended service to FVB protocol defined in PI specification.
- This service can erase the specified range of a firmware volume block.
-
-Copyright (c) 2006 - 2008, Intel Corporation
-All rights reserved. This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __FVB_EXTENSION_H__
-#define __FVB_EXTENSION_H__
-
-#define EFI_FVB_EXTENSION_PROTOCOL_GUID \
- {0x53a4c71b, 0xb581, 0x4170, {0x91, 0xb3, 0x8d, 0xb8, 0x7a, 0x4b, 0x5c, 0x46 } }
-
-typedef struct _EFI_FVB_EXTENSION_PROTOCOL EFI_FVB_EXTENSION_PROTOCOL;
-
-//
-// FVB Extension Function Prototypes
-//
-/**
- 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_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
-);
-
-//
-// FVB Extension PROTOCOL
-//
-struct _EFI_FVB_EXTENSION_PROTOCOL {
- EFI_FV_ERASE_CUSTOM_BLOCK EraseFvbCustomBlock;
-};
-
-extern EFI_GUID gEfiFvbExtensionProtocolGuid;
-
-#endif
-