Page 2 of 2

Re: An hybrid OS design for higher performances

Posted: Tue Sep 18, 2012 11:39 am
by AbstractYouShudNow
the OS would not evaluate, but if privilege is not sufficient, an exception is generated.
Yes, but I could very well use this to implement checking. But is there any way to get the current priviledge level ?
But note that this privilege level is not user/root privilege you were talking about
I just need a way to switch to a different ring mode, I'll manage the rest by software.
SYSENTER/SYSEXIT/SYSCALL is well documented on processor manual
Which part please ? And as there is SYSCALL, is there not SYSRETURN ? (Sorry if my question is silly :-) )

Re: An hybrid OS design for higher performances

Posted: Tue Sep 18, 2012 12:35 pm
by Griwes
Your questions are bad. And you should feel bad.

But, serious note: you are asking questions that were already answered*, are answered on the wiki and in manuals, or have been already discussed.

*elsewhere on the forums or in the internet

Re: An hybrid OS design for higher performances

Posted: Tue Sep 18, 2012 12:42 pm
by bluemoon
AbstractYouShudNow wrote:
SYSENTER/SYSEXIT/SYSCALL is well documented on processor manual
Which part please ? And as there is SYSCALL, is there not SYSRETURN ? (Sorry if my question is silly :-) )
When we said it's on the manual, and you still asking where, it's an insult to yourself.
Ok, I'll answer it again. It's on the manual. (Look for syscall it should have cross-reference to the return mechanism)