interrupt registration

View: New views
3 Messages — Rating Filter:   Alert me  

interrupt registration

by eric johnson-26 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i m using a pistachio L4 kernel. ( with no operating system on top. )
I am running this on an emulator ( qemu) .  So i dont have a way of having real interrupts. There might be a way in qemu to do that , but i dont know how.

My question is : i figure there is an interrupt thread for every interrupt. ? Since i dont have any real hardware i would like to have a interrupt thread for a random interrupt no. How do i make sure that this interrupt thread is created ? I am trying to simulate the behaviour of an interrupt processing in L4.

suresh

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: interrupt registration

by Adam Lackorzynski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Fri Jul 31, 2009 at 20:36:37 -0700, eric johnson wrote:

> i m using a pistachio L4 kernel. ( with no operating system on top. )
> I am running this on an emulator ( qemu) .  So i dont have a way of having
> real interrupts. There might be a way in qemu to do that , but i dont know
> how.
>
> My question is : i figure there is an interrupt thread for every interrupt.
> ? Since i dont have any real hardware i would like to have a interrupt
> thread for a random interrupt no. How do i make sure that this interrupt
> thread is created ? I am trying to simulate the behaviour of an interrupt
> processing in L4.

Why do you think that Qemu's interrupts are not real from the point of
view of the software running on it?



Adam
--
Adam                 adam@...
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Parent Message unknown Re: interrupt registration

by eric johnson-26 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Tue, Aug 4, 2009 at 4:56 PM, eric johnson <eric.gd.johnson@...> wrote:


On Tue, Aug 4, 2009 at 1:48 PM, Adam Lackorzynski <adam@...> wrote:

On Fri Jul 31, 2009 at 20:36:37 -0700, eric johnson wrote:
> i m using a pistachio L4 kernel. ( with no operating system on top. )
> I am running this on an emulator ( qemu) .  So i dont have a way of having
> real interrupts. There might be a way in qemu to do that , but i dont know
> how.
>
> My question is : i figure there is an interrupt thread for every interrupt.
> ? Since i dont have any real hardware i would like to have a interrupt
> thread for a random interrupt no. How do i make sure that this interrupt
> thread is created ? I am trying to simulate the behaviour of an interrupt
> processing in L4.

Why do you think that Qemu's interrupts are not real from the point of
view of the software running on it?

I dont see any of L4's interrupt code path getting called, like irq_thread or handle_interrupt.

In any case when is an irq thread created ?







Adam
--
Adam                 adam@...
 Lackorzynski         http://os.inf.tu-dresden.de/~adam/

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers



_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers