views:

169

answers:

0

How can I perform restricted instructions such as IN and OUT from protected mode?

I've found out that It would require privilege level (CPL) high enough to perform the IO instruction. How can I run in kernel mode, have IO permission or anything other that may help me? - I would like to have direct access to hardware, without anything blocking me.

Thanks.