cvs commit: src/lib/libpthread/arch/ia64/ia64 context.S
Marcel Moolenaar
marcel at FreeBSD.org
Tue Aug 5 12:33:03 PDT 2003
marcel 2003/08/05 12:33:01 PDT
FreeBSD src repository
Modified files:
lib/libpthread/arch/ia64/ia64 context.S
Log:
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.
Revision Changes Path
1.3 +25 -13 src/lib/libpthread/arch/ia64/ia64/context.S
More information about the cvs-src
mailing list