From 58c0bce4cf549dab1440bc60315f8b30407ca0f1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 13 Jun 2024 10:22:33 +0200 Subject: More work on RDTSC emulation --- src/include/debug.h | 1 + src/include/my_cpuid.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/debug.h b/src/include/debug.h index be48b59e..4af3b0cb 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -14,6 +14,7 @@ extern int box64_maxcpu; extern int box64_mmap32; extern int box64_ignoreint3; extern int box64_rdtsc; +extern int box64_rdtsc_1ghz; extern uint8_t box64_rdtsc_shift; #ifdef DYNAREC extern int box64_dynarec_dump; diff --git a/src/include/my_cpuid.h b/src/include/my_cpuid.h index 53792ea0..a8c4dcec 100644 --- a/src/include/my_cpuid.h +++ b/src/include/my_cpuid.h @@ -4,5 +4,6 @@ typedef struct x64emu_s x64emu_t; void my_cpuid(x64emu_t* emu, uint32_t tmp32u); +uint32_t helper_getcpu(x64emu_t* emu); // get the numa/cpu id actually running #endif //__MY_CPUID_H__ \ No newline at end of file -- cgit 1.4.1