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
Solved

what is ring0 and ring3 ??

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SendMessage fails while PostMessage works 2 122
Template syntax for variable length arrays 9 75
FMX enumerated colours 2 115
Which Linux flavors will this run on? 6 95
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 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 use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

840 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