Hi Victor,
I don't really want to get into that now, just need a quick and dirty way
for the moment.
Currently I have -02 in my Makefile and I defined __KERNEL__. I know the
-02 is working
because I am also using outb_p and inb_p successfully. It could be that I
just don't know the
proper place for the -D__KERNEL__. Do you have any ideas. I am including
<asm/system.h>
is that the right header?
Thanks Again,
Adam
At 03:59 AM 8/9/00 -0600, [EMAIL PROTECTED] wrote:
>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 [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > ---
> > 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
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/