VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/SmmLibNull/SmmLibNull.c@ 62180

最後變更 在這個檔案從62180是 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.9 KB
 
1/** @file
2 NULL instance of SMM Library.
3
4 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#include <Base.h>
16#include <Library/SmmLib.h>
17
18/**
19 Triggers an SMI at boot time.
20
21 This function triggers a software SMM interrupt at boot time.
22
23**/
24VOID
25EFIAPI
26TriggerBootServiceSoftwareSmi (
27 VOID
28 )
29{
30 return;
31}
32
33
34/**
35 Triggers an SMI at run time.
36
37 This function triggers a software SMM interrupt at run time.
38
39**/
40VOID
41EFIAPI
42TriggerRuntimeSoftwareSmi (
43 VOID
44 )
45{
46 return;
47}
48
49
50
51/**
52 Test if a boot time software SMI happened.
53
54 This function tests if a software SMM interrupt happened. If a software SMM
55 interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise,
56 it returns FALSE.
57
58 @retval TRUE A software SMI triggered at boot time happened.
59 @retval FALSE No software SMI happened or the software SMI was triggered at run time.
60
61**/
62BOOLEAN
63EFIAPI
64IsBootServiceSoftwareSmi (
65 VOID
66 )
67{
68 return FALSE;
69}
70
71
72/**
73 Test if a run time software SMI happened.
74
75 This function tests if a software SMM interrupt happened. If a software SMM
76 interrupt happened and it was triggered at run time, it returns TRUE. Otherwise,
77 it returns FALSE.
78
79 @retval TRUE A software SMI triggered at run time happened.
80 @retval FALSE No software SMI happened or the software SMI was triggered at boot time.
81
82**/
83BOOLEAN
84EFIAPI
85IsRuntimeSoftwareSmi (
86 VOID
87 )
88{
89 return FALSE;
90}
91
92/**
93 Clear APM SMI Status Bit; Set the EOS bit.
94
95**/
96VOID
97EFIAPI
98ClearSmi (
99 VOID
100 )
101{
102 return;
103}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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