1#ifndef DUMMYSCSIDEVICE_HH
2#define DUMMYSCSIDEVICE_HH
11 void reset()
override;
14 unsigned& blocks)
override;
17 int msgOut(uint8_t value)
override;
18 uint8_t
msgIn()
override;
22 [[nodiscard]]
unsigned dataIn(
unsigned& blocks)
override;
23 [[nodiscard]]
unsigned dataOut(
unsigned& blocks)
override;
25 template<
typename Archive>
26 void serialize(Archive& ar,
unsigned version);
unsigned executingCmd(SCSI::Phase &phase, unsigned &blocks) override
int msgOut(uint8_t value) override
unsigned dataOut(unsigned &blocks) override
unsigned dataIn(unsigned &blocks) override
unsigned executeCmd(std::span< const uint8_t, 12 > cdb, SCSI::Phase &phase, unsigned &blocks) override
void serialize(Archive &ar, unsigned version)
uint8_t getStatusCode() override
void disconnect() override
bool isSelected() override
This file implemented 3 utility functions: