Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
Trap Handlers

Overview

Trap Handler.

Exception and Interrupt Dispatchers.

This module handles the low-level context saving and dispatching when the CPU encounters an interrupt or exception.

Note
During normal scenario, handling IRQ should be automated. Meaning that user no need care about this portion of code.

Topics

 API Functions
 Function definitions for interrupt handler, exception.
 Assembly Context Helpers
 Macros to abstract XLEN (32 vs 64-bit) for inline assembly.