]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmAccess2.h
MdePkg: Clean up source files
[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 This program and the accompanying materials
16 are licensed and made available under the terms and conditions of the BSD License
17 which accompanies this distribution. The full text of the license may be found at
18 http://opensource.org/licenses/bsd-license.php
19
20 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22
23 **/
24
25 #ifndef _SMM_ACCESS2_H_
26 #define _SMM_ACCESS2_H_
27
28 #include <Protocol/MmAccess.h>
29
30 #define EFI_SMM_ACCESS2_PROTOCOL_GUID EFI_MM_ACCESS_PROTOCOL_GUID
31
32 typedef EFI_MM_ACCESS_PROTOCOL EFI_SMM_ACCESS2_PROTOCOL;
33
34 typedef EFI_MM_OPEN EFI_SMM_OPEN2;
35
36 typedef EFI_MM_CLOSE EFI_SMM_CLOSE2;
37
38 typedef EFI_MM_LOCK EFI_SMM_LOCK2;
39
40 typedef EFI_MM_CAPABILITIES EFI_SMM_CAPABILITIES2;
41 extern EFI_GUID gEfiSmmAccess2ProtocolGuid;
42
43 #endif
44