diff options
author | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-30 09:14:25 +0000 |
---|---|---|
committer | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-30 09:14:25 +0000 |
commit | 1ee7ae6e40c3c9434ae7b42bcad280e6265b5e66 (patch) | |
tree | cc11b19ad07fc8a1498b74be21cecc870e64d543 | |
parent | c942b0e8f91e0d332524dd548a4fe450313c8fb6 (diff) | |
download | edk2-platforms-1ee7ae6e40c3c9434ae7b42bcad280e6265b5e66.tar.xz |
Add Information Opcode in S3 modules.
Information Opcode is a new opcode that allows driver to record any information in script table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2041 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Common/BootScript.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MdePkg/Include/Common/BootScript.h b/MdePkg/Include/Common/BootScript.h index a6b6f50b1f..8b3b410171 100644 --- a/MdePkg/Include/Common/BootScript.h +++ b/MdePkg/Include/Common/BootScript.h @@ -36,6 +36,7 @@ #define EFI_BOOT_SCRIPT_STALL_OPCODE 0x07
#define EFI_BOOT_SCRIPT_DISPATCH_OPCODE 0x08
#define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x09
+#define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A
#define EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA
#define EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF
@@ -188,6 +189,13 @@ typedef struct { typedef struct {
UINT16 OpCode;
UINT8 Length;
+ UINT32 InformationLength;
+ EFI_PHYSICAL_ADDRESS Information;
+} EFI_BOOT_SCRIPT_INFORMATION;
+
+typedef struct {
+ UINT16 OpCode;
+ UINT8 Length;
} EFI_BOOT_SCRIPT_TERMINATE;
typedef union {
@@ -203,6 +211,7 @@ typedef union { EFI_BOOT_SCRIPT_STALL *Stall;
EFI_BOOT_SCRIPT_DISPATCH *Dispatch;
EFI_BOOT_SCRIPT_DISPATCH_2 *Dispatch2;
+ EFI_BOOT_SCRIPT_INFORMATION *Information;
EFI_BOOT_SCRIPT_TERMINATE *Terminate;
EFI_BOOT_SCRIPT_COMMON_HEADER *CommonHeader;
UINT8 *Raw;
|