Changeset 503 for trunk/hal/x86_64/drivers
- Timestamp:
- Aug 25, 2018, 6:28:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/ioc_ata.c
r335 r503 54 54 #define ATA_CMD_IDENTIFY 0xEC 55 55 56 static inline uint16_t ata_data_read( )56 static inline uint16_t ata_data_read( void ) 57 57 { 58 58 return in16(PIO_ATA_CBR_BASE + ATA_DATA); … … 74 74 } 75 75 76 static inline int ata_wait( )76 static inline int ata_wait( void ) 77 77 { 78 78 uint8_t status; … … 148 148 } 149 149 150 static void ata_init( )150 static void ata_init( void ) 151 151 { 152 152 uint8_t data[512]; … … 184 184 185 185 static void ioc_ata_cmd(xptr_t th_xp); 186 extern void x86_ioapic_ata0( );186 extern void x86_ioapic_ata0( void ); 187 187 188 188 void ioc_ata_init(chdev_t *chdev)
Note: See TracChangeset
for help on using the changeset viewer.