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