1a37eaa53SFam Zheng #include "qemu/osdep.h" 2a37eaa53SFam Zheng #include "exec/ramlist.h" 3a37eaa53SFam Zheng #include "exec/cpu-common.h" 4*b430b513SDavid Hildenbrand #include "exec/memory.h" 5a37eaa53SFam Zheng qemu_ram_get_host_addr(RAMBlock * rb)6754cb9c0SYury Kotovvoid *qemu_ram_get_host_addr(RAMBlock *rb) 7754cb9c0SYury Kotov { 8754cb9c0SYury Kotov return 0; 9754cb9c0SYury Kotov } 10754cb9c0SYury Kotov qemu_ram_get_offset(RAMBlock * rb)11754cb9c0SYury Kotovram_addr_t qemu_ram_get_offset(RAMBlock *rb) 12754cb9c0SYury Kotov { 13754cb9c0SYury Kotov return 0; 14754cb9c0SYury Kotov } 15754cb9c0SYury Kotov qemu_ram_get_used_length(RAMBlock * rb)16754cb9c0SYury Kotovram_addr_t qemu_ram_get_used_length(RAMBlock *rb) 17754cb9c0SYury Kotov { 18754cb9c0SYury Kotov return 0; 19754cb9c0SYury Kotov } 20754cb9c0SYury Kotov ram_block_notifier_add(RAMBlockNotifier * n)21a37eaa53SFam Zhengvoid ram_block_notifier_add(RAMBlockNotifier *n) 22a37eaa53SFam Zheng { 23a37eaa53SFam Zheng } 24a37eaa53SFam Zheng ram_block_notifier_remove(RAMBlockNotifier * n)25a37eaa53SFam Zhengvoid ram_block_notifier_remove(RAMBlockNotifier *n) 26a37eaa53SFam Zheng { 27a37eaa53SFam Zheng } 28a37eaa53SFam Zheng qemu_ram_foreach_block(RAMBlockIterFunc func,void * opaque)29a37eaa53SFam Zhengint qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque) 30a37eaa53SFam Zheng { 31a37eaa53SFam Zheng return 0; 32a37eaa53SFam Zheng } 33*b430b513SDavid Hildenbrand ram_block_discard_disable(bool state)34*b430b513SDavid Hildenbrandint ram_block_discard_disable(bool state) 35*b430b513SDavid Hildenbrand { 36*b430b513SDavid Hildenbrand return 0; 37*b430b513SDavid Hildenbrand } 38