Searched refs:MAX_DIMM_SZ (Results 1 – 1 of 1) sorted by relevance
1118 #define MAX_DIMM_SZ (16 * GiB) in smbios_get_tables() macro1119 #define GET_DIMM_SZ ((i < dimm_cnt - 1) ? MAX_DIMM_SZ \ in smbios_get_tables()1120 : ((current_machine->ram_size - 1) % MAX_DIMM_SZ) + 1) in smbios_get_tables()1122 dimm_cnt = QEMU_ALIGN_UP(current_machine->ram_size, MAX_DIMM_SZ) / MAX_DIMM_SZ; in smbios_get_tables()