X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FScsi.h;h=721c096abea8815056d7621c97b5e860e6d6b2d5;hb=ccb491c862cf5137fd4645f83adf529f17313858;hp=1d0eb3f308cfb39489a3d48d99c3e386d790f015;hpb=190f29c01b3ea191fc1549d67b6b5ef3effef539;p=mirror_edk2.git diff --git a/MdePkg/Include/IndustryStandard/Scsi.h b/MdePkg/Include/IndustryStandard/Scsi.h index 1d0eb3f308..721c096abe 100644 --- a/MdePkg/Include/IndustryStandard/Scsi.h +++ b/MdePkg/Include/IndustryStandard/Scsi.h @@ -49,6 +49,7 @@ #define EFI_SCSI_OP_READ6 0x08 #define EFI_SCSI_OP_READ10 0x28 #define EFI_SCSI_OP_READ_CAPACITY 0x25 +#define EFI_SCSI_OP_READ_CAPACITY16 0x9e #define EFI_SCSI_OP_READ_DEFECT 0x37 #define EFI_SCSI_OP_READ_LONG 0x3e #define EFI_SCSI_OP_REASSIGN_BLK 0x07 @@ -199,7 +200,7 @@ typedef struct { UINT8 Peripheral_Type : 5; UINT8 Peripheral_Qualifier : 3; UINT8 DeviceType_Modifier : 7; - UINT8 RMB : 1; + UINT8 Rmb : 1; UINT8 Version; UINT8 Response_Data_Format; UINT8 Addnl_Length; @@ -215,7 +216,7 @@ typedef struct { UINT8 Segment_Number; UINT8 Sense_Key : 4; UINT8 Reserved_21 : 1; - UINT8 ILI : 1; + UINT8 Ili : 1; UINT8 Reserved_22 : 2; UINT8 Information_3_6[4]; UINT8 Addnl_Sense_Length; ///< Additional sense length (n-7) @@ -240,6 +241,27 @@ typedef struct { UINT8 BlockSize0; } EFI_SCSI_DISK_CAPACITY_DATA; +typedef struct { + UINT8 LastLba7; + UINT8 LastLba6; + UINT8 LastLba5; + UINT8 LastLba4; + UINT8 LastLba3; + UINT8 LastLba2; + UINT8 LastLba1; + UINT8 LastLba0; + UINT8 BlockSize3; + UINT8 BlockSize2; + UINT8 BlockSize1; + UINT8 BlockSize0; + UINT8 Protection; + UINT8 LogicPerPhysical; + UINT8 LowestAlignLogic2; + UINT8 LowestAlignLogic1; + UINT8 Reserved[16]; +} EFI_SCSI_DISK_CAPACITY_DATA16; + + #pragma pack() //