/[qemu]/qemu/hw/dma.c
ViewVC logotype

Diff of /qemu/hw/dma.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by bellard, Sun Nov 14 17:30:35 2004 UTC revision 1.14 by bellard, Mon Nov 21 23:29:55 2005 UTC
# Line 427  int DMA_write_memory (int nchan, void *b Line 427  int DMA_write_memory (int nchan, void *b
427  /* request the emulator to transfer a new DMA memory block ASAP */  /* request the emulator to transfer a new DMA memory block ASAP */
428  void DMA_schedule(int nchan)  void DMA_schedule(int nchan)
429  {  {
430      cpu_interrupt(cpu_single_env, CPU_INTERRUPT_EXIT);      CPUState *env = cpu_single_env;
431        if (env)
432            cpu_interrupt(env, CPU_INTERRUPT_EXIT);
433  }  }
434    
435  static void dma_reset(void *opaque)  static void dma_reset(void *opaque)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26