Is there any way to handle the trap in HW.
mtvec is pointing to the vector base address of the trap. In HW side how it will be point to specific trap?
In Interrupt handling, it jumps handler function using vector_base+mcause*4.
How the trap handled?
New contributor
Priyanka A N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.