]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - IntelFrameworkPkg/Include/Framework/BootScript.h
Clarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval...
[mirror_edk2.git] / IntelFrameworkPkg / Include / Framework / BootScript.h
... / ...
CommitLineData
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
5 Copyright (c) 2009, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _BOOT_SCRIPT_H_\r
17#define _BOOT_SCRIPT_H_\r
18\r
19#include <PiDxe.h>\r
20///\r
21/// The framework implementation defines follow opcode which is different from PI specification: \r
22/// To add FRAMEWORK_ prefix to avoid naming conflict.\r
23///\r
24/// S3 Boot Script Table identifier\r
25///\r
26#define FRAMEWORK_EFI_ACPI_S3_RESUME_SCRIPT_TABLE 0x00\r
27///\r
28/// The opcode is 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
30///\r
31#define FRAMEWORK_EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x09\r
32///\r
33/// The opcode is to add a record for dispatching specified arbitrary code into a specified\r
34/// boot script table.\r
35///\r
36#define FRAMEWORK_EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x0D\r
37///\r
38/// The opcode indicate the start of the boot script table.\r
39///\r
40#define FRAMEWORK_EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA\r
41///\r
42/// The opcode indicate the end of the boot script table.\r
43///\r
44#define FRAMEWORK_EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF\r
45\r
46\r
47#endif\r