Add boot script dispatch opcode 2
authorxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Aug 2006 07:23:37 +0000 (07:23 +0000)
committerxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 16 Aug 2006 07:23:37 +0000 (07:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1292 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Common/BootScript.h

index 0015988e75741c13dbc6f6e5dca5ec7c53e549ad..59d71c1f7971eda6c19f6f2d12184c210dc02853 100644 (file)
@@ -35,6 +35,7 @@
 #define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE          0x06\r
 #define EFI_BOOT_SCRIPT_STALL_OPCODE                  0x07\r
 #define EFI_BOOT_SCRIPT_DISPATCH_OPCODE               0x08\r
+#define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE             0x09\r
 \r
 #define EFI_BOOT_SCRIPT_TABLE_OPCODE                  0xAA\r
 #define EFI_BOOT_SCRIPT_TERMINATE_OPCODE              0xFF\r
@@ -171,9 +172,15 @@ typedef struct {
   UINT16                OpCode;\r
   UINT8                 Length;\r
   EFI_PHYSICAL_ADDRESS  EntryPoint;\r
-  EFI_PHYSICAL_ADDRESS  Context;\r
 } EFI_BOOT_SCRIPT_DISPATCH;\r
 \r
+typedef struct {\r
+  UINT16                OpCode;\r
+  UINT8                 Length;\r
+  EFI_PHYSICAL_ADDRESS  EntryPoint;\r
+  EFI_PHYSICAL_ADDRESS  Context;\r
+} EFI_BOOT_SCRIPT_DISPATCH_2;\r
+\r
 typedef struct {\r
   UINT16  OpCode;\r
   UINT8   Length;\r
@@ -191,6 +198,7 @@ typedef union {
   EFI_BOOT_SCRIPT_SMBUS_EXECUTE         *SmbusExecute;\r
   EFI_BOOT_SCRIPT_STALL                 *Stall;\r
   EFI_BOOT_SCRIPT_DISPATCH              *Dispatch;\r
+  EFI_BOOT_SCRIPT_DISPATCH_2            *Dispatch2;  \r
   EFI_BOOT_SCRIPT_TERMINATE             *Terminate;\r
   EFI_BOOT_SCRIPT_COMMON_HEADER         *CommonHeader;\r
   UINT8                                 *Raw;\r