]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/EdkFvbServiceLib/Fvb.h
Move Crc32GuidedSectionExtraction from Protocol to Guid directory
[mirror_edk2.git] / MdeModulePkg / Library / EdkFvbServiceLib / Fvb.h
1 /** @file
2 The internal header file includes the common header files, defines
3 internal structure FVB_ENTRY.
4
5 Copyright (c) 2006 - 2008, Intel Corporation. <BR>
6
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions
9 of the BSD License which accompanies this distribution. The
10 full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #ifndef __FVB_H__
19 #define __FVB_H__
20
21
22 #include <PiDxe.h>
23
24 #include <Protocol/FirmwareVolumeBlock.h>
25
26 #include <Library/FvbServiceLib.h>
27 #include <Library/UefiLib.h>
28 #include <Library/BaseLib.h>
29 #include <Library/DebugLib.h>
30 #include <Library/BaseMemoryLib.h>
31 #include <Library/UefiRuntimeLib.h>
32 #include <Library/UefiBootServicesTableLib.h>
33 #include <Library/MemoryAllocationLib.h>
34
35 #include <Guid/EventGroup.h>
36
37 #define MAX_FVB_COUNT 16
38
39 typedef struct {
40 EFI_HANDLE Handle;
41 EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb;
42 BOOLEAN IsRuntimeAccess;
43 } FVB_ENTRY;
44
45 #endif