Changes to update_tsc() - no longer requires a parameter and advances by all the currently accumulated cycles. Also changed TSC-related delta's to be correctly uint64_t.

This commit is contained in:
OBattler
2020-05-14 01:36:52 +02:00
parent 0bfaf059e8
commit 3a401af84e
3 changed files with 28 additions and 11 deletions

View File

@@ -565,7 +565,7 @@ extern int cpu_effective, cpu_alt_reset;
extern void cpu_dynamic_switch(int new_cpu);
extern void cpu_ven_reset(void);
extern void update_tsc(int cycs);
extern void update_tsc(void);
extern int sysenter(uint32_t fetchdat);
extern int sysexit(uint32_t fetchdat);