| 140 | } |
| 141 | |
| 142 | void Disk::ReadWriteLong16() const |
| 143 | { |
| 144 | ValidateBlockAddress(RW16); |
| 145 | |
| 146 | // Transfer lengths other than 0 are not supported, which is compliant with the SCSI standard |
| 147 | if (GetInt16(GetController()->GetCmd(), 12) != 0) { |
| 148 | throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_cdb); |
| 149 | } |
| 150 | |
| 151 | EnterStatusPhase(); |
| 152 | } |
| 153 | |
| 154 | void Disk::Write(access_mode mode) const |
| 155 | { |
nothing calls this directly
no test coverage detected