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

Method ProcessMessage

cpp/controllers/scsi_controller.cpp:953–972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953void ScsiController::ProcessMessage()
954{
955 // Continue message out phase as long as ATN keeps asserting
956 if (GetBus().GetATN()) {
957 // Data transfer is 1 byte x 1 block
958 ResetOffset();
959 SetLength(1);
960 SetBlocks(1);
961 return;
962 }
963
964 if (scsi.atnmsg) {
965 ParseMessage();
966 }
967
968 // Initialize ATN message reception status
969 scsi.atnmsg = false;
970
971 Command();
972}
973
974int ScsiController::GetEffectiveLun() const
975{

Callers

nothing calls this directly

Calls 1

GetATNMethod · 0.45

Tested by

no test coverage detected