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 Zhi Yong Wu
On Sun, Mar 4, 2012 at 1:12 AM, Peter Maydell wrote: > 2012/3/3 Zhi Yong Wu : >> 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 > us

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

2012-03-03 Thread Peter Maydell
2012/3/3 Zhi Yong Wu : > 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; despite the name it

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-02 Thread Zhi Yong Wu
On Sat, Mar 3, 2012 at 12:41 AM, Peter Maydell wrote: > On 2 March 2012 16:01, Anthony Liguori 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

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任 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, especially 8259A [2

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 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 == inte

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 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 input or out

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 l

[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