1 #include "uml-config.h"
5 .section .__syscall_stub, "x"
8 /* We don't have 64-bit constants, so this constructs the address
11 movq $(ASM_STUB_DATA >> 32), %rbx
13 movq $(ASM_STUB_DATA & 0xffffffff), %rcx
18 .globl batch_syscall_stub
20 mov $(ASM_STUB_DATA >> 32), %rbx
22 mov $(ASM_STUB_DATA & 0xffffffff), %rax
24 /* load pointer to first operation */
28 /* load length of additional data */
31 /* if(length == 0) : end of list */
32 /* write possible 0 to header */
37 /* save current pointer */
40 /* skip additional data */
46 /* load syscall params */
57 /* check return value */
63 /* save return value */