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