Setting IOPL of a Procedure
- From: "mybwpp@xxxxxxxxxxxxxx" <spamtrap@xxxxxxxxxx>
- Date: Wed, 27 Feb 2008 09:29:08 -0800 (PST)
According to 80386 Programmers Reference Manual:
"To use sensitive instructions (IN, OUT etc.), a procedure must
execute at a privilege level at least as privileged as that specified
by the IOPL (CPL <= IOPL). Any attempt by a less privileged procedure
to use a sensitive instruction results in a general protection
exception"
The question is who sets the IOPL of a procedure at startup. Which
part of OS assigns IOPL to a procedure? What is the criterion for this
assignment? Is there any default value assigned to procedures at
CPL=3.
.
- Follow-Ups:
- Re: Setting IOPL of a Procedure
- From: Jason Burgon
- Re: Setting IOPL of a Procedure
- Prev by Date: Why BIOS maps in range 0x000F0000-0x000FFFF ?
- Next by Date: Re: Asm for Windows
- Previous by thread: Why BIOS maps in range 0x000F0000-0x000FFFF ?
- Next by thread: Re: Setting IOPL of a Procedure
- Index(es):