summaryrefslogtreecommitdiff
path: root/Include/Protocol/SmmBiosWriteDispatch.h
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /Include/Protocol/SmmBiosWriteDispatch.h
downloadzprj-master.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'Include/Protocol/SmmBiosWriteDispatch.h')
-rw-r--r--Include/Protocol/SmmBiosWriteDispatch.h101
1 files changed, 101 insertions, 0 deletions
diff --git a/Include/Protocol/SmmBiosWriteDispatch.h b/Include/Protocol/SmmBiosWriteDispatch.h
new file mode 100644
index 0000000..6ac88e7
--- /dev/null
+++ b/Include/Protocol/SmmBiosWriteDispatch.h
@@ -0,0 +1,101 @@
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//*************************************************************************
+
+//*************************************************************************
+// $Header: /Alaska/BIN/Chipset/Intel/SouthBridge/LynxPoint/Intel Pch SB Chipset/SB Protocols/SmmBiosWriteDispatch.h 1 2/08/12 8:26a Yurenlai $
+//
+// $Revision: 1 $
+//
+// $Date: 2/08/12 8:26a $
+//*************************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/Chipset/Intel/SouthBridge/LynxPoint/Intel Pch SB Chipset/SB Protocols/SmmBiosWriteDispatch.h $
+//
+// 1 2/08/12 8:26a Yurenlai
+// Intel Lynx Point/SB eChipset initially releases.
+//
+//*************************************************************************
+//<AMI_FHDR_START>
+//
+// Name: SmmBiosWriteDispatch.h
+//
+// Description: SMM BIOS Write Dispatch Protocol header.
+//
+//<AMI_FHDR_END>
+//*************************************************************************
+
+#ifndef __SMM_BIOS_WRITE_DISPATCH_PROTOCOL_H__
+#define __SMM_BIOS_WRITE_DISPATCH_PROTOCOL_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+#include <EFI.h>
+
+// {E512DFE4-BF44-480d-9B7A-777B0BE32775}
+#define EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL_GUID \
+ {0xe512dfe4, 0xbf44, 0x480d, 0x9b, 0x7a, 0x77, 0x7b, 0xb, 0xe3, 0x27, 0x75}
+
+GUID_VARIABLE_DECLARATION( gEfiSmmBiosWriteDispatchProtocolGuid, \
+ EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL_GUID);
+
+typedef struct _EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL \
+ EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL;
+
+//******************************************************
+// EFI_SMM_BIOS_WRITE_DISPATCH
+//******************************************************
+typedef VOID (EFIAPI *EFI_SMM_BIOS_WRITE_DISPATCH) (
+ IN EFI_HANDLE DispatchHandle,
+ IN VOID *DispatchContext
+);
+
+
+typedef EFI_STATUS (EFIAPI *EFI_SMM_BIOS_WRITE_REGISTER) (
+ IN EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL *This,
+ IN EFI_SMM_BIOS_WRITE_DISPATCH DispatchFunction,
+ OUT EFI_HANDLE *DispatchHandle
+);
+
+typedef EFI_STATUS (EFIAPI *EFI_SMM_BIOS_WRITE_UNREGISTER) (
+ IN EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL *This,
+ IN EFI_HANDLE DispatchHandle
+);
+
+
+struct _EFI_SMM_BIOS_WRITE_DISPATCH_PROTOCOL {
+ EFI_SMM_BIOS_WRITE_REGISTER Register;
+ EFI_SMM_BIOS_WRITE_UNREGISTER UnRegister;
+};
+
+
+/****** DO NOT WRITE BELOW THIS LINE *******/
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//*************************************************************************