User mode Problem

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
KAZU

User mode Problem

Post by KAZU »

Hi, people.
I read the past thread and I can move from kernel mode to user mode in my OS. But interrupts haven't worked and general protection has occured, when my OS is user mode.
Please help me.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:User mode Problem

Post by Pype.Clicker »

which interrupt didn't worked ?
when exactly did you get a GPF ? (on what instruction ?)
Did you set up a TSS for your user task and set SS0 and ESP0 appropriately ?
What is the error code (i.e. the faulty segment) of your GPF ?

Please, help us helping you :)
Post Reply