]>
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 LG |
14 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r |
15 | This program and the accompanying materials\r | |
16 | are licensed and made available under the terms and conditions of the BSD License\r | |
17 | which accompanies this distribution. The full text of the license may be found at\r | |
18 | http://opensource.org/licenses/bsd-license.php\r | |
8442c53e | 19 | \r |
9095d37b LG |
20 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
21 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
8442c53e | 22 | \r |
23 | **/\r | |
24 | \r | |
25 | #ifndef _SMM_ACCESS2_H_\r | |
26 | #define _SMM_ACCESS2_H_\r | |
27 | \r | |
2f208e59 | 28 | #include <Protocol/MmAccess.h>\r |
8442c53e | 29 | \r |
2f208e59 | 30 | #define EFI_SMM_ACCESS2_PROTOCOL_GUID EFI_MM_ACCESS_PROTOCOL_GUID\r |
8442c53e | 31 | \r |
2f208e59 | 32 | typedef EFI_MM_ACCESS_PROTOCOL EFI_SMM_ACCESS2_PROTOCOL;\r |
8442c53e | 33 | \r |
2f208e59 | 34 | typedef EFI_MM_OPEN EFI_SMM_OPEN2;\r |
8442c53e | 35 | \r |
2f208e59 | 36 | typedef EFI_MM_CLOSE EFI_SMM_CLOSE2;\r |
8442c53e | 37 | \r |
2f208e59 | 38 | typedef EFI_MM_LOCK EFI_SMM_LOCK2;\r |
8442c53e | 39 | \r |
2f208e59 | 40 | typedef EFI_MM_CAPABILITIES EFI_SMM_CAPABILITIES2;\r |
8442c53e | 41 | extern EFI_GUID gEfiSmmAccess2ProtocolGuid;\r |
42 | \r | |
43 | #endif\r | |
44 | \r |