summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-13 07:36:20 +0000
committerxgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-13 07:36:20 +0000
commitada5e82740dd509cf7a2f05d5bf33b199436f80a (patch)
treece962fefc93e2e09588cf63948d3ef70ed4a918e /MdePkg/Include
parent7736526c9e0259771b64d60d02c13f213c581418 (diff)
downloadedk2-platforms-ada5e82740dd509cf7a2f05d5bf33b199436f80a.tar.xz
Change the Boot Script storage to fixed length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2096 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Common/BootScript.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/MdePkg/Include/Common/BootScript.h b/MdePkg/Include/Common/BootScript.h
index 8b3b410171..ef444251e6 100644
--- a/MdePkg/Include/Common/BootScript.h
+++ b/MdePkg/Include/Common/BootScript.h
@@ -109,68 +109,68 @@ typedef struct {
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
+ UINT32 Width;
} EFI_BOOT_SCRIPT_COMMON_HEADER;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
- UINTN Count;
+ UINT32 Width;
+ UINT32 Count;
UINT64 Address;
} EFI_BOOT_SCRIPT_IO_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
+ UINT32 Width;
UINT64 Address;
} EFI_BOOT_SCRIPT_IO_READ_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
- UINTN Count;
+ UINT32 Width;
+ UINT32 Count;
UINT64 Address;
} EFI_BOOT_SCRIPT_MEM_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
+ UINT32 Width;
UINT64 Address;
} EFI_BOOT_SCRIPT_MEM_READ_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
- UINTN Count;
+ UINT32 Width;
+ UINT32 Count;
UINT64 Address;
} EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_BOOT_SCRIPT_WIDTH Width;
+ UINT32 Width;
UINT64 Address;
} EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- EFI_SMBUS_DEVICE_ADDRESS SlaveAddress;
- EFI_SMBUS_DEVICE_COMMAND Command;
- EFI_SMBUS_OPERATION Operation;
+ UINT64 SlaveAddress;
+ UINT64 Command;
+ UINT32 Operation;
BOOLEAN PecCheck;
- UINTN DataSize;
+ UINT32 DataSize;
} EFI_BOOT_SCRIPT_SMBUS_EXECUTE;
typedef struct {
UINT16 OpCode;
UINT8 Length;
- UINTN Duration;
+ UINT64 Duration;
} EFI_BOOT_SCRIPT_STALL;
typedef struct {