Lines Matching full:traps
852 * external trap. See 6.1.2. External Traps, table 8 External Trap Enable in riscv_ctr_check_xte()
887 * Special cases for traps and trap returns:
889 * 1- Traps, and trap returns, between enabled modes are recorded as normal.
890 * 2- Traps from an inhibited mode to an enabled mode, and trap returns from an
892 * cases, the PC from the inhibited mode (source PC for traps, and target PC
896 * Traps from an enabled mode to an inhibited mode, known as external traps,
898 * By default external traps are not recorded, but a handshake mechanism exists
900 * can opt-in to allowing CTR to record traps into that mode even when the mode
965 /* Case 2 for traps. */ in riscv_ctr_add_entry()
2148 * Handle Traps
2195 /* set tval to badaddr for traps with address information */ in riscv_cpu_do_interrupt()