[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] cli()/sti() in usermode
On Tue, Aug 08, 2000 at 11:46:37PM -0400, Adam Meyerowitz wrote:
> When doing some initial prototyping and just plain fooling around with some new
> hardware it is very easy just to use it. I would never use it with
> production level
> code, it will moved into a kernel module.
You could also try the rtlinux_sigaction method on RTLinux which
allows user code to install handlers that run in kernel mode with
interrupts disabled.
>
>
> > > 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?
> >
> >Try defining __KERNEL__ if you must.
>
> Thanks, I will see if that works.
Good luck.
>
> Adam
>
>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com