From aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Apr 2020 16:35:29 +0200 Subject: Added ext2 filesystem --- src/kernel/fs/atapi_pio.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/kernel/fs/atapi_pio.h (limited to 'src/kernel/fs/atapi_pio.h') 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 - -#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 -- cgit v1.2.3