mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 23:08:21 +00:00
feat(amd64): cpu-local on cpu0
This commit is contained in:
@@ -33,5 +33,6 @@ pub fn early_init() linksection(b.init) void {
|
||||
|
||||
int.init();
|
||||
|
||||
asm volatile ("int3");
|
||||
// Enable Per-CPU data for this CPU
|
||||
amd64.wrmsr(.GsBase, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user