Correctly report L2 cache size according to its code comment.
Tested on my Dual PIII machine.
This commit is contained in:
parent
604afec496
commit
7aa9d01bf4
@ -1627,8 +1627,8 @@ get_INTEL_TLB(u_int data, int *const size, int *const ways)
|
||||
case 0x82:
|
||||
/* 2nd-level cache: 256-KB, 8-way set associative,
|
||||
* 32 byte line size */
|
||||
if (*size < 128) {
|
||||
*size = 128;
|
||||
if (*size < 256) {
|
||||
*size = 256;
|
||||
*ways = 8;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user