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