MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / ReadWriteLong10

Method ReadWriteLong10

cpp/devices/disk.cpp:130–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void Disk::ReadWriteLong10() const
131{
132 ValidateBlockAddress(RW10);
133
134 // Transfer lengths other than 0 are not supported, which is compliant with the SCSI standard
135 if (GetInt16(GetController()->GetCmd(), 7) != 0) {
136 throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_cdb);
137 }
138
139 EnterStatusPhase();
140}
141
142void Disk::ReadWriteLong16() const
143{

Callers

nothing calls this directly

Calls 3

scsi_exceptionClass · 0.85
GetCmdMethod · 0.80
GetInt16Function · 0.70

Tested by

no test coverage detected