2018-01-10 12:18:38 +03:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "exec/ramlist.h"
|
|
|
|
#include "exec/cpu-common.h"
|
2020-11-16 13:59:47 +03:00
|
|
|
#include "exec/memory.h"
|
2018-01-10 12:18:38 +03:00
|
|
|
|
2019-02-15 20:45:44 +03:00
|
|
|
void *qemu_ram_get_host_addr(RAMBlock *rb)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2018-01-10 12:18:38 +03:00
|
|
|
void ram_block_notifier_add(RAMBlockNotifier *n)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void ram_block_notifier_remove(RAMBlockNotifier *n)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2020-11-16 13:59:47 +03:00
|
|
|
|
|
|
|
int ram_block_discard_disable(bool state)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|