]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2005, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | Pei.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Framework PEI master include file.\r | |
19 | \r | |
20 | This is the main include file for Framework PEI components. There should be\r | |
21 | no defines or macros added to this file, other than the EFI version \r | |
22 | information already in this file.\r | |
23 | \r | |
24 | Don't add include files to the list for convenience, only add things\r | |
25 | that are architectural. Don't add Protocols or GUID include files here\r | |
26 | \r | |
27 | --*/\r | |
28 | \r | |
29 | #ifndef _PEI_H_\r | |
30 | #define _PEI_H_\r | |
31 | \r | |
32 | //\r | |
33 | // PEI Specification Revision information\r | |
34 | //\r | |
35 | #include "TianoCommon.h"\r | |
36 | \r | |
37 | #include "PeiBind.h"\r | |
38 | #include "PeiApi.h"\r | |
39 | #include "EfiDebug.h"\r | |
40 | #include "PeiDebug.h"\r | |
41 | \r | |
42 | //\r | |
43 | // Enable code sharing with DXE by removing ASSERT and DEBUG\r | |
44 | //\r | |
45 | // #define ASSERT(a)\r | |
46 | // #define DEBUG (a)\r | |
47 | //\r | |
48 | \r | |
49 | #ifdef EFI_PEI_REPORT_STATUS_CODE_ON\r | |
50 | #define PEI_REPORT_STATUS_CODE_CODE(Code) Code\r | |
51 | #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data) \\r | |
52 | (*PeiServices)->PeiReportStatusCode (PeiServices, CodeType, Value, Instance, CallerId, Data)\r | |
53 | #else\r | |
54 | #define PEI_REPORT_STATUS_CODE_CODE(Code)\r | |
55 | #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data)\r | |
56 | #endif\r | |
57 | \r | |
58 | #endif\r |