mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
Move RAMBlock functions out of ram_addr.h and cpu-common.h; move memory API headers out of include/exec and into include/system. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
38 lines
558 B
C
38 lines
558 B
C
#include "qemu/osdep.h"
|
|
#include "system/ramlist.h"
|
|
#include "system/ramblock.h"
|
|
#include "system/memory.h"
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
int ram_block_discard_disable(bool state)
|
|
{
|
|
return 0;
|
|
}
|