Searched hist:"6 d1970e1" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/include/nolibc/ |
H A D | arch-mips.h | 6d1970e1 Fri Jul 07 09:55:35 CDT 2023 Zhangjin Wu <falcon@tinylab.org> tools/nolibc: add missing my_syscall6() for mips
It is able to pass the 6th argument like the 5th argument via the stack for mips, let's add a new my_syscall6() now, see [1] for details:
The mips/o32 system call convention passes arguments 5 through 8 on the user stack.
Both mmap() and pselect6() require my_syscall6().
[1]: https://man7.org/linux/man-pages/man2/syscall.2.html
Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
|
H A D | nolibc.h | 6d1970e1 Fri Jul 07 09:55:35 CDT 2023 Zhangjin Wu <falcon@tinylab.org> tools/nolibc: add missing my_syscall6() for mips
It is able to pass the 6th argument like the 5th argument via the stack for mips, let's add a new my_syscall6() now, see [1] for details:
The mips/o32 system call convention passes arguments 5 through 8 on the user stack.
Both mmap() and pselect6() require my_syscall6().
[1]: https://man7.org/linux/man-pages/man2/syscall.2.html
Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
|