syscall: set MSR_IA32_FMASK to disable RFLAGS.IF

This commit is contained in:
Michael Shaw 2024-06-27 14:59:55 -04:00
commit 8b6e1c6342
3 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@
#define MSR_IA32_EFER 0xC0000080
#define MSR_IA32_STAR 0xC0000081
#define MSR_IA32_LSTAR 0xC0000082
#define MSR_IA32_FMASK 0xC0000084
#ifndef __ASM__