TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SmmCoreSmmServicesTableLibConstructor (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
BOOLEAN EFIAPI | InSmm (VOID) |
Variables | |
EFI_SMM_SYSTEM_TABLE2 * | gSmst = NULL |
EFI_SMM_SYSTEM_TABLE2 | gSmmCoreSmst |
SMM Core SMM Services Table Library.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PiSmmCoreSmmServicesTableLib.c.
BOOLEAN EFIAPI InSmm | ( | VOID | ) |
This function allows the caller to determine if the driver is executing in System Management Mode(SMM).
This function returns TRUE if the driver is executing in SMM and FALSE if the driver is not executing in SMM.
TRUE | The driver is executing in System Management Mode (SMM). |
FALSE | The driver is not executing in System Management Mode (SMM). |
Definition at line 49 of file PiSmmCoreSmmServicesTableLib.c.
EFI_STATUS EFIAPI SmmCoreSmmServicesTableLibConstructor | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The constructor function caches the pointer of SMM Services Table.
ImageHandle | The firmware allocated handle for the EFI image. |
SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The constructor always returns EFI_SUCCESS. |
Definition at line 27 of file PiSmmCoreSmmServicesTableLib.c.
|
extern |
Definition at line 19 of file PiSmmCore.c.
EFI_SMM_SYSTEM_TABLE2* gSmst = NULL |
Cache pointer to the SMM Services Table
Definition at line 13 of file PiSmmCoreSmmServicesTableLib.c.