VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/SmmServicesTableLib.h@ 50453

Last change on this file since 50453 was 48674, checked in by vboxsync, 12 years ago

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1/** @file
2 Provides a service to retrieve a pointer to the SMM Services Table.
3 Only available to SMM module types.
4
5Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
6This program and the accompanying materials
7are licensed and made available under the terms and conditions of the BSD License
8which accompanies this distribution. The full text of the license may be found at
9http://opensource.org/licenses/bsd-license.php
10
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16#ifndef __SMM_SERVICES_TABLE_LIB_H__
17#define __SMM_SERVICES_TABLE_LIB_H__
18
19#include <PiSmm.h>
20
21///
22/// Cache pointer to the SMM Services Table
23///
24extern EFI_SMM_SYSTEM_TABLE2 *gSmst;
25
26/**
27 This function allows the caller to determine if the driver is executing in
28 System Management Mode(SMM).
29
30 This function returns TRUE if the driver is executing in SMM and FALSE if the
31 driver is not executing in SMM.
32
33 @retval TRUE The driver is executing in System Management Mode (SMM).
34 @retval FALSE The driver is not executing in System Management Mode (SMM).
35
36**/
37BOOLEAN
38EFIAPI
39InSmm (
40 VOID
41 );
42
43#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette