]>
Commit | Line | Data |
---|---|---|
0bce7349 | 1 | /** @file\r |
2 | NULL instance of SMM Library.\r | |
3 | \r | |
19388d29 HT |
4 | Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r |
5 | This program and the accompanying materials \r | |
0bce7349 | 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 | |
2fc59a00 | 8 | http://opensource.org/licenses/bsd-license.php. \r |
0bce7349 | 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 | |
58380e9c | 54 | This function tests if a software SMM interrupt happened. If a software SMM \r |
55 | interrupt happened and it was triggered at boot time, it returns TRUE. Otherwise, \r | |
56 | it returns FALSE.\r | |
0bce7349 | 57 | \r |
58 | @retval TRUE A software SMI triggered at boot time happened.\r | |
58380e9c | 59 | @retval FALSE No software SMI happened or the software SMI was triggered at run time.\r |
0bce7349 | 60 | \r |
61 | **/\r | |
62 | BOOLEAN\r | |
63 | EFIAPI\r | |
64 | IsBootServiceSoftwareSmi (\r | |
65 | VOID\r | |
66 | )\r | |
67 | {\r | |
68 | return FALSE;\r | |
69 | }\r | |
70 | \r | |
71 | \r | |
72 | /**\r | |
73 | Test if a run time software SMI happened. \r | |
74 | \r | |
58380e9c | 75 | This function tests if a software SMM interrupt happened. If a software SMM \r |
76 | interrupt happened and it was triggered at run time, it returns TRUE. Otherwise, \r | |
77 | it returns FALSE.\r | |
0bce7349 | 78 | \r |
79 | @retval TRUE A software SMI triggered at run time happened.\r | |
58380e9c | 80 | @retval FALSE No software SMI happened or the software SMI was triggered at boot time.\r |
0bce7349 | 81 | \r |
82 | **/\r | |
83 | BOOLEAN\r | |
84 | EFIAPI\r | |
85 | IsRuntimeSoftwareSmi (\r | |
86 | VOID\r | |
87 | )\r | |
88 | {\r | |
89 | return FALSE;\r | |
90 | }\r | |
91 | \r | |
92 | /**\r | |
93 | Clear APM SMI Status Bit; Set the EOS bit. \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 |