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

Method ModeSelect

cpp/devices/scsihd.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void SCSIHD::ModeSelect(scsi_command cmd, cdb_t cdb, span<const uint8_t> buf, int length)
90{
91 if (const string result = scsi_command_util::ModeSelect(cmd, cdb, buf, length, 1 << GetSectorSizeShiftCount());
92 !result.empty()) {
93 LogWarn(result);
94 }
95}
96
97void SCSIHD::AddFormatPage(map<int, vector<byte>>& pages, bool changeable) const
98{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected