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