PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
An ATA device. More...
Data Fields | |
char | name [8] |
Name, e.g. More... | |
struct channel * | channel |
Channel that disk is attached to. More... | |
int | dev_no |
Device 0 or 1 for master or slave. More... | |
bool | is_ata |
Is device an ATA disk? More... | |
struct channel* ata_disk::channel |
Channel that disk is attached to.
Definition at line 57 of file ide.c.
Referenced by check_device_type(), ide_init(), ide_read(), ide_write(), identify_ata_device(), select_device(), select_sector(), wait_until_idle(), and wait_while_busy().
int ata_disk::dev_no |
Device 0 or 1 for master or slave.
Definition at line 58 of file ide.c.
Referenced by check_device_type(), ide_init(), reset_channel(), select_device(), and select_sector().
bool ata_disk::is_ata |
Is device an ATA disk?
Definition at line 59 of file ide.c.
Referenced by check_device_type(), ide_init(), and identify_ata_device().
char ata_disk::name[8] |
Name, e.g.
"hda".
Definition at line 56 of file ide.c.
Referenced by ide_init(), ide_read(), ide_write(), identify_ata_device(), wait_until_idle(), and wait_while_busy().