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