]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Protocol/FirmwareManagementProgress.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / FirmwareManagementProgress.h
1 /** @file
2 EDK II Firmware Management Progress Protocol.
3
4 Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__
10 #define __EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_H__
11
12 #include <Protocol/GraphicsOutput.h>
13
14 ///
15 /// EDK II Firmware Management Progress Protocol GUID value
16 ///
17 #define EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL_GUID \
18 { \
19 0x1849bda2, 0x6952, 0x4e86, { 0xa1, 0xdb, 0x55, 0x9a, 0x3c, 0x47, 0x9d, 0xf1 } \
20 }
21
22 ///
23 /// EDK II Firmware Management Progress Protocol structure
24 ///
25 typedef struct {
26 ///
27 /// The version of this structure. Initial version value is 0x00000001.
28 ///
29 UINT32 Version;
30 ///
31 /// The foreground color of a progress bar that is used by the Progress()
32 /// function that is passed into the Firmware Management Protocol SetImage()
33 /// service is called.
34 ///
35 EFI_GRAPHICS_OUTPUT_BLT_PIXEL_UNION ProgressBarForegroundColor;
36 ///
37 /// The time in seconds to arm the watchdog timer each time the Progress()
38 /// function passed into the Firmware Management Protocol SetImage() service
39 /// is called.
40 ///
41 UINTN WatchdogSeconds;
42 } EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL;
43
44 ///
45 /// EDK II Firmware Management Progress Protocol GUID variable.
46 ///
47 extern EFI_GUID gEdkiiFirmwareManagementProgressProtocolGuid;
48
49 #endif