iPXE
PiS3BootScript.h
Go to the documentation of this file.
1/** @file
2 This file contains the boot script definitions that are shared between the
3 Boot Script Executor PPI and the Boot Script Save Protocol.
4
5 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef _PI_S3_BOOT_SCRIPT_H_
11#define _PI_S3_BOOT_SCRIPT_H_
12
13FILE_LICENCE ( BSD2_PATENT );
14FILE_SECBOOT ( PERMITTED );
15
16// *******************************************
17// EFI Boot Script Opcode definitions
18// *******************************************
19#define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE 0x00
20#define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE 0x01
21#define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE 0x02
22#define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE 0x03
23#define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE 0x04
24#define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE 0x05
25#define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE 0x06
26#define EFI_BOOT_SCRIPT_STALL_OPCODE 0x07
27#define EFI_BOOT_SCRIPT_DISPATCH_OPCODE 0x08
28#define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x09
29#define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A
30#define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE 0x0B
31#define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE 0x0C
32#define EFI_BOOT_SCRIPT_IO_POLL_OPCODE 0x0D
33#define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x0E
34#define EFI_BOOT_SCRIPT_PCI_CONFIG_POLL_OPCODE 0x0F
35#define EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL_OPCODE 0x10
36
37// *******************************************
38// EFI_BOOT_SCRIPT_WIDTH
39// *******************************************
55
56#endif
EFI_BOOT_SCRIPT_WIDTH
@ EfiBootScriptWidthFifoUint16
@ EfiBootScriptWidthUint8
@ EfiBootScriptWidthMaximum
@ EfiBootScriptWidthFifoUint64
@ EfiBootScriptWidthUint64
@ EfiBootScriptWidthFifoUint32
@ EfiBootScriptWidthFillUint16
@ EfiBootScriptWidthFifoUint8
@ EfiBootScriptWidthUint32
@ EfiBootScriptWidthFillUint32
@ EfiBootScriptWidthUint16
@ EfiBootScriptWidthFillUint64
@ EfiBootScriptWidthFillUint8
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926