summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/umode_enter.S
blob: 29aa4e3940a586eb3b91e7e58ab7dc60c2ac6f70 (plain) (blame)
1
2
3
4
5
6
7
8
.global umode_enter
.type umode_enter @function
umode_enter:
    movq %rdi, %rcx
    movq %rsi, %rsp
    movq $0x0202, %r11
    cli
    sysretq