MicrOS
harddisk_detection.h
Go to the documentation of this file.
1 #ifndef HARDDISK_DETECTION_H
2 #define HARDDISK_DETECTION_H
3 
4 
5 #include "assembly/io.h"
6 #include "harddisk_header.h"
7 #include "ata/harddisk_ata.h"
8 #include "atapi/harddisk_atapi.h"
9 
11 
19 
21 
29 
30 #endif
Defines status of hard disks in system.
Definition: harddisk_header.h:40
int8_t __harddisk_get_identify_data(HARDDISK_ATA_MASTER_SLAVE type, HARDDISK_ATA_BUS_TYPE bus, harddisk_identify_device_data *data, uint8_t identify_command)
Check hard disk presence in computer.
Definition: harddisk_detection.c:89
Hard disk Identify Device Data.
Definition: harddisk_identify_device_data.h:999
HARDDISK_ATA_BUS_TYPE
Enum represent bus type.
Definition: harddisk_header.h:15
int8_t __harddisk_check_presence(HARDDISK_ATA_MASTER_SLAVE type, HARDDISK_ATA_BUS_TYPE bus, harddisk_states *states)
Check hard disk presence in computer.
Definition: harddisk_detection.c:3
HARDDISK_ATA_MASTER_SLAVE
Enum represent hard disk type.
Definition: harddisk_header.h:22