22 template<
typename Archive>
23 void serialize(Archive& ar,
unsigned version);
27 [[nodiscard]]
bool isPacketDevice()
override;
28 [[nodiscard]] std::string_view getDeviceName()
override;
30 [[nodiscard]]
unsigned readBlockStart(
AlignedBuffer& buffer,
unsigned count)
override;
31 void writeBlockComplete(
AlignedBuffer& buffer,
unsigned count)
override;
32 void executeCommand(
byte cmd)
override;
36 unsigned transferSectorNumber = 0;
37 const std::string devName;
IDEHD & operator=(const IDEHD &)=delete
void serialize(Archive &ar, unsigned version)
IDEHD & operator=(IDEHD &&)=delete
IDEHD(const IDEHD &)=delete
This file implemented 3 utility functions: