Hi,
How can we tell at what privilege level a program is
running.
Is it possible to run a program at privilege level
'zero' on a processor
like Pentium 4.
Actually I want to disable interrupts while running
my program. This
can be done by "cli" instruction. Using "asm inline"
feature of GCC, we
can include assembly instructions in programs of C,
C++...etc.
But the problem is that "cli" instruction can be
executed only at
privilege level "zero".
Can anyone help me.
Thanking you.
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html