| 671 | } |
| 672 | |
| 673 | bool ScsiController::XferOut(bool cont) |
| 674 | { |
| 675 | assert(IsDataOut()); |
| 676 | |
| 677 | if (!IsByteTransfer()) { |
| 678 | return XferOutBlockOriented(cont); |
| 679 | } |
| 680 | |
| 681 | const uint32_t count = GetBytesToTransfer(); |
| 682 | SetByteTransfer(false); |
| 683 | |
| 684 | auto device = GetDeviceForLun(GetEffectiveLun()); |
| 685 | return device != nullptr ? device->WriteByteSequence(span(GetBuffer().data(), count)) : false; |
| 686 | } |
| 687 | |
| 688 | void ScsiController::DataOutNonBlockOriented() const |
| 689 | { |
nothing calls this directly
no test coverage detected