1 /*++ 2 3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 StatusCode.h 15 16 Abstract: 17 18 Status Code PPI as defined in Tiano 19 20 --*/ 21 22 #ifndef _PEI_STATUS_CODE_PPI_H 23 #define _PEI_STATUS_CODE_PPI_H 24 25 #define PEI_STATUS_CODE_PPI_GUID \ 26 { \ 27 0x229832d3, 0x7a30, 0x4b36, {0xb8, 0x27, 0xf4, 0xc, 0xb7, 0xd4, 0x54, 0x36} \ 28 } 29 30 EFI_FORWARD_DECLARATION (PEI_STATUS_CODE_PPI); 31 32 typedef 33 EFI_STATUS 34 (EFIAPI *PEI_REPORT_STATUS_CODE) ( 35 IN EFI_PEI_SERVICES **PeiServices, 36 IN EFI_STATUS_CODE_TYPE CodeType, 37 IN EFI_STATUS_CODE_VALUE Value, 38 IN UINT32 Instance, 39 IN EFI_GUID * CallerId, 40 IN EFI_STATUS_CODE_DATA * Data OPTIONAL 41 ); 42 43 struct _PEI_STATUS_CODE_PPI { 44 PEI_REPORT_STATUS_CODE ReportStatusCode; 45 }; 46 47 extern EFI_GUID gPeiStatusCodePpiGuid; 48 49 #endif 50