Hi Dyd,
If you take a look at RTAI-1.3, it has dynmic memory allocation for use
within RT tasks. If you look at the rt_mem_mgr sub-directory you can
probably find the code you need to get it working.
Regards, Stuart
dyd wrote:
>
> HI ,all
>
> I am working on a research project relate to rtlinux . I write a simple
> buddy memory allocator,and it works very well under rtlinux-2.0. I alloc a
> big junk of memory , and use
> buddy algorithm to alloc/free it when need. It is really simple and maybe
> stupid,
> but it fullfill my need.
> Now I want to port it to rtlinux-2.2, but it cause system crash.
>
> Below is my poor code .
> Anybody can point out the where the problems are? Thanks.
-- [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/