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