qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Register uhci_reset() callback.


From: Avi Kivity
Subject: Re: [Qemu-devel] Register uhci_reset() callback.
Date: Thu, 18 Jun 2009 12:20:20 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/16/2009 08:19 PM, Blue Swirl wrote:
That was the conclusion then, but it was incorrect. Real HW works like
that, but qemu_irq only handles transition edges. It does not have
state.

A hardware irq line does not have state either. It's a means of exposing state within a device to somewhere else. On reset, the device internal state changes, and the qemu_irq must reflect that change.

Internal muxes like the shared-line OR gates don't have state; they can always be recomputed from their inputs.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]