VirtualBox

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

最後變更 在這個檔案從75003是 58466,由 vboxsync 提交於 9 年 前

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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