From e4d165c24b1975478476722a9ef384147721807a Mon Sep 17 00:00:00 2001 From: pbrook Date: Sun, 21 May 2006 22:20:03 +0000 Subject: [PATCH] Don't clear DMA status register when loading address. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1929 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/esp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/esp.c b/hw/esp.c index 5c8400d..30708a1 100644 --- a/hw/esp.c +++ b/hw/esp.c @@ -690,7 +690,7 @@ static void espdma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t va val |= DMA_VER; break; case 1: - s->espdmaregs[0] = DMA_LOADED; + s->espdmaregs[0] |= DMA_LOADED; break; default: break; -- 2.7.4