debuggers.hg

diff tools/ioemu/iodev/cpu.cc @ 3680:26a00896163a

bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
author iap10@labyrinth.cl.cam.ac.uk
date Fri Feb 04 00:08:55 2005 +0000 (2005-02-04)
parents 5e111ac8c357 f89816eaeaad
children d3f0465c034e
line diff
     1.1 --- a/tools/ioemu/iodev/cpu.cc	Thu Feb 03 20:10:48 2005 +0000
     1.2 +++ b/tools/ioemu/iodev/cpu.cc	Fri Feb 04 00:08:55 2005 +0000
     1.3 @@ -213,6 +213,10 @@ bx_cpu_c::cpu_loop(int max_instr_count)
     1.4  #endif
     1.5  			interrupt(vector);
     1.6  		}
     1.7 +		/* we check DMA after interrupt check*/
     1.8 +		while(BX_HRQ){
     1.9 +			DEV_dma_raise_hlda();
    1.10 +		}
    1.11  
    1.12  		if (send_event) {
    1.13  			int ret;