Mail Archives: djgpp/1999/02/02/15:47:44
> What the heck is IOPL-3... a technical term for ring 3?
IOPL indicates what ring is allowed unfettered access to I/O ports.
It does not mean that you *are* at that ring, it means that *if* you
are at that ring or better (lower ring numbers), *then* you can do any
I/O.
IOPL-3 means that any program (since 3 is the least permissive ring)
is able to do any I/O it wants.
The OS normally runs in ring 0, so no matter what the IOPL is, it can
do I/O. Intel recommends that device drivers run in ring 1 to protect
the OS while allowing I/O, yet protecting the drivers from
applications, which would run in ring 2 or 3.
- Raw text -