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