loader: detect CPU features

This commit is contained in:
Loïc Grégoire
2026-07-18 14:37:30 -04:00
parent 96d2bee857
commit 072239dc32
6 changed files with 13 additions and 5 deletions
+2
View File
@@ -10,6 +10,8 @@ var thread0: ke.Thread = undefined;
var stack: [r.kib(16)]u8 align(16) = undefined;
pub fn init(boot_info: *r.BootInfo) linksection(r.init) void {
r.boot_info = boot_info;
ke.ncpus = 1;
ki.impl.early_init();
ki.tunable.init(boot_info);