General Protection Fault after loading IDT and executing sti
Posted: Sun Mar 24, 2013 2:03 am
Greetings!
First, My english is not good. i can not write english good.
but i can reading english. so very very sorry.
not enable interrupt:
enable interrupt:
I am somehow generating General Protection Fault and interrupt 32 as soon as I invoke "sti" after setting up the IDT, ISR, and IRQ.
source is http://dev.enbcode.com/los/
if want to zip file? http://dev.enbcode.com/los/los.rar
/kernel/main.c - main
/kernel/tables.c - set gdt & tss & idt
/kernel/interrupt.c - interrupt handler
/kernel/isr.S - set ISR
set gdt & idt and executing sti!!! so interrupt error..
please feedback and Thank you so much!
First, My english is not good. i can not write english good.
but i can reading english. so very very sorry.
not enable interrupt:
enable interrupt:
I am somehow generating General Protection Fault and interrupt 32 as soon as I invoke "sti" after setting up the IDT, ISR, and IRQ.
source is http://dev.enbcode.com/los/
if want to zip file? http://dev.enbcode.com/los/los.rar
/kernel/main.c - main
/kernel/tables.c - set gdt & tss & idt
/kernel/interrupt.c - interrupt handler
/kernel/isr.S - set ISR
set gdt & idt and executing sti!!! so interrupt error..
please feedback and Thank you so much!