Subscribe:
 RSS Feed
 Email

Everything you got to know about CPU rings, Privilege and Protection in Intel x86 processors

Aug 30th, 2008 | By Premnath Sah | Category: Operating System, Working

image

You probably know intuitively that applications have limited powers in Intel x86 computers and that only operating system code can perform certain tasks, but do you know how this really works? This post takes a look at x86 privilege levels, the mechanism whereby the OS and CPU conspire to restrict what user-mode programs can do. There are four privilege levels, numbered 0 (most privileged) to 3 (least privileged), and three main resources being protected: memory, I/O ports, and the ability to execute certain machine instructions. At any given time, an x86 CPU is running in a specific privilege level, which determines what code can and cannot do. These privilege levels are often described as protection rings, with the innermost ring corresponding to highest privilege.

more here

Share this: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • StumbleUpon
  • YahooMyWeb
  • Live
Fedora 10 goes live. get your copy now

Related Articles

Leave Comment