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
)
11 ram_addr_t
qemu_ram_get_offset(RAMBlock
*rb
)
16 ram_addr_t
qemu_ram_get_used_length(RAMBlock
*rb
)
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
)
34 int ram_block_discard_disable(bool state
)