Merge pull request #1233 from martin-frbg/cpuid-fix
Fix unintentional fall-through cases in get_cacheinfo
This commit is contained in:
commit
e2d3b1561a
|
@ -643,6 +643,7 @@ int get_cacheinfo(int type, cache_info_t *cacheinfo){
|
|||
LDTB.size = 4096;
|
||||
LDTB.associative= 4;
|
||||
LDTB.linesize = 32;
|
||||
break;
|
||||
case 0x66 :
|
||||
LD1.size = 8;
|
||||
LD1.associative = 4;
|
||||
|
@ -681,6 +682,7 @@ int get_cacheinfo(int type, cache_info_t *cacheinfo){
|
|||
LITB.size = 4096;
|
||||
LITB.associative= 0;
|
||||
LITB.linesize = 8;
|
||||
break;
|
||||
case 0x77 :
|
||||
LC1.size = 16;
|
||||
LC1.associative = 4;
|
||||
|
|
Loading…
Reference in New Issue