From 45d9495e77dba212551ae9bc8e09b51e9ed6d324 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 23 Nov 2019 00:36:28 +0100 Subject: Tried implementing memory based paging... Also did many other fixes/improvements. While I think I did most things correct, the ACPI doesn't work anymore (triple fault) and the resolution detection fails with 0x2... :c --- src/kernel/fs/atapi_pio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/kernel/fs/atapi_pio.c') 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) { -- cgit v1.2.3