1 #include "uml-config.h"
4 .section .__syscall_stub, "x"
6 .globl batch_syscall_stub
8 /* load pointer to first operation */
9 mov $(UML_CONFIG_STUB_DATA+8), %esp
12 /* load length of additional data */
15 /* if(length == 0) : end of list */
16 /* write possible 0 to header */
17 mov %eax, UML_CONFIG_STUB_DATA+4
21 /* save current pointer */
22 mov %esp, UML_CONFIG_STUB_DATA+4
24 /* skip additional data */
30 /* load syscall params */
41 /* check return value */
47 /* save return value */
48 mov %eax, UML_CONFIG_STUB_DATA