mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
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>
14 lines
255 B
C
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;
|
|
}
|