Random interrupt bug
Posted: Wed May 23, 2012 3:49 pm
Hi All,
I'm working on a 64 bit kernel and I've been testing under bochs and I can't seem to understand what is happening with my kernel. I boot and disable pic, pit, rtc, setup idt, enable apic, then I send an IPI to myself, and turn on interrupts. I receive the correct IPI vector and continue executing. Then, I send an IPI to another core (after starting it up) and I rfi from my original self ipi (this enables interrupts again). When I do this, I immediately receive exception 15 (0xf). This makes no sense to me though. Its not a processor exception, and I don't think its a valid vector from the APIC or IOAPIC. I've tried to get info from bochs but I can't figure out how to know what caused the exception. Any ideas?
I'm working on a 64 bit kernel and I've been testing under bochs and I can't seem to understand what is happening with my kernel. I boot and disable pic, pit, rtc, setup idt, enable apic, then I send an IPI to myself, and turn on interrupts. I receive the correct IPI vector and continue executing. Then, I send an IPI to another core (after starting it up) and I rfi from my original self ipi (this enables interrupts again). When I do this, I immediately receive exception 15 (0xf). This makes no sense to me though. Its not a processor exception, and I don't think its a valid vector from the APIC or IOAPIC. I've tried to get info from bochs but I can't figure out how to know what caused the exception. Any ideas?