]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | \r | |
15 | Module Name:\r | |
16 | \r | |
17 | SmmScriptSave.h\r | |
18 | \r | |
19 | Abstract:\r | |
20 | \r | |
21 | This is an implementation of the BootScript at run time.\r | |
22 | \r | |
23 | --*/\r | |
24 | \r | |
25 | #ifndef _RUNTIME_SCRIPT_SAVE_H\r | |
26 | #define _RUNTIME_SCRIPT_SAVE_H\r | |
27 | \r | |
28 | #include "Efi.h"\r | |
29 | #include "EfiBootScript.h"\r | |
30 | \r | |
31 | \r | |
32 | typedef EFI_PHYSICAL_ADDRESS EFI_SMM_SCRIPT_TABLE;\r | |
33 | \r | |
34 | EFI_STATUS\r | |
35 | SmmBootScriptCreateTable (\r | |
36 | IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,\r | |
37 | IN UINTN Type\r | |
38 | );\r | |
39 | \r | |
40 | EFI_STATUS\r | |
41 | SmmBootScriptWrite (\r | |
42 | IN OUT EFI_SMM_SCRIPT_TABLE *ScriptTable,\r | |
43 | IN UINTN Type,\r | |
44 | IN UINT16 OpCode,\r | |
45 | ...\r | |
46 | );\r | |
47 | \r | |
48 | EFI_STATUS\r | |
49 | SmmBootScriptCloseTable (\r | |
50 | IN EFI_SMM_SCRIPT_TABLE ScriptTableBase,\r | |
51 | IN EFI_SMM_SCRIPT_TABLE ScriptTablePtr,\r | |
52 | IN UINTN Type\r | |
53 | );\r | |
54 | \r | |
55 | #endif\r |