|
@@ -269,7 +269,6 @@ static void
|
|
build_iort(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms)
|
|
build_iort(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms)
|
|
{
|
|
{
|
|
int i, nb_nodes, rc_mapping_count;
|
|
int i, nb_nodes, rc_mapping_count;
|
|
- const uint32_t iort_node_offset = IORT_NODE_OFFSET;
|
|
|
|
size_t node_size, smmu_offset = 0;
|
|
size_t node_size, smmu_offset = 0;
|
|
AcpiIortIdMapping *idmap;
|
|
AcpiIortIdMapping *idmap;
|
|
uint32_t id = 0;
|
|
uint32_t id = 0;
|
|
@@ -415,7 +414,7 @@ build_iort(GArray *table_data, BIOSLinker *linker, VirtMachineState *vms)
|
|
range = &g_array_index(its_idmaps, AcpiIortIdMapping, i);
|
|
range = &g_array_index(its_idmaps, AcpiIortIdMapping, i);
|
|
/* output IORT node is the ITS group node (the first node) */
|
|
/* output IORT node is the ITS group node (the first node) */
|
|
build_iort_id_mapping(table_data, range->input_base,
|
|
build_iort_id_mapping(table_data, range->input_base,
|
|
- range->id_count, iort_node_offset);
|
|
|
|
|
|
+ range->id_count, IORT_NODE_OFFSET);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
/* output IORT node is the ITS group node (the first node) */
|
|
/* output IORT node is the ITS group node (the first node) */
|