1 /*++ 2 3 Copyright (c) 2004 - 2005, 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 Pei.h 15 16 Abstract: 17 18 Framework PEI master include file. 19 20 This is the main include file for Framework PEI components. There should be 21 no defines or macros added to this file, other than the EFI version 22 information already in this file. 23 24 Don't add include files to the list for convenience, only add things 25 that are architectural. Don't add Protocols or GUID include files here 26 27 --*/ 28 29 #ifndef _PEI_H_ 30 #define _PEI_H_ 31 32 // 33 // PEI Specification Revision information 34 // 35 #include "TianoCommon.h" 36 37 #include "PeiBind.h" 38 #include "PeiApi.h" 39 #include "EfiDebug.h" 40 #include "PeiDebug.h" 41 42 // 43 // Enable code sharing with DXE by removing ASSERT and DEBUG 44 // 45 // #define ASSERT(a) 46 // #define DEBUG (a) 47 // 48 49 #ifdef EFI_PEI_REPORT_STATUS_CODE_ON 50 #define PEI_REPORT_STATUS_CODE_CODE(Code) Code 51 #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data) \ 52 (*PeiServices)->PeiReportStatusCode (PeiServices, CodeType, Value, Instance, CallerId, Data) 53 #else 54 #define PEI_REPORT_STATUS_CODE_CODE(Code) 55 #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data) 56 #endif 57 58 #endif 59