An hybrid OS design for higher performances

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
AbstractYouShudNow
Member
Member
Posts: 92
Joined: Tue Aug 14, 2012 8:51 am

Re: An hybrid OS design for higher performances

Post 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 :-) )
User avatar
Griwes
Member
Member
Posts: 374
Joined: Sat Jul 30, 2011 10:07 am
Libera.chat IRC: Griwes
Location: Wrocław/Racibórz, Poland
Contact:

Re: An hybrid OS design for higher performances

Post 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
Reaver Project :: Repository :: Ohloh project page
<klange> This is a horror story about what happens when you need a hammer and all you have is the skulls of the damned.
<drake1> as long as the lock is read and modified by atomic operations
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: An hybrid OS design for higher performances

Post 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)
Locked