From 16e6ed424cf6783c3a8b1402dfb6bc0cb74f57af Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Thu, 16 Mar 2023 22:28:18 +0600 Subject: [PATCH] cpu_busspeed is now a double --- src/cpu/cpu.c | 4 ++-- src/cpu/cpu.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index d48ebe194..102f9f56c 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -114,7 +114,7 @@ int isa_cycles, cpu_inited, cpu_waitstates, cpu_cache_int_enabled, cpu_cache_ext_enabled, cpu_isa_speed, cpu_pci_speed, cpu_isa_pci_div, cpu_agp_speed, cpu_alt_reset, - cpu_override, cpu_effective, cpu_multi, cpu_16bitbus, cpu_64bitbus, cpu_busspeed, + cpu_override, cpu_effective, cpu_multi, cpu_16bitbus, cpu_64bitbus, cpu_cyrix_alignment, CPUID, is186, is_nec, @@ -138,7 +138,7 @@ uint8_t _cache[2048]; uint64_t cpu_CR4_mask, tsc = 0; uint64_t pmc[2] = { 0, 0 }; -double cpu_dmulti; +double cpu_dmulti, cpu_busspeed; msr_t msr; diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index 25ff141a7..229fcb9bb 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -490,10 +490,11 @@ extern int cpu_override; extern int cpu_isintel; extern int cpu_iscyrix; extern int cpu_16bitbus, cpu_64bitbus; -extern int cpu_busspeed, cpu_pci_speed; +extern int cpu_pci_speed; extern int cpu_multi; extern double cpu_dmulti; extern double fpu_multi; +extern double cpu_busspeed; extern int cpu_cyrix_alignment; /*Cyrix 5x86/6x86 only has data misalignment penalties when crossing 8-byte boundaries*/