Added kinfo, reduced global state

This commit is contained in:
ssimnb 2026-02-23 12:57:09 +01:00
parent 2213707c6a
commit e72c8fe6fd
30 changed files with 510 additions and 574 deletions

View file

@ -73,5 +73,5 @@ uint64_t tsc_get_timestamp(){
return 0;
}
uint64_t read = read_tsc();
return read / core_crystal_clock;
return (read * 1000ULL) / core_crystal_clock;
}