Revision 8dc75d75
b/vl.c | ||
---|---|---|
45 | 45 |
#include <linux/if.h> |
46 | 46 |
#include <linux/if_tun.h> |
47 | 47 |
|
48 |
#include "cpu.h" |
|
49 | 48 |
#include "disas.h" |
50 | 49 |
#include "thunk.h" |
51 | 50 |
|
... | ... | |
2961 | 2960 |
gui_refresh_pending = 1; |
2962 | 2961 |
} |
2963 | 2962 |
|
2964 |
/* XXX: seems dangerous to run that here. */ |
|
2965 |
DMA_run(); |
|
2966 |
SB16_run(); |
|
2967 |
|
|
2968 | 2963 |
if (gui_refresh_pending || timer_irq_pending) { |
2969 | 2964 |
/* just exit from the cpu to have a chance to handle timers */ |
2970 | 2965 |
cpu_interrupt(global_env, CPU_INTERRUPT_EXIT); |
... | ... | |
3090 | 3085 |
} |
3091 | 3086 |
#endif |
3092 | 3087 |
} |
3088 |
/* XXX: add explicit timer */ |
|
3089 |
SB16_run(); |
|
3090 |
|
|
3091 |
/* run dma transfers, if any */ |
|
3092 |
DMA_run(); |
|
3093 | 3093 |
|
3094 | 3094 |
/* VGA */ |
3095 | 3095 |
if (gui_refresh_pending) { |
Also available in: Unified diff