avr32: wire up preadv2 and pwritev2 syscalls

This patch wires up the new preadv2 and pwritev2 syscall on AVR32.

On AVR32, all parameters beyond the 5th are passed on the stack. System
calls don't use the stack -- they borrow a callee-saved register
instead. This means that syscalls that take 6 parameters must be called
through a stub that pushes the last parameter on the stack.

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
This commit is contained in:
Hans-Christian Noren Egtvedt
2016-05-29 21:11:53 +02:00
parent 523d939ef9
commit 389ce5a961
3 changed files with 22 additions and 0 deletions

View File

@@ -338,5 +338,7 @@
#define __NR_membarrier 323
#define __NR_mlock2 324
#define __NR_copy_file_range 325
#define __NR_preadv2 326
#define __NR_pwritev2 327
#endif /* _UAPI__ASM_AVR32_UNISTD_H */