start messing with fat32
This commit is contained in:
+3
-2
@@ -2,6 +2,7 @@
|
||||
#define DISK_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct {
|
||||
unsigned short cylinders;
|
||||
@@ -11,7 +12,7 @@ typedef struct {
|
||||
|
||||
void get_disk_info(disk_info *info);
|
||||
int ide_check_disk_present();
|
||||
uint8_t ata_read(uint8_t *buffer, uint32_t lba);
|
||||
void ata_write(uint8_t *buffer, uint32_t lba);
|
||||
bool ata_read(uint8_t *buffer, uint32_t lba);
|
||||
bool ata_write(const uint8_t *buffer, uint32_t lba);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user