mirror of
https://github.com/mii443/qemu.git
synced 2025-12-10 06:28:29 +00:00
esp.c: don't clear RFLAGS register when DMA is complete
The internal state of the ESP sequencer is not affected when raising an interrupt to indicate the end of a DMA transfer. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Tested-by: Thomas Huth <thuth@redhat.com> Message-Id: <20240112125420.514425-19-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
@@ -546,7 +546,6 @@ static void write_response(ESPState *s)
|
|||||||
static void esp_dma_done(ESPState *s)
|
static void esp_dma_done(ESPState *s)
|
||||||
{
|
{
|
||||||
s->rregs[ESP_RINTR] |= INTR_BS;
|
s->rregs[ESP_RINTR] |= INTR_BS;
|
||||||
s->rregs[ESP_RFLAGS] = 0;
|
|
||||||
esp_raise_irq(s);
|
esp_raise_irq(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user