Solved

what is ring0 and ring3 ??

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now