ufs_device.hh (12087:0e082672ac6b) | ufs_device.hh (13025:0b8a9dea2b25) |
---|---|
1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 359 unchanged lines hidden (view full) --- 368 uint16_t PRDTableOffset; 369 }; 370 371 /** 372 * SCSI reply structure. In here is all the information that is needed to 373 * build a SCSI reply. 374 */ 375 struct SCSIReply { | 1/* 2 * Copyright (c) 2013-2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 359 unchanged lines hidden (view full) --- 368 uint16_t PRDTableOffset; 369 }; 370 371 /** 372 * SCSI reply structure. In here is all the information that is needed to 373 * build a SCSI reply. 374 */ 375 struct SCSIReply { |
376 void reset() { 377 memset(static_cast<void*>(this), 0, sizeof(*this)); 378 } 379 |
|
376 uint8_t status; 377 uint32_t msgSize; 378 uint8_t LUN; 379 struct UPIUMessage message; 380 uint8_t senseSize; 381 uint8_t expectMore;//0x01 is for writes, 0x02 is for reads 382 uint64_t offset; 383 uint8_t senseCode[19]; --- 835 unchanged lines hidden --- | 380 uint8_t status; 381 uint32_t msgSize; 382 uint8_t LUN; 383 struct UPIUMessage message; 384 uint8_t senseSize; 385 uint8_t expectMore;//0x01 is for writes, 0x02 is for reads 386 uint64_t offset; 387 uint8_t senseCode[19]; --- 835 unchanged lines hidden --- |