Read-Capacity16 command added for SCSI drivers

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7999 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4
2009-04-01 08:24:58 +00:00
parent 312bc8f873
commit ccb491c862
3 changed files with 163 additions and 0 deletions

View File

@@ -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
@@ -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()
//