aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/atapi_pio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/atapi_pio.c')
-rw-r--r--src/kernel/fs/atapi_pio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/fs/atapi_pio.c b/src/kernel/fs/atapi_pio.c
index 4f986d9..e64cd75 100644
--- a/src/kernel/fs/atapi_pio.c
+++ b/src/kernel/fs/atapi_pio.c
@@ -19,9 +19,7 @@ void ATAPI_read(uint16_t nblocks, uint32_t lba) {
regs.ds = 0;
regs.si = ATAPI_PIO_DAPACK;
- paging_disable();
- int32(LBA_READ_INT, &regs);
- paging_enable();
+ v86(LBA_READ_INT, &regs);
}
void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output) {