ram-block.c 468 B

12345678910111213141516171819202122232425262728293031
  1. #include "qemu/osdep.h"
  2. #include "exec/ramlist.h"
  3. #include "exec/cpu-common.h"
  4. void *qemu_ram_get_host_addr(RAMBlock *rb)
  5. {
  6. return 0;
  7. }
  8. ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
  9. {
  10. return 0;
  11. }
  12. ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
  13. {
  14. return 0;
  15. }
  16. void ram_block_notifier_add(RAMBlockNotifier *n)
  17. {
  18. }
  19. void ram_block_notifier_remove(RAMBlockNotifier *n)
  20. {
  21. }
  22. int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
  23. {
  24. return 0;
  25. }