]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Protocol/FirmwareManagementProgress.h
MdeModulePkg: Add DisplayUpdateProgressLib class
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FirmwareManagementProgress.h
diff --git a/MdeModulePkg/Include/Protocol/FirmwareManagementProgress.h b/MdeModulePkg/Include/Protocol/FirmwareManagementProgress.h
new file mode 100644 (file)
index 0000000..21f9190
--- /dev/null
@@ -0,0 +1,55 @@
+/** @file\r
+  EDK II Firmware Management Progress Protocol.\r
+\r
+  Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The 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 __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__\r
+#define __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__\r
+\r
+#include <Protocol/GraphicsOutput.h>\r
+\r
+///\r
+/// EDK II Firmware Management Progress Protocol GUID value\r
+///\r
+#define EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_GUID \\r
+  { \\r
+    0x1849bda2, 0x6952, 0x4e86, { 0xa1, 0xdb, 0x55, 0x9a, 0x3c, 0x47, 0x9d, 0xf1 } \\r
+  }\r
+\r
+///\r
+/// EDK II Firmware Management Progress Protocol structure\r
+///\r
+typedef struct {\r
+  ///\r
+  /// The version of this structure.  Initial version value is 0x00000001.\r
+  ///\r
+  UINT32                               Version;\r
+  ///\r
+  /// The foreground color of a progress bar that is used by the Progress()\r
+  /// function that is passed into the Firmware Management Protocol SetImage()\r
+  /// service is called.\r
+  ///\r
+  EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION  ProgressBarForegroundColor;\r
+  ///\r
+  /// The time in seconds to arm the watchdog timer each time the Progress()\r
+  /// function passed into the  Firmware Management Protocol SetImage() service\r
+  /// is called.\r
+  ///\r
+  UINTN                                WatchdogSeconds;\r
+} EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL;\r
+\r
+///\r
+/// EDK II Firmware Management Progress Protocol GUID variable.\r
+///\r
+extern EFI_GUID gEdkiiFirmwareManagementProgressProtocolGuid;\r
+\r
+#endif\r