From f2fb662caf0961e2f24e7e33d6060a24823ea92c Mon Sep 17 00:00:00 2001 From: Sam Demeulemeester Date: Sun, 16 Aug 2026 19:14:40 +0200 Subject: [PATCH] Fix swapped L1D/L1I on CPUID 0x8000005 decoding --- system/cpuid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/cpuid.h b/system/cpuid.h index d0e4786..8f65d2c 100644 --- a/system/cpuid.h +++ b/system/cpuid.h @@ -132,10 +132,10 @@ typedef union { typedef union { uint32_t raw[4]; struct { - uint32_t : 24; - uint32_t l1_i_size : 8; uint32_t : 24; uint32_t l1_d_size : 8; + uint32_t : 24; + uint32_t l1_i_size : 8; uint32_t : 16; uint32_t l2_size : 16; uint32_t : 18;