1 2 3 4 5 6 7 8 9 10 11 12
#include "qom/object.h" #include "hw/mem/pc-dimm.h" int qmp_pc_dimm_device_list(Object *obj, void *opaque) { return 0; } ram_addr_t get_current_ram_size(void) { return ram_size; }