| 870 | } |
| 871 | |
| 872 | void 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 | |
| 887 | void ScsiController::ParseMessage() |
| 888 | { |
nothing calls this directly
no outgoing calls
no test coverage detected