MicrOS
|
Hard disk I/O based Drive / Head Register. More...
#include <harddisk_pio_mode_header.h>
Public Attributes | |
uint8_t | chs_head_lba_block_number: 4 |
In CHS addressing, bits 0 to 3 of the head. In LBA addressing, bits 24 to 27 of the block number. More... | |
uint8_t | drive_number: 1 |
Selects the drive number (short: DRV). More... | |
uint8_t | always_set_field_1: 1 |
Always set. More... | |
uint8_t | uses_lba: 1 |
Uses CHS addressing if clear or LBA addressing if set (short: LBA). More... | |
uint8_t | always_set_field_2: 1 |
Always set. More... | |
Hard disk I/O based Drive / Head Register.
Struct used to read from Drive / Head Register of I/O port. Used to select a drive and/or head. Supports extra address/flag bits.
uint8_t harddisk_io_drive_head_register_fields::always_set_field_1 |
Always set.
uint8_t harddisk_io_drive_head_register_fields::always_set_field_2 |
Always set.
uint8_t harddisk_io_drive_head_register_fields::chs_head_lba_block_number |
In CHS addressing, bits 0 to 3 of the head. In LBA addressing, bits 24 to 27 of the block number.
uint8_t harddisk_io_drive_head_register_fields::drive_number |
Selects the drive number (short: DRV).
uint8_t harddisk_io_drive_head_register_fields::uses_lba |
Uses CHS addressing if clear or LBA addressing if set (short: LBA).