Revision acd1c812 ioport.h

b/ioport.h
25 25
#define IOPORT_H
26 26

  
27 27
#include "qemu-common.h"
28
#include "iorange.h"
28 29

  
29 30
typedef uint32_t pio_addr_t;
30 31
#define FMT_pioaddr     PRIx32
......
36 37
typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);
37 38
typedef uint32_t (IOPortReadFunc)(void *opaque, uint32_t address);
38 39

  
40
void ioport_register(IORange *iorange);
39 41
int register_ioport_read(pio_addr_t start, int length, int size,
40 42
                         IOPortReadFunc *func, void *opaque);
41 43
int register_ioport_write(pio_addr_t start, int length, int size,

Also available in: Unified diff