diff options
author | Kevin Wolf <kwolf@redhat.com> | 2010-11-26 16:36:16 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-11-29 16:15:04 +0100 |
commit | b76876e602ca09ff848d99595a506feb1fd54ff4 (patch) | |
tree | 858d01d505b6c24042ca9f7d4637fb909cd3401f /m68k-dis.c | |
parent | c29947bbb0978d312074ec73be968bfab1b6c977 (diff) | |
download | qemu-b76876e602ca09ff848d99595a506feb1fd54ff4.zip |
ide: Reset current_addr after stopping DMA
Whenever SSBM is reset in the command register all state information is lost.
Restarting DMA means that current_addr must be reset to the base address of the
PRD table. The OS is not required to change the base address register before
starting a DMA operation, it can reuse the value it wrote for an earlier
request.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'm68k-dis.c')
0 files changed, 0 insertions, 0 deletions