refactor(amd64): rework MSR handling

This commit is contained in:
Loïc Grégoire
2026-04-14 22:21:36 -04:00
parent ddb1ce185f
commit a34f179d84
3 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -34,5 +34,5 @@ pub fn early_init() linksection(b.init) void {
int.init();
// Enable Per-CPU data for this CPU
amd64.wrmsr(.GsBase, 0);
amd64.write_msr(.GsBase, 0);
}