Bochs' debug information

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.
Post Reply
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Bochs' debug information

Post by ComputerPsi »

Looking through the output, I found that once in a while, this appears:
"[CPU0 ] IRET PROTECTED"
My OS is in PMode. All the handles end with IRETD. What is Bochs trying to say?
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Post by earlz »

only thing I can think of is if it means your iret'ing in protected mode, you don't have multitasking of some sort do you? because if so then it might mean iret'ing to protected code(ring3)
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Post by Da_Maestro »

The debug information isn't just meant for debugging the OS, it's also meant for debugging bochs itself. My guess is that it says IRET PROTECTED simply because the developers wanted to be able to distinguish between real mode and protected mode interrupts when they where debugging a particular problem...
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
Post Reply