Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / stubs / ram-block.c
blob108197683bb3c006b1e6318f782a50b1e6374a01
1 #include "qemu/osdep.h"
2 #include "exec/ramlist.h"
3 #include "exec/cpu-common.h"
4 #include "exec/memory.h"
6 void *qemu_ram_get_host_addr(RAMBlock *rb)
8 return 0;
11 ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
13 return 0;
16 ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
18 return 0;
21 void ram_block_notifier_add(RAMBlockNotifier *n)
25 void ram_block_notifier_remove(RAMBlockNotifier *n)
29 int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
31 return 0;
34 int ram_block_discard_disable(bool state)
36 return 0;