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

Method Init

cpp/controllers/phase_handler.cpp:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include "phase_handler.h"
11
12void PhaseHandler::Init()
13{
14 phase_executors[phase_t::busfree] = [this] () { BusFree(); };
15 phase_executors[phase_t::selection] = [this] () { Selection(); };
16 phase_executors[phase_t::dataout] = [this] () { DataOut(); };
17 phase_executors[phase_t::datain] = [this] () { DataIn(); };
18 phase_executors[phase_t::command] = [this] () { Command(); };
19 phase_executors[phase_t::status] = [this] () { Status(); };
20 phase_executors[phase_t::msgout] = [this] () { MsgOut(); };
21 phase_executors[phase_t::msgin] = [this] () { MsgIn(); };
22}

Callers 1

CreateScsiControllerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected