Mail Archives: djgpp/1996/12/03/19:42:42
Kuang-Chun Cheng wrote:
>
> lidt idt_lable
>
> This instruction causes a reboot cycle. That meant when I try to boot
> from floppy (with the image I wrote), system reboot again when it meet
> instruction lidt. I did disable interrupt, NMI and try to reset 8259
> as Linux kernel did ... No matter how I try, it just doesn't work :(
Did you remember to disable interrupts? Also check your code very
carefully for errors, because while switching modes, no matter what you
do there will be a sequence of instructions where the current idt is
invalid and any interrupts (or exceptions) will cause the cpu to
shutdown
(the motherboard detects this and resets the cpu).
- Raw text -