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 This file defines SMM Control abstraction protocol defined
24 #ifndef _SMM_CONTROL_H_
25 #define _SMM_CONTROL_H_
27 EFI_FORWARD_DECLARATION (EFI_SMM_CONTROL_PROTOCOL
);
29 #define EFI_SMM_CONTROL_PROTOCOL_GUID \
31 0x8d12e231, 0xc667, 0x4fd1, 0x98, 0xf2, 0x24, 0x49, 0xa7, 0xe7, 0xb2, 0xe5 \
35 // SMM Control specification constant and types
37 // typedef EFI_SMM_PERIOD UINTN
39 // SMM Access specification Data Structures
42 UINT8 SmiTriggerRegister
;
43 UINT8 SmiDataRegister
;
44 } EFI_SMM_CONTROL_REGISTER
;
48 (EFIAPI
*EFI_SMM_ACTIVATE
) (
49 IN EFI_SMM_CONTROL_PROTOCOL
* This
,
50 IN OUT INT8
*ArgumentBuffer OPTIONAL
,
51 IN OUT UINTN
*ArgumentBufferSize OPTIONAL
,
52 IN BOOLEAN Periodic OPTIONAL
,
53 IN UINTN ActivationInterval OPTIONAL
58 (EFIAPI
*EFI_SMM_DEACTIVATE
) (
59 IN EFI_SMM_CONTROL_PROTOCOL
* This
,
60 IN BOOLEAN Periodic OPTIONAL
65 (EFIAPI
*EFI_SMM_GET_REGISTER_INFO
) (
66 IN EFI_SMM_CONTROL_PROTOCOL
* This
,
67 IN OUT EFI_SMM_CONTROL_REGISTER
* SmiRegister
70 typedef struct _EFI_SMM_CONTROL_PROTOCOL
{
71 EFI_SMM_ACTIVATE Trigger
;
72 EFI_SMM_DEACTIVATE Clear
;
73 EFI_SMM_GET_REGISTER_INFO GetRegisterInfo
;
74 UINTN MinimumTriggerPeriod
;
75 } EFI_SMM_CONTROL_PROTOCOL
;
77 extern EFI_GUID gEfiSmmControlProtocolGuid
;