diff options
Diffstat (limited to 'src/kernel/fs/atapi_pio.c')
-rw-r--r-- | src/kernel/fs/atapi_pio.c | 4 |
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, ®s); - paging_enable(); + v86(LBA_READ_INT, ®s); } void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output) { |