]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkPkg/Include/Framework/BootScript.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / IntelFrameworkPkg / Include / Framework / BootScript.h
CommitLineData
87d63447 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
f22f941e 5Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved<BR>\r
6This program and the accompanying materials are licensed and made available under \r
7the terms and conditions of the BSD License that accompanies this distribution. \r
8The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php. \r
10 \r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
87d63447 13\r
14**/\r
15\r
108854b2
LG
16#ifndef _BOOT_SCRIPT_H_\r
17#define _BOOT_SCRIPT_H_\r
87d63447 18\r
4ac7f453 19#include <PiDxe.h>\r
87d63447 20///\r
f22f941e 21/// The framework implementation defines follow opcode that are different from the PI specification: \r
22/// Add FRAMEWORK_ prefix to avoid naming conflict.\r
87d63447 23///\r
f22f941e 24/// S3 Boot Script Table identifier.\r
87d63447 25///\r
4ac7f453 26#define FRAMEWORK_EFI_ACPI_S3_RESUME_SCRIPT_TABLE 0x00\r
87d63447 27///\r
f22f941e 28/// The opcode is used to add a record for memory reads of the memory location and continues when the \r
29/// exit criteria is satisfied, or after a defined duration.\r
87d63447 30///\r
4ac7f453 31#define FRAMEWORK_EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x09\r
87d63447 32///\r
f22f941e 33/// The opcode is used to add a record for dispatching specified arbitrary code into a specified\r
87d63447 34/// boot script table.\r
35///\r
4ac7f453 36#define FRAMEWORK_EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x0D\r
87d63447 37///\r
f22f941e 38/// The opcode indicates the start of the boot script table.\r
87d63447 39///\r
4ac7f453 40#define FRAMEWORK_EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA\r
87d63447 41///\r
f22f941e 42/// The opcode indicates the end of the boot script table.\r
87d63447 43///\r
4ac7f453 44#define FRAMEWORK_EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF\r
87d63447 45\r
87d63447 46\r
47#endif\r