]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SmmLibNull/SmmLibNull.c
2 NULL instance of SMM Library.
4 Copyright (c) 2009 - 2010, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <Library/SmmLib.h>
19 Triggers an SMI at boot time.
21 This function triggers a software SMM interrupt at boot time.
26 TriggerBootServiceSoftwareSmi (
35 Triggers an SMI at run time.
37 This function triggers a software SMM interrupt at run time.
42 TriggerRuntimeSoftwareSmi (
52 Test if a boot time software SMI happened.
54 This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and
55 it was triggered at boot time, it returns TRUE. Otherwise, it returns FALSE.
57 @retval TRUE A software SMI triggered at boot time happened.
58 @retval FLASE No software SMI happened or the software SMI was triggered at run time.
63 IsBootServiceSoftwareSmi (
72 Test if a run time software SMI happened.
74 This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and
75 it was triggered at run time, it returns TRUE. Otherwise, it returns FALSE.
77 @retval TRUE A software SMI triggered at run time happened.
78 @retval FLASE No software SMI happened or the software SMI was triggered at boot time.
83 IsRuntimeSoftwareSmi (
91 Clear APM SMI Status Bit; Set the EOS bit.