wdc_data Struct Reference

Back to the index.

Public Attributes | List of all members
wdc_data Struct Reference

Public Attributes

struct interrupt irq
 
int addr_mult
 
int base_drive
 
int data_debug
 
int io_enabled
 
int cyls [2]
 
int heads [2]
 
int sectors_per_track [2]
 
unsigned char * inbuf
 
int inbuf_head
 
int inbuf_tail
 
int int_assert
 
int write_in_progress
 
int write_count
 
int64_t write_offset
 
int error
 
int precomp
 
int seccnt
 
int sector
 
int cyl_lo
 
int cyl_hi
 
int sectorsize
 
int lba
 
int drive
 
int head
 
int cur_command
 
int atapi_cmd_in_progress
 
int atapi_phase
 
struct scsi_transferatapi_st
 
int atapi_len
 
size_t atapi_received
 
unsigned char identify_struct [512]
 

Detailed Description

Definition at line 54 of file dev_wdc.cc.

Member Data Documentation

◆ addr_mult

int wdc_data::addr_mult

Definition at line 56 of file dev_wdc.cc.

Referenced by DEVICE_ACCESS(), and DEVINIT().

◆ atapi_cmd_in_progress

int wdc_data::atapi_cmd_in_progress

Definition at line 88 of file dev_wdc.cc.

Referenced by wdc_command().

◆ atapi_len

int wdc_data::atapi_len

Definition at line 91 of file dev_wdc.cc.

◆ atapi_phase

int wdc_data::atapi_phase

Definition at line 89 of file dev_wdc.cc.

◆ atapi_received

size_t wdc_data::atapi_received

Definition at line 92 of file dev_wdc.cc.

◆ atapi_st

struct scsi_transfer* wdc_data::atapi_st

Definition at line 90 of file dev_wdc.cc.

◆ base_drive

int wdc_data::base_drive

Definition at line 57 of file dev_wdc.cc.

Referenced by DEVINIT(), wdc__read(), and wdc_command().

◆ cur_command

int wdc_data::cur_command

Definition at line 86 of file dev_wdc.cc.

Referenced by wdc__write(), and wdc_command().

◆ cyl_hi

int wdc_data::cyl_hi

Definition at line 81 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ cyl_lo

int wdc_data::cyl_lo

Definition at line 80 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ cyls

int wdc_data::cyls[2]

Definition at line 62 of file dev_wdc.cc.

Referenced by DEVINIT().

◆ data_debug

int wdc_data::data_debug

Definition at line 58 of file dev_wdc.cc.

Referenced by DEVINIT().

◆ drive

int wdc_data::drive

Definition at line 84 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ error

int wdc_data::error

Definition at line 76 of file dev_wdc.cc.

Referenced by DEVINIT(), and wdc_command().

◆ head

int wdc_data::head

Definition at line 85 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ heads

int wdc_data::heads[2]

Definition at line 63 of file dev_wdc.cc.

Referenced by DEVINIT(), wdc__read(), and wdc__write().

◆ identify_struct

unsigned char wdc_data::identify_struct[512]

Definition at line 94 of file dev_wdc.cc.

◆ inbuf

unsigned char* wdc_data::inbuf

Definition at line 66 of file dev_wdc.cc.

Referenced by DEVINIT(), and wdc__read().

◆ inbuf_head

int wdc_data::inbuf_head

Definition at line 67 of file dev_wdc.cc.

Referenced by wdc__read().

◆ inbuf_tail

int wdc_data::inbuf_tail

Definition at line 68 of file dev_wdc.cc.

◆ int_assert

int wdc_data::int_assert

Definition at line 70 of file dev_wdc.cc.

Referenced by DEVICE_TICK(), and wdc_command().

◆ io_enabled

int wdc_data::io_enabled

Definition at line 59 of file dev_wdc.cc.

Referenced by DEVICE_ACCESS(), DEVINIT(), and wdc_set_io_enabled().

◆ irq

struct interrupt wdc_data::irq

Definition at line 906 of file dev_wdc.cc.

Referenced by DEVICE_TICK(), and DEVINIT().

◆ lba

int wdc_data::lba

Definition at line 83 of file dev_wdc.cc.

Referenced by wdc__read(), and wdc__write().

◆ precomp

int wdc_data::precomp

Definition at line 77 of file dev_wdc.cc.

Referenced by wdc_command().

◆ seccnt

int wdc_data::seccnt

Definition at line 78 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ sector

int wdc_data::sector

Definition at line 79 of file dev_wdc.cc.

Referenced by wdc__read(), wdc__write(), and wdc_command().

◆ sectors_per_track

int wdc_data::sectors_per_track[2]

Definition at line 64 of file dev_wdc.cc.

Referenced by DEVINIT(), wdc__read(), and wdc__write().

◆ sectorsize

int wdc_data::sectorsize

Definition at line 82 of file dev_wdc.cc.

◆ write_count

int wdc_data::write_count

Definition at line 73 of file dev_wdc.cc.

Referenced by wdc__write().

◆ write_in_progress

int wdc_data::write_in_progress

Definition at line 72 of file dev_wdc.cc.

Referenced by wdc__write().

◆ write_offset

int64_t wdc_data::write_offset

Definition at line 74 of file dev_wdc.cc.

Referenced by wdc__write().


The documentation for this struct was generated from the following file:

Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18