Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-11 Thread Shu Ming
IRQ number is actually a word coming from ancient time. When 8259 was popular at that time, we only have 0 ~ 15 interrupts when two 8259 are cascaded. The IRQ number mattered in that time, because 8259 put their vector number in the bus for CPU after the interrupt was delivered. The number

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-03 Thread 陳韋任
Can anyone explain their relationship and difference among them? It is very appreciated if you can make some comments. thanks. I think IRQ number, interrupt number are quite similar things. You can check PIC [1] first, especially 8259A [2]. When a device raise an interrupt, the interrupt is

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-03 Thread Peter Maydell
2012/3/3 Zhi Yong Wu zwu.ker...@gmail.com: thanks a lot for your help, they are very in theory.:). actually these concepts all exist in QEMU. I would like to know how they work together. It's a mess. qemu_irq is the most fundamental data type we use to model a general 'pin' or 'signal' line;

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-03 Thread Zhi Yong Wu
On Sun, Mar 4, 2012 at 1:12 AM, Peter Maydell peter.mayd...@linaro.org wrote: 2012/3/3 Zhi Yong Wu zwu.ker...@gmail.com: thanks a lot for your help, they are very in theory.:). actually these concepts all exist in QEMU. I would like to know how they work together. It's a mess. qemu_irq is

[Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Zhi Yong Wu
HI, Can anyone explain their relationship and difference among them? It is very appreciated if you can make some comments. thanks. -- Regards, Zhi Yong Wu

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Anthony Liguori
Hi Zhi Yong, On 03/02/2012 06:38 AM, Zhi Yong Wu wrote: HI, Can anyone explain their relationship and difference among them? It is very appreciated if you can make some comments. thanks. IRQ == interrupt. GPIO is just another name for an input or output pin on a chip which could be a IRQ

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Peter Maydell
On 2 March 2012 16:01, Anthony Liguori anth...@codemonkey.ws wrote: On 03/02/2012 06:38 AM, Zhi Yong Wu wrote: Can anyone explain their relationship and difference among them?  It is very appreciated if you can make some comments. thanks. IRQ == interrupt. GPIO is just another name for an

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Zhi Yong Wu
HI, anthony. On Sat, Mar 3, 2012 at 12:01 AM, Anthony Liguori anth...@codemonkey.ws wrote: Hi Zhi Yong, On 03/02/2012 06:38 AM, Zhi Yong Wu wrote: HI, Can anyone explain their relationship and difference among them?  It is very appreciated if you can make some comments. thanks. IRQ ==

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Zhi Yong Wu
On Fri, Mar 2, 2012 at 11:12 PM, ���f任 che...@iis.sinica.edu.tw wrote: Can anyone explain their relationship and difference among them? It is very appreciated if you can make some comments. thanks. I think IRQ number, interrupt number are quite similar things. You can check PIC [1] first,

Re: [Qemu-devel] IRQ number, interrupt number, interrupt line GPIO[in/out]

2012-03-02 Thread Zhi Yong Wu
On Sat, Mar 3, 2012 at 12:41 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 2 March 2012 16:01, Anthony Liguori anth...@codemonkey.ws wrote: On 03/02/2012 06:38 AM, Zhi Yong Wu wrote: Can anyone explain their relationship and difference among them?  It is very appreciated if you can make