]> git.proxmox.com Git - mirror_edk2.git/blame - OldMdePkg/Include/Common/BootScript.h
Updated bootscript to remove conflicts from R8.x
[mirror_edk2.git] / OldMdePkg / Include / Common / BootScript.h
CommitLineData
878ddf1f 1/** @file\r
76dbeb3b 2 This file declares the related BootScript definitions.\r
878ddf1f 3\r
76dbeb3b 4 Copyright (c) 2006 - 2007, Intel Corporation \r
878ddf1f 5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
13 Module Name: BootScript.h\r
14\r
15 @par Revision Reference:\r
76dbeb3b 16 These definitions are defined in BootScript Spec 0.91.\r
878ddf1f 17\r
18**/\r
19\r
76dbeb3b 20#ifndef _EFI_BOOT_SCRIPT_H_\r
21#define _EFI_BOOT_SCRIPT_H_\r
878ddf1f 22\r
23#define EFI_ACPI_S3_RESUME_SCRIPT_TABLE 0x00\r
24\r
25//\r
26// Boot Script Opcode Definitions\r
27//\r
28\r
29#define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE 0x00\r
30#define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE 0x01\r
31#define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE 0x02\r
32#define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE 0x03\r
33#define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE 0x04\r
34#define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE 0x05\r
35#define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE 0x06\r
36#define EFI_BOOT_SCRIPT_STALL_OPCODE 0x07\r
37#define EFI_BOOT_SCRIPT_DISPATCH_OPCODE 0x08\r
38\r
ed6365d8
A
39//\r
40// Extensions to boot script definitions\r
41//\r
42#define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x09\r
43#define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A\r
44#define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE 0x0B\r
45#define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE 0x0C\r
46#define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x0D\r
878ddf1f 47#define EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA\r
48#define EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF\r
49\r
50//\r
51// EFI Boot Script Width\r
52//\r
53typedef enum {\r
54 EfiBootScriptWidthUint8,\r
55 EfiBootScriptWidthUint16,\r
56 EfiBootScriptWidthUint32,\r
57 EfiBootScriptWidthUint64,\r
58 EfiBootScriptWidthFifoUint8,\r
59 EfiBootScriptWidthFifoUint16,\r
60 EfiBootScriptWidthFifoUint32,\r
61 EfiBootScriptWidthFifoUint64,\r
62 EfiBootScriptWidthFillUint8,\r
63 EfiBootScriptWidthFillUint16,\r
64 EfiBootScriptWidthFillUint32,\r
65 EfiBootScriptWidthFillUint64,\r
66 EfiBootScriptWidthMaximum\r
67} EFI_BOOT_SCRIPT_WIDTH;\r
68\r
878ddf1f 69#endif\r