diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-25 18:29:31 +0000 |
commit | d60efc6b0d3d4e90cbbb86e21451e55263c29416 (patch) | |
tree | d5167171d11fa8e54f0ff11fae42c77cfac5af4a /cpu-common.h | |
parent | fa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (diff) |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpu-common.h')
-rw-r--r-- | cpu-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-common.h b/cpu-common.h index d0941946ae..630237203d 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -36,8 +36,8 @@ void *qemu_get_ram_ptr(ram_addr_t addr); /* This should not be used by devices. */ ram_addr_t qemu_ram_addr_from_host(void *ptr); -int cpu_register_io_memory(CPUReadMemoryFunc **mem_read, - CPUWriteMemoryFunc **mem_write, +int cpu_register_io_memory(CPUReadMemoryFunc * const *mem_read, + CPUWriteMemoryFunc * const *mem_write, void *opaque); void cpu_unregister_io_memory(int table_address); |