Solved

what is ring0 and ring3 ??

Posted on 2004-04-09
3
744 Views
Last Modified: 2012-06-27
what is ring0 and ring3 (in simple words, please) ??
I asked it in the C++ Programming Area, since I didn't knew where else I should ask it...
0
Comment
Question by:BOL_SNOT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 100 total points
ID: 10794936
The Intel (or compatible) i386 family CPUs have four different privilege levels: ring 0, 1, 2 and 3
Normal programs run in ring 3, which has a number of restrictions. Ring 0 is the level with the most privileges, you can basically do whatever you want with the CPU. The operating system runs in ring 0. Rings 1 and 2 are in between, again with different levels of privileges.
You can download the Intel IA-32 Intel Architecture Software Developer's Manual Volume 3: System Programming Guide (http://www.intel.com/design/Pentium4/manuals/25366813.pdf) and find more than you ever wanted to know about these protection rings. :-)
0
 
LVL 10

Assisted Solution

by:Mercantilum
Mercantilum earned 100 total points
ID: 10795303
Curiosity wise, have a look to

http://ftp.stratus.com/vos/multics/pg/mvm.html  ("Rings of Privilege" chapter)
http://www.multicians.org/mgr.html  (at "Ring ...")

Sounds like Intel got inspiration from this old good Multics OS, created in the 1960's ;-)
0
 

Author Comment

by:BOL_SNOT
ID: 10796235
thanks, khkremer and Mercantilum.
you're comments where both very usefull, so I'll give you both 100 points.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question