to working but still needs some work to properly switch the full context (such as saving the fpu registers, switch stacks, etc.). Also, remove some dead code that was mixed in.
Reviewed by: obrien, dfr Obtained from: NetBSD