]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformSmm/SmmScriptSave.h
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformSmm / SmmScriptSave.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9
10 Module Name:
11
12 SmmScriptSave.h
13
14 Abstract:
15
16 This is an implementation of the BootScript at run time.
17
18 --*/
19
20 #ifndef _RUNTIME_SCRIPT_SAVE_H
21 #define _RUNTIME_SCRIPT_SAVE_H
22
23 #include "Efi.h"
24 #include "EfiBootScript.h"
25
26
27 typedef EFI_PHYSICAL_ADDRESS EFI_SMM_SCRIPT_TABLE;
28
29 EFI_STATUS
30 SmmBootScriptCreateTable (
31 IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,
32 IN UINTN Type
33 );
34
35 EFI_STATUS
36 SmmBootScriptWrite (
37 IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,
38 IN UINTN Type,
39 IN UINT16 OpCode,
40 ...
41 );
42
43 EFI_STATUS
44 SmmBootScriptCloseTable (
45 IN EFI_SMM_SCRIPT_TABLE ScriptTableBase,
46 IN EFI_SMM_SCRIPT_TABLE ScriptTablePtr,
47 IN UINTN Type
48 );
49
50 #endif