Go to the documentation of this file.
19 #ifndef __ASM_OPENRISC_SYSCALL_H__
20 #define __ASM_OPENRISC_SYSCALL_H__
23 #include <linux/sched.h>
53 regs->
gpr[11] = (
long) error ?: val;
58 unsigned int i,
unsigned int n,
unsigned long *args)
62 memcpy(args, ®s->
gpr[3 + i], n *
sizeof(args[0]));
67 unsigned int i,
unsigned int n,
const unsigned long *args)
71 memcpy(®s->
gpr[3 + i], args, n *
sizeof(args[0]));