34,7 → 34,7 |
*/ |
|
#include <arch/exception.h> |
#include <arch/debug_print/print.h> |
#include <arch/debug/print.h> |
#include <arch/memstr.h> |
#include <arch/regutils.h> |
#include <interrupt.h> |
307,6 → 307,7 |
} |
#endif |
|
|
/** Initializes exception handling. |
* |
* Installs low-level exception handlers and then registers |
326,9 → 327,8 |
/* TODO add next */ |
} |
|
|
/** Sets stack pointers in all supported exception modes. |
* |
* @param stack_ptr stack pointer |
*/ |
void setup_exception_stacks() |
{ |
353,10 → 353,13 |
and then set stack pointer here */ |
|
current_status_reg_control_write(cspr); |
|
} |
|
|
/** Prints #istate_t structure content. |
* |
* @param istate Structure to be printed. |
*/ |
void print_istate(istate_t *istate) |
{ |
dprintf("istate dump:\n"); |