Merge pull request #1233 from martin-frbg/cpuid-fix

Fix unintentional fall-through cases in get_cacheinfo
This commit is contained in:
Martin Kroeker 2017-07-11 17:10:55 +02:00 committed by GitHub
commit e2d3b1561a
1 changed files with 14 additions and 12 deletions

View File

@ -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;