VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Library/SmmLibNull/SmmLibNull.c@ 80721

最後變更 在這個檔案從80721是 80721,由 vboxsync 提交於 6 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.6 KB
 
1/** @file
2 NULL instance of SMM Library.
3
4 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include <Base.h>
10#include <Library/SmmLib.h>
11
12/**
13 Triggers an SMI at boot time.
14
15 This function triggers a software SMM interrupt at boot time.
16
17**/
18VOID
19EFIAPI
20TriggerBootServiceSoftwareSmi (
21 VOID
22 )
23{
24 return;
25}
26
27
28/**
29 Triggers an SMI at run time.
30
31 This function triggers a software SMM interrupt at run time.
32
33**/
34VOID
35EFIAPI
36TriggerRuntimeSoftwareSmi (
37 VOID
38 )
39{
40 return;
41}
42
43
44
45/**
46 Test if a boot time software SMI happened.
47
48 This function tests if a software SMM interrupt happened. If a software SMM
49 interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise,
50 it returns FALSE.
51
52 @retval TRUE A software SMI triggered at boot time happened.
53 @retval FALSE No software SMI happened or the software SMI was triggered at run time.
54
55**/
56BOOLEAN
57EFIAPI
58IsBootServiceSoftwareSmi (
59 VOID
60 )
61{
62 return FALSE;
63}
64
65
66/**
67 Test if a run time software SMI happened.
68
69 This function tests if a software SMM interrupt happened. If a software SMM
70 interrupt happened and it was triggered at run time, it returns TRUE. Otherwise,
71 it returns FALSE.
72
73 @retval TRUE A software SMI triggered at run time happened.
74 @retval FALSE No software SMI happened or the software SMI was triggered at boot time.
75
76**/
77BOOLEAN
78EFIAPI
79IsRuntimeSoftwareSmi (
80 VOID
81 )
82{
83 return FALSE;
84}
85
86/**
87 Clear APM SMI Status Bit; Set the EOS bit.
88
89**/
90VOID
91EFIAPI
92ClearSmi (
93 VOID
94 )
95{
96 return;
97}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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