]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Pi/PiS3BootScript.h
MdePkg: Add Reset2 ppi definition.
[mirror_edk2.git] / MdePkg / Include / Pi / PiS3BootScript.h
CommitLineData
8c803876 1/** @file\r
2 This file contains the boot script defintions that are shared between the \r
3 Boot Script Executor PPI and the Boot Script Save Protocol.\r
4\r
9df063a0
HT
5 Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
6 This program and the accompanying materials\r
8c803876 7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _PI_S3_BOOT_SCRIPT_H_\r
17#define _PI_S3_BOOT_SCRIPT_H_\r
18\r
19//*******************************************\r
20// EFI Boot Script Opcode definitions\r
21//*******************************************\r
22#define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE 0x00\r
23#define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE 0x01\r
24#define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE 0x02\r
25#define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE 0x03\r
26#define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE 0x04\r
27#define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE 0x05\r
28#define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE 0x06\r
29#define EFI_BOOT_SCRIPT_STALL_OPCODE 0x07\r
30#define EFI_BOOT_SCRIPT_DISPATCH_OPCODE 0x08\r
31#define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x09\r
32#define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A\r
33#define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE 0x0B\r
34#define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE 0x0C\r
35#define EFI_BOOT_SCRIPT_IO_POLL_OPCODE 0x0D\r
36#define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x0E\r
37#define EFI_BOOT_SCRIPT_PCI_CONFIG_POLL_OPCODE 0x0F\r
38#define EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL_OPCODE 0x10\r
39\r
40//*******************************************\r
41// EFI_BOOT_SCRIPT_WIDTH\r
42//*******************************************\r
43typedef enum {\r
44 EfiBootScriptWidthUint8,\r
45 EfiBootScriptWidthUint16,\r
46 EfiBootScriptWidthUint32,\r
47 EfiBootScriptWidthUint64,\r
48 EfiBootScriptWidthFifoUint8,\r
49 EfiBootScriptWidthFifoUint16,\r
50 EfiBootScriptWidthFifoUint32,\r
51 EfiBootScriptWidthFifoUint64,\r
52 EfiBootScriptWidthFillUint8,\r
53 EfiBootScriptWidthFillUint16,\r
54 EfiBootScriptWidthFillUint32,\r
55 EfiBootScriptWidthFillUint64,\r
56 EfiBootScriptWidthMaximum\r
57} EFI_BOOT_SCRIPT_WIDTH;\r
58\r
59#endif\r