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

Method ProcessCommand

cpp/controllers/scsi_controller.cpp:872–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870}
871
872void ScsiController::ProcessCommand()
873{
874 const uint32_t len = GPIOBUS::GetCommandByteCount(GetBuffer()[0]);
875
876 stringstream s;
877 s << "CDB=$" << setfill('0') << setw(2) << hex;
878 for (uint32_t i = 0; i < len; i++) {
879 SetCmdByte(i, GetBuffer()[i]);
880 s << GetCmdByte(i);
881 }
882 LogTrace(s.str());
883
884 Execute();
885}
886
887void ScsiController::ParseMessage()
888{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected