SysCall: Turned on interrupts in User.

This commit is contained in:
Mikhail Krichanov 2024-12-02 12:12:32 +03:00
parent fcd47185eb
commit a2023f569a

View File

@ -199,9 +199,9 @@ o64 sysret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
global ASM_PFX(CallRing3) global ASM_PFX(CallRing3)
ASM_PFX(CallRing3): ASM_PFX(CallRing3):
cli
pushfq pushfq
pop r11 pop r11
cli
; Save nonvolatile registers RBX, RBP, RDI, RSI, RSP, R12, R13, R14, and R15. ; Save nonvolatile registers RBX, RBP, RDI, RSI, RSP, R12, R13, R14, and R15.
push rbx push rbx
push rbp push rbp