Change the Boot Script storage to fixed length.
authorxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Dec 2006 07:36:20 +0000 (07:36 +0000)
committerxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Dec 2006 07:36:20 +0000 (07:36 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2096 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Common/BootScript.h

index 8b3b410..ef44425 100644 (file)
@@ -109,68 +109,68 @@ typedef struct {
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
+  UINT32                Width;\r
 } EFI_BOOT_SCRIPT_COMMON_HEADER;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT                Count;\r
+  UINT32                Width;\r
+  UINT32                Count;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_IO_WRITE;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
+  UINT32                Width;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_IO_READ_WRITE;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT                Count;\r
+  UINT32                Width;\r
+  UINT32                Count;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_MEM_WRITE;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
+  UINT32                Width;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_MEM_READ_WRITE;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT                Count;\r
+  UINT32                Width;\r
+  UINT32                Count;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE;\r
 \r
 typedef struct {\r
   UINT16                OpCode;\r
   UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
+  UINT32                Width;\r
   UINT64                Address;\r
 } EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE;\r
 \r
 typedef struct {\r
   UINT16                    OpCode;\r
   UINT8                     Length;\r
-  EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress;\r
-  EFI_SMBUS_DEVICE_COMMAND  Command;\r
-  EFI_SMBUS_OPERATION       Operation;\r
+  UINT64                    SlaveAddress;\r
+  UINT64                    Command;\r
+  UINT32                    Operation;\r
   BOOLEAN                   PecCheck;\r
-  UINT                    DataSize;\r
+  UINT32                    DataSize;\r
 } EFI_BOOT_SCRIPT_SMBUS_EXECUTE;\r
 \r
 typedef struct {\r
   UINT16  OpCode;\r
   UINT8   Length;\r
-  UINT  Duration;\r
+  UINT64  Duration;\r
 } EFI_BOOT_SCRIPT_STALL;\r
 \r
 typedef struct {\r