summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Include/Library/SmmLib.h11
-rw-r--r--IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c14
2 files changed, 25 insertions, 0 deletions
diff --git a/IntelFrameworkPkg/Include/Library/SmmLib.h b/IntelFrameworkPkg/Include/Library/SmmLib.h
index 2857afce29..b35a7ce692 100644
--- a/IntelFrameworkPkg/Include/Library/SmmLib.h
+++ b/IntelFrameworkPkg/Include/Library/SmmLib.h
@@ -77,4 +77,15 @@ IsRuntimeSoftwareSmi (
VOID
);
+/**
+
+ Clear APM SMI Status Bit; Set the EOS bit.
+
+**/
+
+VOID
+EFIAPI
+ClearSmi (
+ VOID
+ );
#endif
diff --git a/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c b/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
index fd7233a4b6..be13dd70b8 100644
--- a/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
+++ b/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
@@ -87,3 +87,17 @@ IsRuntimeSoftwareSmi (
return FALSE;
}
+/**
+
+ Clear APM SMI Status Bit; Set the EOS bit.
+
+**/
+
+VOID
+EFIAPI
+ClearSmi (
+ VOID
+ )
+{
+ return;
+}