summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h')
-rw-r--r--EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h b/EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h
new file mode 100644
index 0000000000..45d645bad7
--- /dev/null
+++ b/EdkCompatibilityPkg/Compatibility/Include/Protocol/SmmBaseHelperReady.h
@@ -0,0 +1,44 @@
+/** @file
+ EFI SMM Base Helper Ready Protocol.
+
+ This UEFI protocol is produced by the SMM Base Helper SMM driver to provide
+ a Framework SMST to the SMM Base Thunk driver. This protocol is also an indicator
+ that the SMM Base Helper SMM driver is ready in SMRAM for communication with
+ the SMM Base Thunk driver.
+
+ Copyright (c) 2009, Intel Corporation
+ All rights reserved. This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __EFI_SMM_BASE_HELPER_READY_H__
+#define __EFI_SMM_BASE_HELPER_READY_H__
+
+#include <FrameworkSmm.h>
+#include <PiSmm.h>
+
+#define EFI_SMM_BASE_HELPER_READY_PROTOCOL_GUID \
+ { \
+ 0x910dca07, 0x1f94, 0x4ee7, { 0xaf, 0x2f, 0xff, 0x72, 0xf3, 0x15, 0x43, 0x53 } \
+ }
+
+typedef struct {
+ ///
+ /// Pointer to the Framework SMST built from PI SMST by SMM Base Helper SMM driver.
+ ///
+ EFI_SMM_SYSTEM_TABLE *FrameworkSmst;
+ ///
+ /// Services function directly called by SMM Base Thunk when in SMM
+ ///
+ EFI_SMM_HANDLER_ENTRY_POINT2 ServiceEntry;
+} EFI_SMM_BASE_HELPER_READY_PROTOCOL;
+
+extern EFI_GUID gEfiSmmBaseHelperReadyProtocolGuid;
+
+#endif