--- nono/vm/scsi.h 2026/04/29 17:04:29 1.1.1.2 +++ nono/vm/scsi.h 2026/04/29 17:04:32 1.1.1.3 @@ -177,10 +177,10 @@ class SCSI // Mode Select(6) ヘッダ struct ModeParamHdr { - uint8 mode_param_len; // ヘッダ以降のバイト数 + uint8 mode_param_len; // バイト長 (このバイトを含まずこれ以降) uint8 media_type; uint8 device_specific_param; - uint8 block_desc_len; // 0 か 8の倍数 + uint8 block_desc_len; // ブロックディスクリプタ長 } __packed; // Mode Select(6) ブロックディスクリプタ