mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
syscall: clear more flags
This commit is contained in:
@@ -204,7 +204,7 @@ void arch_cpu_init() {
|
||||
wrmsr(MSR_STAR, star);
|
||||
wrmsr(MSR_LSTAR, (uint64_t)arch_syscall_entry);
|
||||
wrmsr(MSR_CSTAR, 0); // no compatibility mode syscall handler
|
||||
wrmsr(MSR_FMASK, 0x200); // disable interrupts on syscall
|
||||
wrmsr(MSR_FMASK, 0x257fd5);
|
||||
|
||||
// enable SSE
|
||||
asm volatile(
|
||||
|
||||
Reference in New Issue
Block a user