x86[_64]: Add CPU cache topology detection for AMD and Intel CPUs

This commit is contained in:
Pawel Dziepak
2013-10-02 23:48:03 +02:00
parent 1f50d09018
commit 36cc64a9b3
3 changed files with 121 additions and 5 deletions
+1
View File
@@ -67,6 +67,7 @@ typedef struct cpu_ent {
// CPU topology information
int topology_id[CPU_TOPOLOGY_LEVELS];
int cache_id[CPU_MAX_CACHE_LEVEL];
// arch-specific stuff
arch_cpu_info arch;