VirtualBox

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

Last change on this file since 99404 was 99404, checked in by vboxsync, 2 years ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
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 Triggers an SMI at run time.
29
30 This function triggers a software SMM interrupt at run time.
31
32**/
33VOID
34EFIAPI
35TriggerRuntimeSoftwareSmi (
36 VOID
37 )
38{
39 return;
40}
41
42/**
43 Test if a boot time software SMI happened.
44
45 This function tests if a software SMM interrupt happened. If a software SMM
46 interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise,
47 it returns FALSE.
48
49 @retval TRUE A software SMI triggered at boot time happened.
50 @retval FALSE No software SMI happened or the software SMI was triggered at run time.
51
52**/
53BOOLEAN
54EFIAPI
55IsBootServiceSoftwareSmi (
56 VOID
57 )
58{
59 return FALSE;
60}
61
62/**
63 Test if a run time software SMI happened.
64
65 This function tests if a software SMM interrupt happened. If a software SMM
66 interrupt happened and it was triggered at run time, it returns TRUE. Otherwise,
67 it returns FALSE.
68
69 @retval TRUE A software SMI triggered at run time happened.
70 @retval FALSE No software SMI happened or the software SMI was triggered at boot time.
71
72**/
73BOOLEAN
74EFIAPI
75IsRuntimeSoftwareSmi (
76 VOID
77 )
78{
79 return FALSE;
80}
81
82/**
83 Clear APM SMI Status Bit; Set the EOS bit.
84
85**/
86VOID
87EFIAPI
88ClearSmi (
89 VOID
90 )
91{
92 return;
93}
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