Revision 16f62432 vl.h

b/vl.h
24 24
#ifndef VL_H
25 25
#define VL_H
26 26

  
27
#include "cpu.h"
28

  
27 29
/* vl.c */
28
struct CPUState;
29 30
extern int reset_requested;
30 31
extern int64_t ticks_per_sec;
31 32

  
......
128 129
void AUD_init (void);
129 130

  
130 131
/* dma.c */
131
typedef int (*DMA_read_handler) (uint32_t addr, int size, int *irq);
132
typedef int (*DMA_misc_handler) (int);
133

  
132
typedef int (*DMA_transfer_handler) (void *opaque, target_ulong addr, int size);
134 133
int DMA_get_channel_mode (int nchan);
135 134
void DMA_hold_DREQ (int nchan);
136 135
void DMA_release_DREQ (int nchan);
136
void DMA_schedule(int nchan);
137 137
void DMA_run (void);
138 138
void DMA_init (void);
139 139
void DMA_register_channel (int nchan,
140
                           DMA_read_handler read_handler,
141
                           DMA_misc_handler misc_handler);
140
                           DMA_transfer_handler transfer_handler, void *opaque);
142 141

  
143 142
/* sb16.c */
144 143
void SB16_run (void);

Also available in: Unified diff