Skip to content

Commit

Permalink
unsupported interrupt msg now prints elx
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvraj1803 committed Nov 5, 2023
1 parent 63e0704 commit 73ba4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void log_unsupported_exception(uint64_t exception_type,
uint64_t elr_el2,
uint64_t far_el2){

printf("[UNCAUGHT EXCEPTION] : %s [ESR] : %x [ELR] : %x [FAR] : %x [EL] : %d\n", exception_info[exception_type], esr_el2, elr_el2, far_el2, exception_type > 7 ? get_current_el() -1 : get_current_el());
printf("[UNCAUGHT EXCEPTION] : %s [ESR_EL2] : %x [ELR_EL2] : %x [FAR_EL2] : %x\n", exception_info[exception_type], esr_el2, elr_el2, far_el2, exception_type > 7 ? get_current_el() -1 : get_current_el());
}


Expand Down

0 comments on commit 73ba4c8

Please sign in to comment.