]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/FirmwareManagementProgress.h
MdeModulePkg: Add DisplayUpdateProgressLib class
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FirmwareManagementProgress.h
CommitLineData
825d138f
MK
1/** @file\r
2 EDK II Firmware Management Progress Protocol.\r
3\r
4 Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials are licensed and made available under\r
6 the terms and conditions of the BSD License that accompanies this distribution.\r
7 The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php.\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__\r
16#define __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__\r
17\r
18#include <Protocol/GraphicsOutput.h>\r
19\r
20///\r
21/// EDK II Firmware Management Progress Protocol GUID value\r
22///\r
23#define EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_GUID \\r
24 { \\r
25 0x1849bda2, 0x6952, 0x4e86, { 0xa1, 0xdb, 0x55, 0x9a, 0x3c, 0x47, 0x9d, 0xf1 } \\r
26 }\r
27\r
28///\r
29/// EDK II Firmware Management Progress Protocol structure\r
30///\r
31typedef struct {\r
32 ///\r
33 /// The version of this structure. Initial version value is 0x00000001.\r
34 ///\r
35 UINT32 Version;\r
36 ///\r
37 /// The foreground color of a progress bar that is used by the Progress()\r
38 /// function that is passed into the Firmware Management Protocol SetImage()\r
39 /// service is called.\r
40 ///\r
41 EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION ProgressBarForegroundColor;\r
42 ///\r
43 /// The time in seconds to arm the watchdog timer each time the Progress()\r
44 /// function passed into the Firmware Management Protocol SetImage() service\r
45 /// is called.\r
46 ///\r
47 UINTN WatchdogSeconds;\r
48} EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL;\r
49\r
50///\r
51/// EDK II Firmware Management Progress Protocol GUID variable.\r
52///\r
53extern EFI_GUID gEdkiiFirmwareManagementProgressProtocolGuid;\r
54\r
55#endif\r