]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Common/BootScript.h
1) Clean up MdePkg/Include/Common/BootScript.h and remove boot script definition...
[mirror_edk2.git] / MdePkg / 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 #define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x09
39 #define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A
40
41 #define EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA
42 #define EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF
43
44 //
45 // EFI Boot Script Width
46 //
47 typedef enum {
48 EfiBootScriptWidthUint8,
49 EfiBootScriptWidthUint16,
50 EfiBootScriptWidthUint32,
51 EfiBootScriptWidthUint64,
52 EfiBootScriptWidthFifoUint8,
53 EfiBootScriptWidthFifoUint16,
54 EfiBootScriptWidthFifoUint32,
55 EfiBootScriptWidthFifoUint64,
56 EfiBootScriptWidthFillUint8,
57 EfiBootScriptWidthFillUint16,
58 EfiBootScriptWidthFillUint32,
59 EfiBootScriptWidthFillUint64,
60 EfiBootScriptWidthMaximum
61 } EFI_BOOT_SCRIPT_WIDTH;
62
63 #endif