K 10 svn:author V 4 jake K 8 svn:date V 27 2002-10-25T16:00:47.000000Z K 7 svn:log V 234 Greatly improve readability of trap() by using a table to convert between trap types and signals to send. Rearrange KASSERTs to better handle faults early before curthread is setup, or in the case that it gets corrupted or set to 0. END