iPXE
PiS3BootScript.h
Go to the documentation of this file.
00001 /** @file
00002   This file contains the boot script defintions that are shared between the
00003   Boot Script Executor PPI and the Boot Script Save Protocol.
00004 
00005   Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
00006   This program and the accompanying materials
00007   are licensed and made available under the terms and conditions of the BSD License
00008   which accompanies this distribution.  The full text of the license may be found at
00009   http://opensource.org/licenses/bsd-license.php
00010 
00011   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
00013 
00014 **/
00015 
00016 #ifndef _PI_S3_BOOT_SCRIPT_H_
00017 #define _PI_S3_BOOT_SCRIPT_H_
00018 
00019 FILE_LICENCE ( BSD3 );
00020 
00021 //*******************************************
00022 // EFI Boot Script Opcode definitions
00023 //*******************************************
00024 #define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE                 0x00
00025 #define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE            0x01
00026 #define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE                0x02
00027 #define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE           0x03
00028 #define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE         0x04
00029 #define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE    0x05
00030 #define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE            0x06
00031 #define EFI_BOOT_SCRIPT_STALL_OPCODE                    0x07
00032 #define EFI_BOOT_SCRIPT_DISPATCH_OPCODE                 0x08
00033 #define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE               0x09
00034 #define EFI_BOOT_SCRIPT_INFORMATION_OPCODE              0x0A
00035 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE        0x0B
00036 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE   0x0C
00037 #define EFI_BOOT_SCRIPT_IO_POLL_OPCODE                  0x0D
00038 #define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE                 0x0E
00039 #define EFI_BOOT_SCRIPT_PCI_CONFIG_POLL_OPCODE          0x0F
00040 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_POLL_OPCODE         0x10
00041 
00042 //*******************************************
00043 // EFI_BOOT_SCRIPT_WIDTH
00044 //*******************************************
00045 typedef enum {
00046   EfiBootScriptWidthUint8,
00047   EfiBootScriptWidthUint16,
00048   EfiBootScriptWidthUint32,
00049   EfiBootScriptWidthUint64,
00050   EfiBootScriptWidthFifoUint8,
00051   EfiBootScriptWidthFifoUint16,
00052   EfiBootScriptWidthFifoUint32,
00053   EfiBootScriptWidthFifoUint64,
00054   EfiBootScriptWidthFillUint8,
00055   EfiBootScriptWidthFillUint16,
00056   EfiBootScriptWidthFillUint32,
00057   EfiBootScriptWidthFillUint64,
00058   EfiBootScriptWidthMaximum
00059 } EFI_BOOT_SCRIPT_WIDTH;
00060 
00061 #endif