18#ifndef __VSF_VIRTUAL_SCSI_H__
19#define __VSF_VIRTUAL_SCSI_H__
23#include "../../vsf_scsi_cfg.h"
25#if VSF_USE_SCSI == ENABLED && VSF_SCSI_USE_VIRTUAL_SCSI == ENABLED
27#if defined(__VSF_VIRTUAL_SCSI_CLASS_IMPLEMENT)
28# define __VSF_CLASS_IMPLEMENT__
29#elif defined(__VSF_VIRTUAL_SCSI_CLASS_INHERIT__)
30# define __VSF_CLASS_INHERIT__
105#if VSF_USE_SIMPLE_STREAM == ENABLED
113#if defined(__VSF_VIRTUAL_SCSI_CLASS_IMPLEMENT) || defined(__VSF_VIRTUAL_SCSI_CLASS_INHERIT__)
137#undef __VSF_VIRTUAL_SCSI_CLASS_IMPLEMENT
138#undef __VSF_VIRTUAL_SCSI_CLASS_INHERIT__
vsf_err_t
Definition __type.h:42
Definition vsf_scsi.h:133
Definition vsf_scsi.h:146
Definition vsf_virtual_scsi.h:51
Definition vsf_virtual_scsi.h:94
#define vsf_dcl_class
Definition ooc_class.h:46
#define vsf_class(__name)
Definition ooc_class.h:48
unsigned uint32_t
Definition stdint.h:9
unsigned int uint_fast32_t
Definition stdint.h:27
int int_fast32_t
Definition stdint.h:26
unsigned long long uint64_t
Definition stdint.h:11
unsigned long long uint_fast64_t
Definition stdint.h:29
unsigned char uint8_t
Definition stdint.h:5
Definition vsf_virtual_scsi.h:83
char revision[4]
Definition vsf_virtual_scsi.h:88
scsi_pdt_t type
Definition vsf_virtual_scsi.h:91
bool removable
Definition vsf_virtual_scsi.h:90
char product[16]
Definition vsf_virtual_scsi.h:87
uint32_t block_size
Definition vsf_virtual_scsi.h:84
char vendor[8]
Definition vsf_virtual_scsi.h:86
char * serial
Definition vsf_virtual_scsi.h:89
uint32_t block_num
Definition vsf_virtual_scsi.h:85
Definition vsf_utilities.h:51
#define read
Definition unistd.h:122
#define write
Definition unistd.h:123
#define __vsf_component_peda_ifs(__peda_name,...)
Definition vsf_component_cfg.h:62
#define vsf_peda_evthandler_t
Definition vsf_component_cfg.h:37
uint32_t size
Definition vsf_memfs.h:50
scsi_asc_t
Definition vsf_scsi.h:74
scsi_sensekey_t
This module provides SCSI device class which can execute SCSI commands. !
Definition vsf_scsi.h:57
scsi_pdt_t
Definition vsf_virtual_scsi.h:78
@ SCSI_PDT_CD_DVD
Definition vsf_virtual_scsi.h:80
@ SCSI_PDT_DIRECT_ACCESS_BLOCK
Definition vsf_virtual_scsi.h:79
vsf_virtual_scsi_drv_type_t
Definition vsf_virtual_scsi.h:46
@ VSF_VIRTUAL_SCSI_DRV_NORMAL
Definition vsf_virtual_scsi.h:47
@ VSF_VIRTUAL_SCSI_DRV_PARAM_SUBCALL
Definition vsf_virtual_scsi.h:48
const vk_scsi_drv_t vk_virtual_scsi_drv