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