]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Protocol/FvbExtension.h
Update to include Crc32SectionExtract.h
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FvbExtension.h
1 /*++
2
3 Copyright (c) 2006 - 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 FvbExtension.h
15
16 Abstract:
17
18 FVB Extension protocol that extends the FVB Class in a component fashion.
19
20 --*/
21
22 #ifndef __FVB_EXTENSION_H__
23 #define __FVB_EXTENSION_H__
24
25 #define EFI_FVB_EXTENSION_PROTOCOL_GUID \
26 {0x53a4c71b, 0xb581, 0x4170, {0x91, 0xb3, 0x8d, 0xb8, 0x7a, 0x4b, 0x5c, 0x46 } }
27
28 typedef struct _EFI_FVB_EXTENSION_PROTOCOL EFI_FVB_EXTENSION_PROTOCOL;
29
30 //
31 // FVB Extension Function Prototypes
32 //
33 typedef
34 EFI_STATUS
35 (EFIAPI * EFI_FV_ERASE_CUSTOM_BLOCK) (
36 IN EFI_FVB_EXTENSION_PROTOCOL *This,
37 IN EFI_LBA StartLba,
38 IN UINTN OffsetStartLba,
39 IN EFI_LBA LastLba,
40 IN UINTN OffsetLastLba
41 );
42
43 //
44 // IPMI TRANSPORT PROTOCOL
45 //
46 struct _EFI_FVB_EXTENSION_PROTOCOL {
47 EFI_FV_ERASE_CUSTOM_BLOCK EraseFvbCustomBlock;
48 };
49
50 extern EFI_GUID gEfiFvbExtensionProtocolGuid;
51
52 #endif
53