summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/restore.S
blob: f4aa93925cc5c0234d4302683702f012da6c394a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.global _arch_context_restore
.type _arch_context_restore @function
_arch_context_restore:
    movq %rdi, %rsp
    popq %r15
    popq %r14
    popq %r13
    popq %r12
    popq %r11
    popq %r10
    popq %r9
    popq %r8
    popq %rbp
    popq %rdi
    popq %rsi
    popq %rdx
    popq %rcx
    popq %rbx
    popq %rax
    retq