Page 1 of 1
Interrupts in user mode
Posted: Thu Jun 20, 2013 1:37 am
by BMW
Sorry if this is a dumb or RTFM question, but I have already tried to RTFM (Intel Manual and OSDev wiki) with no luck.
When an interrupt is called from user mode, what CS does the processor use?
Re: Interrupts in user mode
Posted: Thu Jun 20, 2013 1:54 am
by Combuster
I don't buy a claim to RTFM, then posting a vague question with no accurate answer possible and demonstrating absolutely no knowledge on what said reading actually taught you.
In other words: go do your homework, and read things properly and thoroughly for a change, because the complete answer is contained in one section of the manual:
Hint: INT n/INTO/INT 3—Call to Interrupt Procedure. INSTRUCTION SET REFERENCE, A-M Vol. 2A 3-401
Re: Interrupts in user mode
Posted: Thu Jun 20, 2013 1:56 am
by iansjack
Whatever the Gate descriptor tells it to. The descriptor contains a far pointer.