]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/EdkFvbServiceLib/Fvb.h
Move FvbServiceLib, GraphicsLib, and DxePalLib from MDE package due to package depend...
[mirror_edk2.git] / MdeModulePkg / Library / EdkFvbServiceLib / Fvb.h
diff --git a/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.h b/MdeModulePkg/Library/EdkFvbServiceLib/Fvb.h
new file mode 100644 (file)
index 0000000..5d54fd1
--- /dev/null
@@ -0,0 +1,44 @@
+/** @file \r
+  The internal header file includes the common header files, defines\r
+  internal structure FVB_ENTRY.\r
+\r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions\r
+of the BSD License which accompanies this distribution.  The\r
+full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __FVB_H__\r
+#define __FVB_H__\r
+\r
+\r
+#include <PiDxe.h>\r
+\r
+#include <Protocol/FirmwareVolumeBlock.h>\r
+#include <Protocol/FvbExtension.h>\r
+\r
+#include <Library/FvbServiceLib.h>\r
+#include <Library/UefiLib.h>\r
+#include <Library/BaseLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/UefiRuntimeLib.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
+\r
+#define MAX_FVB_COUNT 16\r
+\r
+typedef struct {\r
+  EFI_HANDLE                          Handle;\r
+  EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL  *Fvb;\r
+  EFI_FVB_EXTENSION_PROTOCOL          *FvbExtension;\r
+  BOOLEAN                             IsRuntimeAccess;\r
+} FVB_ENTRY;\r
+\r
+#endif\r