2
0

ram-block.c 554 B

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