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