Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Hi,
my kernel runs perfectly in qemu, but when i run it with bochs after few seconds of task switching it stops with an exception n 13 should be the bad tss exception. 5 o 6 times the task switch occours because each process prints a different message.
Now...if it have to comply about the tss, why after several switches?! sometimes after 50. I do not alloc nothing new the 2 tasks tey just enter in an endless loop and they write a character on the screen. STRANGE
Ok...few minutes to remember that i do not put an entry in the idt table for the irq7 = offset 39 in my remapping of the irqs = 0x27...
Anyway qemu do not complain even without it if the irq do not fires. Looks like bochs uses that irq line for some reasons and test if it have an entry in the idt.
I repeat, the irq line is also masked and the only one not masked is for the timer, irq0. Bochs just complains for IRQ37 i can put all zeros in the other entries of the IDT.