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

cli()/sti() in usermode



Hello,

I know this is not directly related to RTL/RTAI but I just ran across this 
and this seems
to be the best place to ask.  I have a user space app that runs with 
iopl(3) and that needs
to use cli() and sti() once in the app.  I have included asm/system.h where 
these seem
to be defined by I'm getting undefined references to __cli(void) and 
__sti(void).  What
do I have to link with to grab these functions?  Do I have to compile with 
-O to get these?

Any help would be appreciated.

Thanks
Adam
--
Adam Meyerowitz
Senior Software Engineer
Video Data Systems
40 Oser Avenue
Hauppauge, NY 11788
Tel# 631-231-4400
Fax# 631-231-4405
adam@videodatasystems.com
www.videodatasystems.com