| 74 | } |
| 75 | |
| 76 | void AbstractController::ProcessOnController(int id_data) |
| 77 | { |
| 78 | device_logger.SetIdAndLun(GetTargetId(), -1); |
| 79 | |
| 80 | const int initiator_id = ExtractInitiatorId(id_data); |
| 81 | if (initiator_id != UNKNOWN_INITIATOR_ID) { |
| 82 | LogTrace("++++ Starting processing for initiator ID " + to_string(initiator_id)); |
| 83 | } |
| 84 | else { |
| 85 | LogTrace("++++ Starting processing for unknown initiator ID"); |
| 86 | } |
| 87 | |
| 88 | while (Process(initiator_id)) { |
| 89 | // Handle bus phases until the bus is free for the next command |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | bool AbstractController::AddDevice(shared_ptr<PrimaryDevice> device) |
| 94 | { |
nothing calls this directly
no test coverage detected