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