Home | History | Annotate | Download | only in or1k
History log of /src/lib/libc/arch/or1k/syscallargs.awk
RevisionDateAuthorComments
 1.1  05-Sep-2014  matt The OpenRISC calling standard only passes 6 parameters by register. Any
others are passed on the stack. NetBSD syscalls use up to 8 parameters
so that could mean two left on the stack for the kernel to access. It's
easier for the kernel if userland could fetch into registers beforehand.
So we generate sysassym.h which contains the number of arguments for each
syscall and then use that to determine how many arguments need to be fetched
from the stack.

RSS XML Feed