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
This commit is contained in:
xgu3 2006-12-13 07:36:20 +00:00
parent 7736526c9e
commit ada5e82740
1 changed files with 15 additions and 15 deletions

View File

@ -109,68 +109,68 @@ typedef struct {
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
} EFI_BOOT_SCRIPT_COMMON_HEADER; } EFI_BOOT_SCRIPT_COMMON_HEADER;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINTN Count; UINT32 Count;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_IO_WRITE; } EFI_BOOT_SCRIPT_IO_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_IO_READ_WRITE; } EFI_BOOT_SCRIPT_IO_READ_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINTN Count; UINT32 Count;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_MEM_WRITE; } EFI_BOOT_SCRIPT_MEM_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_MEM_READ_WRITE; } EFI_BOOT_SCRIPT_MEM_READ_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINTN Count; UINT32 Count;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE; } EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_BOOT_SCRIPT_WIDTH Width; UINT32 Width;
UINT64 Address; UINT64 Address;
} EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE; } EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; UINT64 SlaveAddress;
EFI_SMBUS_DEVICE_COMMAND Command; UINT64 Command;
EFI_SMBUS_OPERATION Operation; UINT32 Operation;
BOOLEAN PecCheck; BOOLEAN PecCheck;
UINTN DataSize; UINT32 DataSize;
} EFI_BOOT_SCRIPT_SMBUS_EXECUTE; } EFI_BOOT_SCRIPT_SMBUS_EXECUTE;
typedef struct { typedef struct {
UINT16 OpCode; UINT16 OpCode;
UINT8 Length; UINT8 Length;
UINTN Duration; UINT64 Duration;
} EFI_BOOT_SCRIPT_STALL; } EFI_BOOT_SCRIPT_STALL;
typedef struct { typedef struct {