1 #include "uml-config.h"
4 .section .__syscall_stub, "x"
7 /* We don't have 64-bit constants, so this constructs the address
10 movq $(UML_CONFIG_STUB_DATA >> 32), %rbx
12 movq $(UML_CONFIG_STUB_DATA & 0xffffffff), %rcx
17 .globl batch_syscall_stub
19 mov $(UML_CONFIG_STUB_DATA >> 32), %rbx
21 mov $(UML_CONFIG_STUB_DATA & 0xffffffff), %rax
23 /* load pointer to first operation */
27 /* load length of additional data */
30 /* if(length == 0) : end of list */
31 /* write possible 0 to header */
36 /* save current pointer */
39 /* skip additional data */
45 /* load syscall params */
56 /* check return value */
62 /* save return value */