From ddd4bfdfc22e218f44d378f960485e26603bbfad Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 28 Feb 2008 20:00:20 -0500 Subject: [PATCH] the idt descriptors look a bit wrong. this patch fixes that From Nguyen Anh Quynh --- src/romlayout.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/romlayout.S b/src/romlayout.S index 039a1d8..fe565f6 100644 --- a/src/romlayout.S +++ b/src/romlayout.S @@ -201,8 +201,7 @@ __call16: // Set limit to 0 pmode_IDT_info: .word 0x0000 // limit 15:00 - .word 0x0000 // base 15:00 - .byte 0x0f // base 23:16 + .long 0xf0000 // base 16:47 // Real mode IDT descriptor // @@ -211,8 +210,7 @@ pmode_IDT_info: // limit = 03ff rmode_IDT_info: .word 0x03ff // limit 15:00 - .word 0x0000 // base 15:00 - .byte 0x00 // base 23:16 + .long 0 // base 16:47 rombios32_gdt_48: .word 0x30 -- 2.25.1