sparc64 work.
commit0fa6044030c5c9175f76bf5a500b45f6f66598e6
authorJakub Jermar <jakub@jermar.eu>
Tue, 29 Aug 2006 15:35:44 +0000 (29 15:35 +0000)
committerJakub Jermar <jakub@jermar.eu>
Tue, 29 Aug 2006 15:35:44 +0000 (29 15:35 +0000)
treef1ffe50072ea82de7defc214fbd676018a869d5c
parent32fffef00aa36a7913892cc0d7ff6eff828b2e7e
sparc64 work.

Fix bug introduced in revision 1852. When fixing CWP,
the input registers of the current window (i.e. output
registers of the window belonging to the interrupted
context) must be preserved. Preserve those registers
in memory. Sure there exist more efficient ways how to
copy the inputs.

Simplify before_thread_runs_arch(), resp. after_thread_ran_arch(),
and make them install, resp. uninstall, DTLB locked mapping for
eventual userspace window buffer.
kernel/arch/sparc64/include/asm.h
kernel/arch/sparc64/include/trap/trap_table.h
kernel/arch/sparc64/src/proc/scheduler.c
kernel/arch/sparc64/src/trap/trap_table.S
kernel/generic/include/macros.h
kernel/generic/src/main/kinit.c