KolibriOS kernel
hd_drv.inc File Reference

Classes

struct  HD_DATA
 

Functions

void ide_read_write (arg_t hd_data, arg_t buffer, qword startsector, arg_t numsectors)
 
void ide_querymedia (arg_t hd_data, arg_t mediainfo)
 --------------------------------------------------------------— More...
 

Variables

label ide_callbacks
 
HD_DATA hd0_data
 
HD_DATA hd1_data
 
HD_DATA hd2_data
 
HD_DATA hd3_data
 
HD_DATA hd4_data
 
HD_DATA hd5_data
 
HD_DATA hd6_data
 
HD_DATA hd7_data
 
HD_DATA hd8_data
 
HD_DATA hd9_data
 
HD_DATA hd10_data
 
HD_DATA hd11_data
 
label ide_mutex_table
 
MUTEX ide_mutex
 
MUTEX ide_channel1_mutex
 
MUTEX ide_channel2_mutex
 
MUTEX ide_channel3_mutex
 
MUTEX ide_channel4_mutex
 
MUTEX ide_channel5_mutex
 
MUTEX ide_channel6_mutex
 
label blockSize
 
label sector
 
db allow_dma_access
 
db IDE_common_irq_param
 
dd eventPointer
 
dd eventID
 
label ide_read
 --------------------------------------------------------------— More...
 
label ide_write
 
dd sectors_todo
 
dd channel_lock
 
label IDE_transfer
 --------------------------------------------------------------— input: esi -> buffer, bl = command, [sector], [blockSize] output: esi -> next block in buffer for pio read esi equal edi More...
 
label hd_read_error
 --------------------------------------------------------------— More...
 
label hd_write_error
 --------------------------------------------------------------— More...
 
label save_hd_wait_timeout
 --------------------------------------------------------------— More...
 
label check_hd_wait_timeout
 --------------------------------------------------------------— More...
 
label IDE_irq_14_handler
 --------------------------------------------------------------— More...
 
label IDE_irq_15_handler
 
label IDE_common_irq_handler
 

Function Documentation

◆ ide_querymedia()

void ide_querymedia ( arg_t  hd_data,
arg_t  mediainfo 
)

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:194

◆ ide_read_write()

void ide_read_write ( arg_t  hd_data,
arg_t  buffer,
qword  startsector,
arg_t  numsectors 
)

Variable Documentation

◆ allow_dma_access

db allow_dma_access
Initial value
?
Source
blkdev/hd_drv.inc:66

◆ blockSize

label blockSize

◆ channel_lock

dd channel_lock
Initial value
?
Source
blkdev/hd_drv.inc:87

◆ check_hd_wait_timeout

label check_hd_wait_timeout

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:490

◆ eventID

dd eventID
Initial value
?
Source
blkdev/hd_drv.inc:69

◆ eventPointer

dd eventPointer
Initial value
?
Source
blkdev/hd_drv.inc:68

◆ hd0_data

HD_DATA hd0_data
Initial value
1, 0
Source
blkdev/hd_drv.inc:32

◆ hd10_data

HD_DATA hd10_data
Initial value
11, 0
Source
blkdev/hd_drv.inc:42

◆ hd11_data

HD_DATA hd11_data
Initial value
12, 16
Source
blkdev/hd_drv.inc:43

◆ hd1_data

HD_DATA hd1_data
Initial value
2, 16
Source
blkdev/hd_drv.inc:33

◆ hd2_data

HD_DATA hd2_data
Initial value
3, 0
Source
blkdev/hd_drv.inc:34

◆ hd3_data

HD_DATA hd3_data
Initial value
4, 16
Source
blkdev/hd_drv.inc:35

◆ hd4_data

HD_DATA hd4_data
Initial value
5, 0
Source
blkdev/hd_drv.inc:36

◆ hd5_data

HD_DATA hd5_data
Initial value
6, 16
Source
blkdev/hd_drv.inc:37

◆ hd6_data

HD_DATA hd6_data
Initial value
7, 0
Source
blkdev/hd_drv.inc:38

◆ hd7_data

HD_DATA hd7_data
Initial value
8, 16
Source
blkdev/hd_drv.inc:39

◆ hd8_data

HD_DATA hd8_data
Initial value
9, 0
Source
blkdev/hd_drv.inc:40

◆ hd9_data

HD_DATA hd9_data
Initial value
10, 16
Source
blkdev/hd_drv.inc:41

◆ hd_read_error

label hd_read_error

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:474

◆ hd_write_error

label hd_write_error

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:479

◆ ide_callbacks

label ide_callbacks

◆ ide_channel1_mutex

MUTEX ide_channel1_mutex
Initial value
Source
blkdev/hd_drv.inc:56

◆ ide_channel2_mutex

MUTEX ide_channel2_mutex
Initial value
Source
blkdev/hd_drv.inc:57

◆ ide_channel3_mutex

MUTEX ide_channel3_mutex
Initial value
Source
blkdev/hd_drv.inc:58

◆ ide_channel4_mutex

MUTEX ide_channel4_mutex
Initial value
Source
blkdev/hd_drv.inc:59

◆ ide_channel5_mutex

MUTEX ide_channel5_mutex
Initial value
Source
blkdev/hd_drv.inc:60

◆ ide_channel6_mutex

MUTEX ide_channel6_mutex
Initial value
Source
blkdev/hd_drv.inc:61

◆ IDE_common_irq_handler

label IDE_common_irq_handler

◆ IDE_common_irq_param

db IDE_common_irq_param
Initial value
?
Source
blkdev/hd_drv.inc:67

◆ IDE_irq_14_handler

label IDE_irq_14_handler

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:502

◆ IDE_irq_15_handler

label IDE_irq_15_handler

◆ ide_mutex

MUTEX ide_mutex
Initial value
Source
blkdev/hd_drv.inc:55

◆ ide_mutex_table

label ide_mutex_table

◆ ide_read

label ide_read

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:72

◆ IDE_transfer

label IDE_transfer

--------------------------------------------------------------— input: esi -> buffer, bl = command, [sector], [blockSize] output: esi -> next block in buffer for pio read esi equal edi

Source
blkdev/hd_drv.inc:210

◆ ide_write

label ide_write

◆ save_hd_wait_timeout

label save_hd_wait_timeout

--------------------------------------------------------------—

Source
blkdev/hd_drv.inc:484

◆ sector

◆ sectors_todo

dd sectors_todo
Initial value
?
Source
blkdev/hd_drv.inc:86