How do you measure the response time of this interrupt? Does
rt_printf have some kind of real time response? As far as I know I don't
think there is a way to request a real time interrupt without real time
response.

        Jose Guilberto

On Wed, 31 May 2000, Krishnaswamy wrote:

> While writing the handler for COM1(irq4) , the response
> was not real time. It took time of  the order of 10s of
> seconds for the handler to get activated.The following
> was the code.
> 
> #include <rtl_core.h>
> #include <rtl.h>
> 
> #define COM1     4
> 
> unsigned int handler(unsigned int irq,struct pt_regs *p)
> {
>  rtl_hard_enable_irq(COM1);
>  rtl_printf("RT Linux......\n");
>  return 0;
> }
> 
> int init_module(void)
> {
>  rtl_hard_enable_irq(COM1);
>  rtl_request_irq(COM1,handler);
>  rtl_hard_enable_irq(COM1);
>  return 0;
> }
> 
> void cleanup_module(void)
> {
>  rtl_free_irq(COM1);
> }
> 
> What  should be done to get a real time response.
> 
> If possible please send a sample code.
> 
> Thanks in advance,
> Vijay Subramani
> 
> -- [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