1 1.1 1.2 2 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 3 3.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.3 3.4 4 4.1 4.1.1 4.1.2 [A] [B] |
Introduction Who should read this document? Copyright/Reproduction Information What is a trap? How traps are caused Precise Traps Deferred Traps Disrupt/Interrupt Traps Software Traps How traps are dispatched to the kernel SPARC v7/v8 SPARC v9 Trap Nesting Processor states, normal and special traps Normal Trap (Processor in Execute State) Special Trap (Processor in RED State) Traps - How SunOS Handles Them Generic Trap Handling Register Windows Register Windows, SPARC v9 State Registers SPARC v7/v8 Window Overflow Handling SPARC v7/v8 Window Underflow Handling SPARC v9 Window Spill Handling SPARC v9 Window Fill Handling Interrupts Text and Data Faults Debugging Kernel Traps Finding Out What Went Wrong Deciphering a BAD TRAP Panic Message Manually Extracting the Stack Trace SPARC v7/v8 Trap listing SPARC v9 Trap listing |