Files
qemu/stubs/physmem.c
Philippe Mathieu-Daudé f016021ff5 system/ramblock: Constify various RAMBlock arguments
Mark the RAMBlock structure const when is only accessed read-only.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20260309183536.88976-2-philmd@linaro.org
Signed-off-by: Peter Xu <peterx@redhat.com>
2026-03-09 15:27:25 -04:00

14 lines
255 B
C

#include "qemu/osdep.h"
#include "system/ramblock.h"
RAMBlock *qemu_ram_block_from_host(void *ptr, bool round_offset,
ram_addr_t *offset)
{
return NULL;
}
int qemu_ram_get_fd(const RAMBlock *rb)
{
return -1;
}