Solved

what is ring0 and ring3 ??

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

Independent Software Vendors: 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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

724 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