Random Double-Fault in Bochs
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Random Double-Fault in Bochs
When enabling interrupts on my BSP on bochs, I get a double-fault. It doesn't seem to be from enabling interrupts, it just always give me a double-fault exception even though no other exceptions have been triggered and interrupts have been masked during the runtime of my OS. If I handle the double-fault by doing nothing, it continues on as if nothing happens. This doesn't seem to happen on my APs. Any insights?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Random Double-Fault in Bochs
Have you remapped the PIC (or configured the IOAPIC for MP systems)
Also, does the "double fault" push an errorcode? If it doesn't it is not a double fault but an external interrupt.
Also, does the "double fault" push an errorcode? If it doesn't it is not a double fault but an external interrupt.
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: Random Double-Fault in Bochs
Oh, that must be it, I haven't yet configured the IOAPIC. I'll try configuring the IOAPIC first.