]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformSmm/SmmScriptSave.h
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformSmm / SmmScriptSave.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
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.
12
13
14
15 Module Name:
16
17 SmmScriptSave.h
18
19 Abstract:
20
21 This is an implementation of the BootScript at run time.
22
23 --*/
24
25 #ifndef _RUNTIME_SCRIPT_SAVE_H
26 #define _RUNTIME_SCRIPT_SAVE_H
27
28 #include "Efi.h"
29 #include "EfiBootScript.h"
30
31
32 typedef EFI_PHYSICAL_ADDRESS EFI_SMM_SCRIPT_TABLE;
33
34 EFI_STATUS
35 SmmBootScriptCreateTable (
36 IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,
37 IN UINTN Type
38 );
39
40 EFI_STATUS
41 SmmBootScriptWrite (
42 IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,
43 IN UINTN Type,
44 IN UINT16 OpCode,
45 ...
46 );
47
48 EFI_STATUS
49 SmmBootScriptCloseTable (
50 IN EFI_SMM_SCRIPT_TABLE ScriptTableBase,
51 IN EFI_SMM_SCRIPT_TABLE ScriptTablePtr,
52 IN UINTN Type
53 );
54
55 #endif