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?
Interrupts in user mode
Interrupts in user mode
Currently developing Lithium OS (LiOS).
Recursive paging saves lives.
"I want to change the world, but they won't give me the source code."
Recursive paging saves lives.
"I want to change the world, but they won't give me the source code."
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Interrupts in user mode
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
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
Whatever the Gate descriptor tells it to. The descriptor contains a far pointer.