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