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