mirror of https://github.com/acidanthera/audk.git
Fix bugs in MdePkg for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3345 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4d33f33ac4
commit
581e82a1f6
|
@ -41,8 +41,6 @@ typedef struct {
|
|||
UINTN SmbusDeviceAddress : 7;
|
||||
} EFI_SMBUS_DEVICE_ADDRESS;
|
||||
|
||||
typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
|
||||
|
||||
typedef enum _EFI_SMBUS_OPERATION
|
||||
{
|
||||
EfiSmbusQuickRead,
|
||||
|
|
|
@ -32,4 +32,4 @@ AsmPeiSevicesTablePointer (
|
|||
);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -256,7 +256,7 @@ SubmitModeSense10Command (
|
|||
ScsiIo->GetDeviceLocation (ScsiIo, &Target, &Lun);
|
||||
|
||||
Cdb[0] = EFI_SCSI_OP_MODE_SEN10;
|
||||
Cdb[1] = (UINT8) (Lun & 0xe0 + (DBDField << 3) & 0x08);
|
||||
Cdb[1] = (UINT8) ((Lun & 0xe0) + ((DBDField << 3) & 0x08));
|
||||
Cdb[2] = (UINT8) ((PageControl & 0xc0) | (PageCode & 0x3f));
|
||||
Cdb[7] = (UINT8) (*DataLength >> 8);
|
||||
Cdb[8] = (UINT8) (*DataLength);
|
||||
|
|
Loading…
Reference in New Issue