]>
Commit | Line | Data |
---|---|---|
0bce7349 | 1 | /** @file\r |
2 | NULL instance of SMM Library.\r | |
3 | \r | |
9095d37b | 4 | Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r |
9344f092 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
0bce7349 | 6 | \r |
7 | **/\r | |
8 | \r | |
9 | #include <Base.h>\r | |
10 | #include <Library/SmmLib.h>\r | |
11 | \r | |
12 | /**\r | |
9095d37b | 13 | Triggers an SMI at boot time.\r |
0bce7349 | 14 | \r |
15 | This function triggers a software SMM interrupt at boot time.\r | |
16 | \r | |
17 | **/\r | |
18 | VOID\r | |
19 | EFIAPI\r | |
20 | TriggerBootServiceSoftwareSmi (\r | |
21 | VOID\r | |
22 | )\r | |
23 | {\r | |
24 | return;\r | |
25 | }\r | |
26 | \r | |
0bce7349 | 27 | /**\r |
9095d37b | 28 | Triggers an SMI at run time.\r |
0bce7349 | 29 | \r |
30 | This function triggers a software SMM interrupt at run time.\r | |
31 | \r | |
32 | **/\r | |
33 | VOID\r | |
34 | EFIAPI\r | |
35 | TriggerRuntimeSoftwareSmi (\r | |
36 | VOID\r | |
37 | )\r | |
38 | {\r | |
39 | return;\r | |
40 | }\r | |
41 | \r | |
0bce7349 | 42 | /**\r |
9095d37b | 43 | Test if a boot time software SMI happened.\r |
0bce7349 | 44 | \r |
9095d37b LG |
45 | This function tests if a software SMM interrupt happened. If a software SMM\r |
46 | interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise,\r | |
58380e9c | 47 | it returns FALSE.\r |
0bce7349 | 48 | \r |
49 | @retval TRUE A software SMI triggered at boot time happened.\r | |
58380e9c | 50 | @retval FALSE No software SMI happened or the software SMI was triggered at run time.\r |
0bce7349 | 51 | \r |
52 | **/\r | |
53 | BOOLEAN\r | |
54 | EFIAPI\r | |
55 | IsBootServiceSoftwareSmi (\r | |
56 | VOID\r | |
57 | )\r | |
58 | {\r | |
59 | return FALSE;\r | |
60 | }\r | |
61 | \r | |
0bce7349 | 62 | /**\r |
9095d37b | 63 | Test if a run time software SMI happened.\r |
0bce7349 | 64 | \r |
9095d37b LG |
65 | This function tests if a software SMM interrupt happened. If a software SMM\r |
66 | interrupt happened and it was triggered at run time, it returns TRUE. Otherwise,\r | |
58380e9c | 67 | it returns FALSE.\r |
0bce7349 | 68 | \r |
69 | @retval TRUE A software SMI triggered at run time happened.\r | |
58380e9c | 70 | @retval FALSE No software SMI happened or the software SMI was triggered at boot time.\r |
0bce7349 | 71 | \r |
72 | **/\r | |
73 | BOOLEAN\r | |
74 | EFIAPI\r | |
75 | IsRuntimeSoftwareSmi (\r | |
76 | VOID\r | |
77 | )\r | |
78 | {\r | |
79 | return FALSE;\r | |
80 | }\r | |
81 | \r | |
82 | /**\r | |
9095d37b LG |
83 | Clear APM SMI Status Bit; Set the EOS bit.\r |
84 | \r | |
0bce7349 | 85 | **/\r |
86 | VOID\r | |
87 | EFIAPI\r | |
88 | ClearSmi (\r | |
89 | VOID\r | |
90 | )\r | |
91 | {\r | |
92 | return;\r | |
93 | }\r |