]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2002, 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 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | SmmStatusCode.h\r | |
16 | \r | |
17 | Abstract:\r | |
18 | \r | |
19 | SMM Status code Protocol as defined in the DXE CIS (Status Code Architectural Protocol)\r | |
20 | \r | |
21 | This code abstracts SMM Status Code reporting.\r | |
22 | \r | |
23 | --*/\r | |
24 | \r | |
25 | #ifndef _PROTOCOL_SMM_STATUS_CODE_H__\r | |
26 | #define _PROTOCOL_SMM_STATUS_CODE_H__\r | |
27 | \r | |
28 | //\r | |
29 | // Global ID for the Smm Status Code Protocol\r | |
30 | //\r | |
31 | #define EFI_SMM_STATUS_CODE_PROTOCOL_GUID \\r | |
32 | { \\r | |
33 | 0x6afd2b77, 0x98c1, 0x4acd, 0xa6, 0xf9, 0x8a, 0x94, 0x39, 0xde, 0xf, 0xb1 \\r | |
34 | }\r | |
35 | \r | |
36 | extern EFI_GUID gEfiSmmStatusCodeProtocolGuid;\r | |
37 | \r | |
38 | //\r | |
39 | // Forward reference for pure ANSI compatability\r | |
40 | //\r | |
41 | EFI_FORWARD_DECLARATION (EFI_SMM_STATUS_CODE_PROTOCOL);\r | |
42 | \r | |
43 | typedef\r | |
44 | EFI_STATUS\r | |
45 | (EFIAPI *EFI_SMM_REPORT_STATUS_CODE) (\r | |
46 | IN EFI_SMM_STATUS_CODE_PROTOCOL * This,\r | |
47 | IN EFI_STATUS_CODE_TYPE CodeType,\r | |
48 | IN EFI_STATUS_CODE_VALUE Value,\r | |
49 | IN UINT32 Instance,\r | |
50 | IN EFI_GUID * CallerId,\r | |
51 | IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r | |
52 | );\r | |
53 | \r | |
5d46191d | 54 | struct _EFI_SMM_STATUS_CODE_PROTOCOL {\r |
3eb9473e | 55 | EFI_SMM_REPORT_STATUS_CODE ReportStatusCode;\r |
5d46191d | 56 | };\r |
3eb9473e | 57 | \r |
58 | #endif\r |