mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[sw] Fix typo in simple system exception handler
Signed-off-by: Greg Chadwick <gac@lowrisc.org>
This commit is contained in:
parent
c0ae8ffb99
commit
023d86d912
1 changed files with 6 additions and 3 deletions
|
@ -131,9 +131,12 @@ unsigned int get_mtval() {
|
|||
void simple_exc_handler(void) {
|
||||
puts("EXCEPTION!!!\n");
|
||||
puts("============\n");
|
||||
puts("MEPC: 0x%0X");puthex(get_mepc());
|
||||
puts("\nMCAUSE: 0x%0X");puthex(get_mcause());
|
||||
puts("\nMTVAL: 0x%0X");puthex(get_mtval());
|
||||
puts("MEPC: 0x");
|
||||
puthex(get_mepc());
|
||||
puts("\nMCAUSE: 0x");
|
||||
puthex(get_mcause());
|
||||
puts("\nMTVAL: 0x");
|
||||
puthex(get_mtval());
|
||||
putchar('\n');
|
||||
sim_halt();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue