Even when compiling straight from demo, the system running in a Bochs vm receives a Genreal Protection fault when trying to enter user mode.
Is this because of some bug with Bochs?
Is this a known problem?
I've narrowed it down to the iretd, but have no way of further tracking it down.
General Protection Fault on Demo 23
Moderator:Moderators
Re: General Protection Fault on Demo 23
If iretd is causing the fault, then it probably means that you are trashing your stack in the ISR itself. Double check that you havnt got a mismatched push/pop instruction.
~Andrew
~Andrew