disk: implement ata_read

This commit is contained in:
2025-03-15 21:11:10 +03:00
parent 885ed6a7d1
commit f7ed064db7
4 changed files with 56 additions and 4 deletions
+1
View File
@@ -11,5 +11,6 @@ typedef struct {
void get_disk_info(disk_info *info);
int ide_check_disk_present();
uint8_t ata_read(uint8_t *buffer, uint32_t lba);
#endif
+3
View File
@@ -5,5 +5,8 @@
uint8 inportb(uint16 _port);
void outportb(uint16 _port, uint8 _data);
#define inb inportb
#define outb outportb
#endif