Quest: determine meaning of "trapcode" field in DIB, from reading kernel source. (I.E. where is it set?) Routine "set_trapcode(dib, code)" sets it to code. Code "Domain_PutSparcControl" in sparc_jdomain.c sets it. "locore.s" sets it as DIB_TRAPCODE, mostly in disabled gate code. "set_trapcode(cpudibp, cputrapcode);" in gatec.c is a general source of values. Shell command "grep set_trapcode */*.c" in /src/kernel yields many specific values. Values of "cputrapcode": Shell command "grep cputrapcode */*.c" in /src/kernel gets others. locore.s sets trapcode (under namd DIB_TRAPCODE) in routines fp_disabled_run(v=4), fp_exception_trap (v=8), dom_trap(v=2 illegal instruction, v=3 privileged instruction, v=7 alignment fault, v=10 tag_overflow, v=42 division by zero, v = any value from 128 thru 255 except for these special software traps: v=131(0x83) flush windows v=(0x96) invoke key; jump v = 160(0xS0) get cc v = 161(0xA1) set cc