You may use kmalloc and friends but not inside RT threads or ISRs.
You may use them in the init_module entry point before starting the
periodic RT thread/task.

Ciao
Giovanni


Raul wrote:

> Can the functions malloc() and calloc() be used in
> rtl.
> I have this file that make calls upon those funcions.
> The compilation presents no problems but when I try to
> load the module the following error comes up:
> unresolve symbol malloc
> unresolve symbol calloc
>
> If they cannot be used is there anyother similar
> function?
>
> thanks
> 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