mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
Since the memory-device stubs are needed exactly when the Kconfig symbols are not needed, move them to hw/mem/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20240408155330.522792-15-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
22 lines
352 B
C
22 lines
352 B
C
#include "qemu/osdep.h"
|
|
#include "hw/mem/memory-device.h"
|
|
|
|
MemoryDeviceInfoList *qmp_memory_device_list(void)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
uint64_t get_plugged_memory_size(void)
|
|
{
|
|
return (uint64_t)-1;
|
|
}
|
|
|
|
unsigned int memory_devices_get_reserved_memslots(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool memory_devices_memslot_auto_decision_active(void)
|
|
{
|
|
return false;
|
|
}
|