]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Csm/Include/Framework/BootScript.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / Csm / Include / Framework / BootScript.h
CommitLineData
b522c77b 1/** @file\r
48cf40b8 2 This file contains the boot script definitions that are shared between the\r
b522c77b
HW
3 Boot Script Executor PPI and the Boot Script Save Protocol.\r
4\r
5Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
6SPDX-License-Identifier: BSD-2-Clause-Patent\r
7\r
8**/\r
9\r
10#ifndef _BOOT_SCRIPT_H_\r
11#define _BOOT_SCRIPT_H_\r
12\r
13#include <PiDxe.h>\r
14///\r
15/// The framework implementation defines follow opcode that are different from the PI specification:\r
16/// Add FRAMEWORK_ prefix to avoid naming conflict.\r
17///\r
18/// S3 Boot Script Table identifier.\r
19///\r
ac0a286f 20#define FRAMEWORK_EFI_ACPI_S3_RESUME_SCRIPT_TABLE 0x00\r
b522c77b
HW
21///\r
22/// The opcode is used to add a record for memory reads of the memory location and continues when the\r
23/// exit criteria is satisfied, or after a defined duration.\r
24///\r
ac0a286f 25#define FRAMEWORK_EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x09\r
b522c77b
HW
26///\r
27/// The opcode is used to add a record for dispatching specified arbitrary code into a specified\r
28/// boot script table.\r
29///\r
ac0a286f 30#define FRAMEWORK_EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x0D\r
b522c77b
HW
31///\r
32/// The opcode indicates the start of the boot script table.\r
33///\r
ac0a286f 34#define FRAMEWORK_EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA\r
b522c77b
HW
35///\r
36/// The opcode indicates the end of the boot script table.\r
37///\r
ac0a286f 38#define FRAMEWORK_EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF\r
b522c77b
HW
39\r
40#endif\r