xref: /qemu/stubs/ram-block.c (revision abff1abf)
1 #include "qemu/osdep.h"
2 #include "exec/ramlist.h"
3 #include "exec/cpu-common.h"
4 
5 void *qemu_ram_get_host_addr(RAMBlock *rb)
6 {
7     return 0;
8 }
9 
10 ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
11 {
12     return 0;
13 }
14 
15 ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
16 {
17     return 0;
18 }
19 
20 void ram_block_notifier_add(RAMBlockNotifier *n)
21 {
22 }
23 
24 void ram_block_notifier_remove(RAMBlockNotifier *n)
25 {
26 }
27 
28 int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
29 {
30     return 0;
31 }
32