aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/atapi_pio.c
diff options
context:
space:
mode:
authorMarvin Borner2019-11-28 21:26:22 +0100
committerMarvin Borner2019-11-28 21:27:53 +0100
commit4ada94d4db995ebf150dd3ecfc8efd3241a6ff84 (patch)
tree18f67894b7d517ade02ee1bada0bcdf8688eeec4 /src/kernel/fs/atapi_pio.c
parente294302ec8940669e7c8c5559eff2441f9ce4988 (diff)
Made font external module
Diffstat (limited to 'src/kernel/fs/atapi_pio.c')
-rw-r--r--src/kernel/fs/atapi_pio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/fs/atapi_pio.c b/src/kernel/fs/atapi_pio.c
index 34cd1e6..c2cdd8c 100644
--- a/src/kernel/fs/atapi_pio.c
+++ b/src/kernel/fs/atapi_pio.c
@@ -27,6 +27,7 @@ void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output)
{
for (uint32_t i = 0; i < nblocks; i++) {
ATAPI_read(1, lba + i);
- for (uint16_t j = 0; j < ATAPI_SECTOR_SIZE; j++) output[j + (2048 * i)] = ((uint8_t *) ATAPI_PIO_BUFFER)[j];
+ for (uint16_t j = 0; j < ATAPI_SECTOR_SIZE; j++)
+ output[j + (2048 * i)] = ((uint8_t *) ATAPI_PIO_BUFFER)[j];
}
} \ No newline at end of file