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