AFAIK the only way to access functions that exist in kernel space is via
explicit calls to a "device driver" which could be read/write but are much
more commonly done via the standard ioctl(2) mechanism.  There simply is no
way to directly "call" such a function because the kernel is not in the
address space of any user task.
    Norm

----- Original Message -----
From: Raul <[EMAIL PROTECTED]>
To: Real Time Linux <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 7:14 AM
Subject: [rtl] shared memory for functions


> Hi
> I have some functions that get called by programs that
> run both in user-space and rtl-space.
> Would it be possible to declare these functions only
> once and use shared memory so that the programs can
> access them? If it is possible what happens with the
> parameters sent to this funcitons? Is there any
> example?
> Thank you in advance,
> Raul
>
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> -- [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/
>

-- [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/

Reply via email to