Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/arch/or1k
Module Name: src
Committed By: matt
Date: Fri Sep 5 18:09:37 UTC 2014
Modified Files:
src/lib/libc/arch/or1k: Makefile.inc SYS.h
Added Files:
src/lib/libc/arch/or1k: syscallargs.awk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/or1k/Makefile.inc \
src/lib/libc/arch/or1k/SYS.h
cvs rdiff -u -r0 -r1.1 src/lib/libc/arch/or1k/syscallargs.awk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index