3 Parts of the SMM/MM implementation that are specific to standalone MM
5 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved. <BR>
6 Copyright (c) 2018, Linaro, Ltd. All rights reserved. <BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
14 This function checks if the buffer is valid per processor architecture and
15 does not overlap with SMRAM.
17 @param Buffer The buffer start address to be checked.
18 @param Length The buffer length to be checked.
20 @retval TRUE This buffer is valid per processor architecture and does not
22 @retval FALSE This buffer is not valid per processor architecture or overlaps
26 VariableSmmIsBufferOutsideSmmValid (
27 IN EFI_PHYSICAL_ADDRESS Buffer
,
35 Notify the system that the SMM variable driver is ready.
38 VariableNotifySmmReady (
45 Notify the system that the SMM variable write driver is ready.
48 VariableNotifySmmWriteReady (
55 Variable service MM driver entry point.
57 @param[in] ImageHandle A handle for the image that is initializing this
59 @param[in] MmSystemTable A pointer to the MM system table
61 @retval EFI_SUCCESS Variable service successfully initialized.
65 VariableServiceInitialize (
66 IN EFI_HANDLE ImageHandle
,
67 IN EFI_MM_SYSTEM_TABLE
*MmSystemTable
70 return MmVariableServiceInitialize ();
74 Whether the TCG or TCG2 protocols are installed in the UEFI protocol database.
75 This information is used by the MorLock code to infer whether an existing
76 MOR variable is legitimate or not.
78 @retval TRUE Either the TCG or TCG2 protocol is installed in the UEFI
80 @retval FALSE Neither the TCG nor the TCG2 protocol is installed in the UEFI
84 VariableHaveTcgProtocols (