94774441 |
1 | /**\r |
2 | The internal header file for EdkFvbServiceLib.\r |
3 | \r |
4 | Copyright (c) 2006 Intel Corporation. <BR>\r |
5 | All rights reserved. This program and the accompanying materials\r |
6 | are licensed and made available under the terms and conditions of the BSD License\r |
7 | which accompanies this distribution. The full text of the license may be found at\r |
8 | http://opensource.org/licenses/bsd-license.php\r |
9 | \r |
10 | **/\r |
11 | \r |
12 | #ifndef __FVB_H__\r |
13 | #define __FVB_H__\r |
14 | \r |
15 | //\r |
16 | // The package level header files this module uses\r |
17 | //\r |
18 | #include <PiDxe.h>\r |
19 | //\r |
20 | // The protocols, PPI and GUID defintions for this module\r |
21 | //\r |
22 | #include <Protocol/FirmwareVolumeBlock.h>\r |
23 | #include <Protocol/FvbExtension.h>\r |
24 | //\r |
25 | // The Library classes this module consumes\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 |
34 | \r |
35 | #define MAX_FVB_COUNT 16\r |
36 | \r |
37 | typedef struct {\r |
38 | EFI_HANDLE Handle;\r |
39 | EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb;\r |
40 | EFI_FVB_EXTENSION_PROTOCOL *FvbExtension;\r |
41 | BOOLEAN IsRuntimeAccess;\r |
42 | } FVB_ENTRY;\r |
43 | \r |
44 | #endif\r |