From 33b61668963492118a2255ccb9e6f29f57523358 Mon Sep 17 00:00:00 2001 From: Alexander Babikov <2708460+lemondrops@users.noreply.github.com> Date: Sun, 5 Nov 2023 07:08:33 +0500 Subject: [PATCH] Fix the Pentium Pro L1 cache amount --- src/cpu/cpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index 1f3e1ce58..978ae0165 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -2377,9 +2377,9 @@ cpu_CPUID(void) Instruction TLB: 4 MB pages, fully associative, 2 entries Data TLB: 4 KB pages, 4-way set associative, 64 entries */ EBX = ECX = 0; - EDX = 0x0C040842; /* Data TLB: 4 MB pages, 4-way set associative, 8 entries - Level 1 instruction cache: 16 KB, 4-way set associative, 32 byte line size - Level 1 data cache: 16 KB, 4-way set associative, 32 byte line size + EDX = 0x06040A42; /* Data TLB: 4 MB pages, 4-way set associative, 8 entries + Level 1 instruction cache: 8 KB, 4-way set associative, 32-byte line size + Level 1 data cache: 8 KB, 2-way set associative, 32 byte line size Level 2 cache: 256 KB, 4-way set associative, 32 byte line size */ } else EAX = EBX = ECX = EDX = 0;