Hi,

   I am trying to make the PCMCIA wavelan driver work in Real Time using
RTLinux 1.1 for Linux kernel 2.0.36.

   I am a bit new to kernel programming & I would greatly appreciate it if I
could get help on some questions I have regarding interrupts & tasks in RT:

* Can interrupts occuring in RT ( registered in RT space using request_RTirq)
be interrupted by other same or higher priority interrupts?
ie are they like slow interrupts or fast interrupts in Linux?

* In a task A we have a critical region and use rtl_no_interrupts &
rtl_restore_interrupts. In this case the timer that causes the scheduler to
run, will it interrupt A? If yes then when the scheduler is run and it turns
out that another task B needs to be scheduled will task A (which is in  a
critical region) be scheduled out? If task A is not scheduled out and is
allowed to complete then does it imply that task B will miss its deadline?

* If at a certain time two periodic tasks with the same RT priority, need to
be scheduled at the same time - then in what order are they executed?

* Is it possible to have an interrupt to be registered both in RT as well as
Linux so that when it occurs first the RT handler runs and when Linux is
scheduled the linux handler is invoked?

* In RT space we can access most Linux space data and functions. Though it is
not a good idea to do that but I need to maintain a buffer of packets used to
send and receive packets which is accessed both in Linux and RT space. Will
using rtl_no_interrupts/rtl_restore_interrupts in Linux space be sufficient to
protect the operations on the buffer from races?

* I need to run aperiodic tasks at a given time in RT. Currently I schedule
the task as periodic with the desired start_time and do an rt_suspend at the
end of the task. To schedule it again I use rt_task_make periodic. Is there a
better way to do this?

* What is the latest stable release of RTLinux? Also is there any info
anywhere about issues of porting from RTL1.1 for Linux kernel 2.0.36 to Rtl
for Linux 2.2.x?

    Thank you all for your patience in going thru this long mail. Any ideas
and comments will be of great help.

Regards
Sugat 

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.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/

Reply via email to