| 58 | } |
| 59 | |
| 60 | void AbstractController::Reset() |
| 61 | { |
| 62 | SetPhase(phase_t::busfree); |
| 63 | |
| 64 | ctrl = {}; |
| 65 | |
| 66 | SetByteTransfer(false); |
| 67 | |
| 68 | // Reset all LUNs |
| 69 | for (const auto& [_, device] : luns) { |
| 70 | device->Reset(); |
| 71 | } |
| 72 | |
| 73 | GetBus().Reset(); |
| 74 | } |
| 75 | |
| 76 | void AbstractController::ProcessOnController(int id_data) |
| 77 | { |
nothing calls this directly
no outgoing calls
no test coverage detected