iPXE
PiS3BootScript.h
Go to the documentation of this file.
1 /** @file
2  This file contains the boot script defintions that are shared between the
3  Boot Script Executor PPI and the Boot Script Save Protocol.
4 
5  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
6  This program and the accompanying materials
7  are licensed and made available under the terms and conditions of the BSD License
8  which accompanies this distribution. The full text of the license may be found at
9  http://opensource.org/licenses/bsd-license.php
10 
11  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 
16 #ifndef _PI_S3_BOOT_SCRIPT_H_
17 #define _PI_S3_BOOT_SCRIPT_H_
18 
19 FILE_LICENCE ( BSD3 );
20 
21 //*******************************************
22 // EFI Boot Script Opcode definitions
23 //*******************************************
24 #define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE 0x00
25 #define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE 0x01
26 #define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE 0x02
27 #define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE 0x03
28 #define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE 0x04
29 #define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE 0x05
30 #define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE 0x06
31 #define EFI_BOOT_SCRIPT_STALL_OPCODE 0x07
32 #define EFI_BOOT_SCRIPT_DISPATCH_OPCODE 0x08
33 #define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x09
34 #define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A
35 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE 0x0B
36 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE 0x0C
37 #define EFI_BOOT_SCRIPT_IO_POLL_OPCODE 0x0D
38 #define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x0E
39 #define EFI_BOOT_SCRIPT_PCI_CONFIG_POLL_OPCODE 0x0F
40 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL_OPCODE 0x10
41 
42 //*******************************************
43 // EFI_BOOT_SCRIPT_WIDTH
44 //*******************************************
45 typedef enum {
60 
61 #endif
EFI_BOOT_SCRIPT_WIDTH
FILE_LICENCE(BSD3)