aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/atapi_pio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/atapi_pio.h')
-rw-r--r--src/kernel/fs/atapi_pio.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/kernel/fs/atapi_pio.h b/src/kernel/fs/atapi_pio.h
deleted file mode 100644
index 1897d53..0000000
--- a/src/kernel/fs/atapi_pio.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef MELVIX_ATAPI_PIO_H
-#define MELVIX_ATAPI_PIO_H
-
-#include <stdint.h>
-
-#define ATAPI_PIO_DRIVE 0xE0
-#define LBA_READ_INT 0x13
-#define ATAPI_PIO_DAPACK 32256
-#define ATAPI_PIO_BUFFER 32768
-#define ATAPI_SECTOR_SIZE 2048
-
-struct dapack {
- uint8_t size;
- uint8_t null;
- uint16_t blk_count;
- uint16_t b_offset;
- uint16_t b_segment;
- uint32_t start;
- uint32_t upper_lba_bits;
-} __attribute__((packed));
-
-void ATAPI_read(uint16_t nblocks, uint32_t lba);
-
-void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output);
-
-#endif \ No newline at end of file