blob: 1b7f2347cf14f7c7aff1dbae1d48aa12a73056ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
.text
common:
clgi
invlpga
skinit
stgi
vmload
vmmcall
vmrun
vmsave
.macro do_args arg1, arg2
invlpga \arg1, \arg2
vmload \arg1
vmrun \arg1
vmsave \arg1
.endm
.ifdef __amd64__
att64:
do_args (%rax), %ecx
.endif
att32:
skinit (%eax)
do_args (%eax), %ecx
.intel_syntax noprefix
.ifdef __amd64__
intel64:
do_args [rax], ecx
.endif
intel32:
skinit [eax]
do_args [eax], ecx
.p2align 4,0
|