1 /* SPDX-License-Identifier: GPL-2.0 */
4 .section .__syscall_stub, "ax"
6 .globl batch_syscall_stub
8 /* %esp comes in as "top of page" */
10 /* %esp has pointer to first operation */
13 /* load length of additional data */
16 /* if(length == 0) : end of list */
17 /* write possible 0 to header */
22 /* save current pointer */
25 /* skip additional data */
31 /* load syscall params */
42 /* restore top of page pointer in %ecx */
44 andl $(~UM_KERN_PAGE_SIZE) + 1, %ecx
46 /* check return value */
52 /* save return value */