diff options
author | marcel <marcel@FreeBSD.org> | 2003-06-27 06:15:13 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-06-27 06:15:13 +0000 |
commit | e381861265dff23c2dd3b64f79f7319ccdc14c2e (patch) | |
tree | 75f08112da2e2d574f702f8fda7d40fc17fc7f34 /sys/kern/kern_clock.c | |
parent | 350cc1a8b524a79f334b56c8396aaa83f0714c4a (diff) | |
download | FreeBSD-src-e381861265dff23c2dd3b64f79f7319ccdc14c2e.zip FreeBSD-src-e381861265dff23c2dd3b64f79f7319ccdc14c2e.tar.gz |
Implement _ia64_save_context() and _ia64_restore_context(). Both
functions are derived from the swapctx() and restorectx() (resp)
from sys/ia64/ia64/context.s. The code is expected to be 99%
correct, but has not yet been tested.
Note that with these functions operating on mcontext_t, we also
created the foundation upon which we can implement getcontext(2)
and setcontext(2) replacements. It's not guaranteed that the use
of these syscalls and _ia64_{save|restore}_context() on the same
uicontext_t is actually going to work. Replacing the syscalls is
now trivially achieved.
This commit completes the ia64 port of libpthread itself (modulo
testing and bugfixes).
Diffstat (limited to 'sys/kern/kern_clock.c')
0 files changed, 0 insertions, 0 deletions