rework entry point

This commit is contained in:
Loïc Grégoire
2026-07-17 21:26:13 -04:00
parent a79c7a07cb
commit 3c72101228
7 changed files with 8 additions and 25 deletions
+1 -3
View File
@@ -17,9 +17,7 @@ pub var tsc_timer: ke.TimeCounter = .{
};
pub fn init() linksection(r.init) void {
const features = amd64.cpu_features;
if (!features.invariant_tsc) {
if (!amd64.cpu_features.invariant_tsc) {
log.info("invariant TSC not supported (get a new PC), using fallback", .{});
if (ke.time.best()) |best| {
log.info("using {s} as timecounter source", .{best.name});