1 /*++
2 
3 Copyright (c) 2001 - 2002, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 Module Name:
13 
14   BootScriptExecuter.h
15 
16 Abstract:
17 
18   Boot Script Executer PPI as defined in EFI 2.0
19 
20 --*/
21 
22 #ifndef _PEI_BOOT_SCRIPT_EXECUTER_PPI_H
23 #define _PEI_BOOT_SCRIPT_EXECUTER_PPI_H
24 
25 #define PEI_BOOT_SCRIPT_EXECUTER_PPI_GUID \
26   { \
27     0xabd42895, 0x78cf, 0x4872, {0x84, 0x44, 0x1b, 0x5c, 0x18, 0x0b, 0xfb, 0xff} \
28   }
29 
30 EFI_FORWARD_DECLARATION (PEI_BOOT_SCRIPT_EXECUTER_PPI);
31 
32 #define PEI_BOOT_SCRIPT_EXECUTER_PPI_REVISION 0x00000001
33 
34 typedef
35 EFI_STATUS
36 (EFIAPI *PEI_BOOT_SCRIPT_EXECUTE) (
37   IN     EFI_PEI_SERVICES                        **PeiServices,
38   IN PEI_BOOT_SCRIPT_EXECUTER_PPI                * This,
39   IN     EFI_PHYSICAL_ADDRESS                    Address,
40   IN     EFI_GUID                                * FvFile OPTIONAL
41   );
42 
43 struct _PEI_BOOT_SCRIPT_EXECUTER_PPI {
44   UINT64                  Revision;
45   PEI_BOOT_SCRIPT_EXECUTE Execute;
46 };
47 
48 extern EFI_GUID gPeiBootScriptExecuterPpiGuid;
49 
50 #endif
51