]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmAccess2.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmAccess2.h
1 /** @file
2 EFI SMM Access2 Protocol as defined in the PI 1.2 specification.
3
4 This protocol is used to control the visibility of the SMRAM on the platform.
5 It abstracts the location and characteristics of SMRAM. The expectation is
6 that the north bridge or memory controller would publish this protocol.
7
8 The principal functionality found in the memory controller includes the following:
9 - Exposing the SMRAM to all non-SMM agents, or the "open" state
10 - Shrouding the SMRAM to all but the SMM agents, or the "closed" state
11 - Preserving the system integrity, or "locking" the SMRAM, such that the settings cannot be
12 perturbed by either boot service or runtime agents
13
14 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
15 SPDX-License-Identifier: BSD-2-Clause-Patent
16
17 **/
18
19 #ifndef _SMM_ACCESS2_H_
20 #define _SMM_ACCESS2_H_
21
22 #include <Protocol/MmAccess.h>
23
24 #define EFI_SMM_ACCESS2_PROTOCOL_GUID EFI_MM_ACCESS_PROTOCOL_GUID
25
26 typedef EFI_MM_ACCESS_PROTOCOL EFI_SMM_ACCESS2_PROTOCOL;
27
28 typedef EFI_MM_OPEN EFI_SMM_OPEN2;
29
30 typedef EFI_MM_CLOSE EFI_SMM_CLOSE2;
31
32 typedef EFI_MM_LOCK EFI_SMM_LOCK2;
33
34 typedef EFI_MM_CAPABILITIES EFI_SMM_CAPABILITIES2;
35 extern EFI_GUID gEfiSmmAccess2ProtocolGuid;
36
37 #endif
38