projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test debugging code with interrupts.
[riscv-tests.git]
/
debug
/
programs
/
init.c
diff --git
a/debug/programs/init.c
b/debug/programs/init.c
index 9933c23a72705be76deef9a670ff053b853384a8..8b047de591405c7a4ce180bbcc358012d5948545 100644
(file)
--- a/
debug/programs/init.c
+++ b/
debug/programs/init.c
@@
-17,7
+17,7
@@
void enable_timer_interrupts()
set_csr(mstatus, MSTATUS_MIE);
}
-void handle_trap(unsigned int mcause,
unsigned int mepc, unsigned int
sp)
+void handle_trap(unsigned int mcause,
void *mepc, void *
sp)
{
unsigned hartid = csr_read(mhartid);
if (trap_handler[hartid]) {