Revision d60efc6b hw/omap.h
b/hw/omap.h | ||
---|---|---|
1039 | 1039 |
|
1040 | 1040 |
# ifdef MEM_VERBOSE |
1041 | 1041 |
struct io_fn { |
1042 |
CPUReadMemoryFunc **mem_read; |
|
1043 |
CPUWriteMemoryFunc **mem_write; |
|
1042 |
CPUReadMemoryFunc * const *mem_read;
|
|
1043 |
CPUWriteMemoryFunc * const *mem_write;
|
|
1044 | 1044 |
void *opaque; |
1045 | 1045 |
int in; |
1046 | 1046 |
}; |
... | ... | |
1112 | 1112 |
s->in --; |
1113 | 1113 |
} |
1114 | 1114 |
|
1115 |
static CPUReadMemoryFunc *io_readfn[] = { io_readb, io_readh, io_readw, }; |
|
1116 |
static CPUWriteMemoryFunc *io_writefn[] = { io_writeb, io_writeh, io_writew, }; |
|
1115 |
static CPUReadMemoryFunc * const io_readfn[] = { io_readb, io_readh, io_readw, };
|
|
1116 |
static CPUWriteMemoryFunc * const io_writefn[] = { io_writeb, io_writeh, io_writew, };
|
|
1117 | 1117 |
|
1118 |
inline static int debug_register_io_memory( |
|
1119 |
CPUReadMemoryFunc **mem_read, CPUWriteMemoryFunc **mem_write,
|
|
1120 |
void *opaque) |
|
1118 |
inline static int debug_register_io_memory(CPUReadMemoryFunc * const *mem_read,
|
|
1119 |
CPUWriteMemoryFunc * const *mem_write,
|
|
1120 |
void *opaque)
|
|
1121 | 1121 |
{ |
1122 | 1122 |
struct io_fn *s = qemu_malloc(sizeof(struct io_fn)); |
1123 | 1123 |
|
... | ... | |
1135 | 1135 |
|
1136 | 1136 |
# ifdef L4_MUX_HACK |
1137 | 1137 |
# undef l4_register_io_memory |
1138 |
int l4_register_io_memory(CPUReadMemoryFunc **mem_read, |
|
1139 |
CPUWriteMemoryFunc **mem_write, void *opaque);
|
|
1138 |
int l4_register_io_memory(CPUReadMemoryFunc * const *mem_read,
|
|
1139 |
CPUWriteMemoryFunc * const *mem_write, void *opaque);
|
|
1140 | 1140 |
# endif |
1141 | 1141 |
|
1142 | 1142 |
#endif /* hw_omap_h */ |
Also available in: Unified diff