summaryrefslogtreecommitdiffstats
path: root/lib/libc/ia64/gen/makecontext.c
Commit message (Collapse)AuthorAgeFilesLines
* Add required headers.nectar2004-01-061-0/+2
|
* o Fix a cut-n-paste bug. We were clobbering rp with gp...marcel2003-06-021-2/+2
| | | | | | o Make sure the arguments to ctx_wrapper() are loaded from the backing store by forcing an underflow. Do this by making all registers in the register frame local.
* Rough implement of makecontext() needed to support libthr.marcel2003-05-311-0/+121
o Up to 8 arguments are allowed. This is the number of arguments passed in registers. Subsequent registers are passed on the stack. Trying to deal with this is not easy in C and likely forces us to use assembly code. Let's avoid that for now. There's no indication that more than 8 arguments is a strong requirement (Linux also has an 8 argument limit). o We expect that the stack base is 16-byte aligned and the stack size is a multiple of 16-byte. We bomb out if this is not the case. We probably want to be less strict by enforcing it ourselves. For now it's better to not hide gross alignment bogons by silently correcting it.
OpenPOWER on IntegriCloud