the idt descriptors look a bit wrong. this patch fixes that
authorKevin O'Connor <kevin@koconnor.net>
Fri, 29 Feb 2008 01:00:20 +0000 (20:00 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 29 Feb 2008 01:00:20 +0000 (20:00 -0500)
From Nguyen Anh Quynh

src/romlayout.S

index 039a1d83d9a851d5181a1871aefb3bbd80fe4827..fe565f6bac3dddb78b88bc1cdfc4fa5c655feb78 100644 (file)
@@ -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