]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Ppi/StatusCode.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Ppi / StatusCode.h
... / ...
CommitLineData
1/** @file\r
2 This file declares Status Code PPI.\r
3 This ppi provides a service that allows PEIMs to report status codes.\r
4\r
5 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
6 SPDX-License-Identifier: BSD-2-Clause-Patent\r
7\r
8 @par Revision Reference:\r
9 This PPI is introduced in PI Version 1.0.\r
10\r
11**/\r
12\r
13#ifndef __STATUS_CODE_PPI_H__\r
14#define __STATUS_CODE_PPI_H__\r
15\r
16#define EFI_PEI_REPORT_PROGRESS_CODE_PPI_GUID \\r
17 { 0x229832d3, 0x7a30, 0x4b36, {0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36 } }\r
18\r
19//\r
20// EFI_PEI_PROGRESS_CODE_PPI.ReportStatusCode() is equivalent to the\r
21// PEI Service ReportStatusCode().\r
22// It is introduced in PIPeiCis.h.\r
23//\r
24\r
25///\r
26/// This PPI provides the service to report status code.\r
27/// There can be only one instance of this service in the system.\r
28///\r
29typedef struct {\r
30 EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;\r
31} EFI_PEI_PROGRESS_CODE_PPI;\r
32\r
33extern EFI_GUID gEfiPeiStatusCodePpiGuid;\r
34\r
35#endif\r