1 // 2 // Copyright (c) 2010-2023 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 namespace Antmicro.Renode.Storage.SCSI 8 { 9 public enum SCSICommand : byte 10 { 11 TestUnitReady = 0x00, 12 RequestSense = 0x03, 13 FormatUnit = 0x04, 14 Read6 = 0x08, 15 Write6 = 0x0A, 16 Inquiry = 0x12, 17 ModeSense6 = 0x1A, 18 StartStopUnit = 0x1B, 19 SendDiagnostic = 0x1D, 20 PreventAllowMediumRemoval = 0x1E, 21 ReadCapacity = 0x25, // ReadCapacity (10) 22 Read10 = 0x28, 23 Write10 = 0x2A, 24 Verify10 = 0x2F, 25 PreFetch10 = 0x34, 26 SynchronizeCache10 = 0x35, 27 WriteBuffer = 0x3B, 28 ReadBuffer = 0x3C, 29 Unmap = 0x42, 30 ModeSelect10 = 0x55, 31 ModeSense10 = 0x5A, 32 Read16 = 0x88, 33 Write16 = 0x8A, 34 PreFetch16 = 0x90, 35 SynchronizeCache16 = 0x91, 36 ReadCapacity16 = 0x9E, 37 ReportLUNs = 0xA0, 38 SecurityProtocolIn1 = 0xA2, 39 SecurityProtocolOut1 = 0xB5, 40 } 41 }