Solved

what is ring0 and ring3 ??

Posted on 2004-04-09
3
714 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

772 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