]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SmmLibNull/SmmLibNull.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / SmmLibNull / SmmLibNull.c
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 **/
18 VOID
19 EFIAPI
20 TriggerBootServiceSoftwareSmi (
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 **/
33 VOID
34 EFIAPI
35 TriggerRuntimeSoftwareSmi (
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 **/
53 BOOLEAN
54 EFIAPI
55 IsBootServiceSoftwareSmi (
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 **/
73 BOOLEAN
74 EFIAPI
75 IsRuntimeSoftwareSmi (
76 VOID
77 )
78 {
79 return FALSE;
80 }
81
82 /**
83 Clear APM SMI Status Bit; Set the EOS bit.
84
85 **/
86 VOID
87 EFIAPI
88 ClearSmi (
89 VOID
90 )
91 {
92 return;
93 }