qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset
Date: Sun, 02 Oct 2011 15:44:29 -0400 (EDT)

> >
> > A real device also ignores inputs during reset (or if it doesn't,
> > we can just emulate that).
> 
> Maybe this could work:
> 1 - issue start of reset cycle (raise qemu_irq, unrealize): internal
> states reset, no I/O.
> 2 - issue start of I/O, reset held (new phase): evaluate inputs and
> post outputs, but consider also that reset is still active, so
> transition is not complete for all devices

This doesn't correspond to real hardware.  Each device detects the reset edge 
independently.  There is no signal that says "all devices have seen the edge".

We should either have just 1, or merge 1 and 2.



reply via email to

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