k-tana-zero/k/atapi.h

17 lines
223 B
C

#ifndef ATAPI_H
#define ATAPI_H
#include <stdint.h>
#include <stddef.h>
struct atapi_drive
{
uint16_t reg;
uint16_t drive;
};
void discover_atapi_drive(void);
void *read_block(size_t lba);
#endif /* !ATAPI_H */