mirror of
https://github.com/akuker/RASCSI.git
synced 2024-05-28 09:41:33 +00:00
f3553c5480
* Resolved issues 772, 827, 909 * Added numerous unit tests * Code cleanup * Improved type safety by using PbDeviceType instead of string * Do not flush cache on failed STOP UNIT * Error message and error handling updates * Removed duplicate code * Use map for mapping shift counts * Reject read/write access if the drive has 0 sectors * Updated logging configuration for tests
24 lines
504 B
C++
24 lines
504 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2021-2022 Uwe Seimet
|
|
//
|
|
// Interface for SCSI Multi-Media commands (see https://www.t10.org/drafts.htm, MMC-6)
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
class ScsiMmcCommands
|
|
{
|
|
|
|
public:
|
|
|
|
ScsiMmcCommands() = default;
|
|
virtual ~ScsiMmcCommands() = default;
|
|
|
|
virtual void ReadToc() = 0;
|
|
};
|