blob: 924cabd22fe551bb9a1ddc8faa8d0ff09ee94709 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
void ata_init(void);
bool ata_available(int drive);
size_t ata_size(int drive);
int ata_read(int drive, void *buf, size_t len, size_t off);
int ata_write(int drive, const void *buf, size_t len, size_t off);
|