[v1.00] Add preeliminary support for Phytium chip

This commit is contained in:
Dr-Noob
2021-10-31 20:19:37 +01:00
parent 7692a3cd49
commit a426f231c6
4 changed files with 10 additions and 2 deletions

View File

@@ -244,6 +244,7 @@ bool build_topo_from_apic(uint32_t* apic_pkg, uint32_t* apic_smt, uint32_t** cac
for(uint32_t c=0; c < size; c++) {
if(apic_id[c] > 0) num_caches++;
}
topo->cach->cach_arr[i]->num_caches = num_caches;
}