]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/SmmServicesTableLib.h
2 Provides a service to retrieve a pointer to the SMM Services Table.
3 Only available to SMM module types.
5 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __SMM_SERVICES_TABLE_LIB_H__
11 #define __SMM_SERVICES_TABLE_LIB_H__
16 /// Cache pointer to the SMM Services Table
18 extern EFI_SMM_SYSTEM_TABLE2
*gSmst
;
21 This function allows the caller to determine if the driver is executing in
22 System Management Mode(SMM).
24 This function returns TRUE if the driver is executing in SMM and FALSE if the
25 driver is not executing in SMM.
27 @retval TRUE The driver is executing in System Management Mode (SMM).
28 @retval FALSE The driver is not executing in System Management Mode (SMM).