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

Method XferMsg

cpp/controllers/scsi_controller.cpp:600–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600bool ScsiController::XferMsg(int msg)
601{
602 assert(IsMsgOut());
603
604 // Save message out data
605 if (scsi.atnmsg) {
606 scsi.msb[scsi.msc] = (uint8_t)msg;
607 scsi.msc++;
608 scsi.msc %= 256;
609 }
610
611 return true;
612}
613
614void ScsiController::ReceiveBytes()
615{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected