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
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.
19 SMM Status code Protocol as defined in the DXE CIS (Status Code Architectural Protocol)
21 This code abstracts SMM Status Code reporting.
25 #ifndef _PROTOCOL_SMM_STATUS_CODE_H__
26 #define _PROTOCOL_SMM_STATUS_CODE_H__
29 // Global ID for the Smm Status Code Protocol
31 #define EFI_SMM_STATUS_CODE_PROTOCOL_GUID \
33 0x6afd2b77, 0x98c1, 0x4acd, 0xa6, 0xf9, 0x8a, 0x94, 0x39, 0xde, 0xf, 0xb1 \
36 extern EFI_GUID gEfiSmmStatusCodeProtocolGuid
;
39 // Forward reference for pure ANSI compatability
41 EFI_FORWARD_DECLARATION (EFI_SMM_STATUS_CODE_PROTOCOL
);
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
,
50 IN EFI_GUID
* CallerId
,
51 IN EFI_STATUS_CODE_DATA
* Data OPTIONAL
54 typedef struct _EFI_SMM_STATUS_CODE_PROTOCOL
{
55 EFI_SMM_REPORT_STATUS_CODE ReportStatusCode
;
56 } EFI_SMM_STATUS_CODE_PROTOCOL
;