Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame^] | 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 - 2009, Intel Corporation. All rights reserved.<BR>
|
| 6 | This program and the accompanying materials
|
| 7 | are licensed and made available under the terms and conditions of the BSD License
|
| 8 | which accompanies this distribution. The full text of the license may be found at
|
| 9 | http://opensource.org/licenses/bsd-license.php
|
| 10 |
|
| 11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 13 |
|
| 14 | @par Revision Reference:
|
| 15 | This PPI is introduced in PI Version 1.0.
|
| 16 |
|
| 17 | **/
|
| 18 |
|
| 19 | #ifndef __STATUS_CODE_PPI_H__
|
| 20 | #define __STATUS_CODE_PPI_H__
|
| 21 |
|
| 22 | #define EFI_PEI_REPORT_PROGRESS_CODE_PPI_GUID \
|
| 23 | { 0x229832d3, 0x7a30, 0x4b36, {0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36 } }
|
| 24 |
|
| 25 | //
|
| 26 | // EFI_PEI_PROGRESS_CODE_PPI.ReportStatusCode() is equivalent to the
|
| 27 | // PEI Service ReportStatusCode().
|
| 28 | // It is introduced in PIPeiCis.h.
|
| 29 | //
|
| 30 |
|
| 31 | ///
|
| 32 | /// This PPI provides the service to report status code.
|
| 33 | /// There can be only one instance of this service in the system.
|
| 34 | ///
|
| 35 | typedef struct {
|
| 36 | EFI_PEI_REPORT_STATUS_CODE ReportStatusCode;
|
| 37 | } EFI_PEI_PROGRESS_CODE_PPI;
|
| 38 |
|
| 39 | extern EFI_GUID gEfiPeiStatusCodePpiGuid;
|
| 40 |
|
| 41 | #endif
|