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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/fs/atapi_pio.h b/src/kernel/fs/atapi_pio.h
index 20bef43..b7ddee8 100644
--- a/src/kernel/fs/atapi_pio.h
+++ b/src/kernel/fs/atapi_pio.h
@@ -10,13 +10,13 @@
#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;
+ 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);