> I have make a small test program using the mbuff.In my RT task,i use
> mybuffer = mbuff_alloc("test",1000*4)) to allocate the buffer(this is written in
> init_module() ). Now the question is ,how can a nomal linux task visit the buff I
> allocated ?
Easy. Just include mbuff.h and use the same function. Do not forget
mbuff_free on exit. See README and example code demo.c in the distribution.
You can also use mbuff_attach, the you do not need mbuff_free.
Do not forget to create /dev/mbuff.
> Another question is ,there are one Interrupt handler and one RTFifo handler in my
> test RT task,I want to make sure whenever the interrupt come the Interrupt handler
>must
> response immediately,that mean the Interrupt handler's priority is higher than
>than
> the RTFifo handlers .Does someone can give me some advices on it?
RT FIFO handlers have run with normal Linux kernel priority, as stated by
Victor before. So all interrupt handlers have higher priority them FIFO
handlers.
Regards,
--
Tomek
-- [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/