--- /dev/null
+/*++\r
+\r
+ Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ \r\r
+ This program and the accompanying materials are licensed and made available under\r\r
+ the terms and conditions of the BSD License that accompanies this distribution. \r\r
+ The full text of the license may be found at \r\r
+ http://opensource.org/licenses/bsd-license.php. \r\r
+ \r\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
+ \r\r
+\r
+\r
+Module Name:\r
+\r
+ SmmScriptSave.h\r
+\r
+Abstract:\r
+\r
+ This is an implementation of the BootScript at run time.\r
+\r
+--*/\r
+\r
+#ifndef _RUNTIME_SCRIPT_SAVE_H\r
+#define _RUNTIME_SCRIPT_SAVE_H\r
+\r
+#include "Efi.h"\r
+#include "EfiBootScript.h"\r
+\r
+\r
+typedef EFI_PHYSICAL_ADDRESS EFI_SMM_SCRIPT_TABLE;\r
+\r
+EFI_STATUS\r
+SmmBootScriptCreateTable (\r
+ IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,\r
+ IN UINTN Type\r
+ );\r
+\r
+EFI_STATUS\r
+SmmBootScriptWrite (\r
+ IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,\r
+ IN UINTN Type,\r
+ IN UINT16 OpCode,\r
+ ...\r
+ );\r
+\r
+EFI_STATUS\r
+SmmBootScriptCloseTable (\r
+ IN EFI_SMM_SCRIPT_TABLE ScriptTableBase,\r
+ IN EFI_SMM_SCRIPT_TABLE ScriptTablePtr,\r
+ IN UINTN Type\r
+ );\r
+\r
+#endif\r