add atapi driver

This commit is contained in:
2025-08-14 21:13:10 +03:00
parent d017f0b245
commit ea39cb85f3
4 changed files with 120 additions and 118 deletions
+9
View File
@@ -0,0 +1,9 @@
#ifndef ATAPI_H
#define ATAPI_H
#include <stdint.h>
#include <stdbool.h>
int read_cdrom(uint16_t port, bool slave, uint32_t lba, uint32_t sectors, uint16_t *buffer);
#endif