Subject: Re: something i don't remember in x86 arch?
To: Wojciech Puchar <wojtek@tensor.3miasto.net>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: netbsd-users
Date: 05/20/2003 14:17:52
On Tuesday, May 20, 2003, at 12:59 PM, Wojciech Puchar wrote:
> IOPL level allowing everything is 0 or 3?
>
> i though it's zero, but searching in google found an example to set 3
> with
> i386_iopl to get full access
I think I have just generally done:
i386_iopl(1);
/* do stuff */
i386_iopl(0);
...whenever I've needed to use it.
-- Jason R. Thorpe <thorpej@wasabisystems.com>