Skip to content
Snippets Groups Projects
Commit 9925620c authored by John Hodge's avatar John Hodge
Browse files

Kernel/x86_64 - Fixed usage of IA32_FMASK

parent 52e7e476
Branches
Tags
No related merge requests found
......@@ -118,7 +118,7 @@ Desctab_Init:
; Set IA32_FMASK (flags mask)
mov ecx, 0xC0000084
rdmsr
mov eax, 0x202
mov eax, ~0x202
wrmsr
; Set IA32_STAR (Kernel/User CS)
mov ecx, 0xC0000081
......@@ -386,8 +386,6 @@ SyscallStub:
push rcx ; RIP
push r11 ; RFLAGS
sti ; Start interrupts again
; RDI
; RSI
; RDX
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment