summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-08-05 19:33:01 +0000
committermarcel <marcel@FreeBSD.org>2003-08-05 19:33:01 +0000
commit2de934f7e314f21c804b19402325f4accf509d85 (patch)
treeab6951c7165658ed0c7e6a8ec79eb4aca2cdb5be /usr.bin
parentd63e3e36c0421ab538a9c9c0fd2ac6bad9f5bcee (diff)
downloadFreeBSD-src-2de934f7e314f21c804b19402325f4accf509d85.zip
FreeBSD-src-2de934f7e314f21c804b19402325f4accf509d85.tar.gz
o In _ia64_save_context() clear the return registers except for r8.
We write 1 for r8 in the context so that _ia64_restore_context() will return with a non-zero value. _ia64_save_context() always return 0. o In _ia64_restore_context(), don't restore the thread pointer. It is not normally part of the context. Also, restore the return registers. We get called for contexts created by getcontext(), which means we have to restore all the syscall return values.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud