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