regarding privilege levels of pentium 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux