summaryrefslogtreecommitdiff
path: root/code/fe310/eos/trap_entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/trap_entry.S')
-rw-r--r--code/fe310/eos/trap_entry.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/code/fe310/eos/trap_entry.S b/code/fe310/eos/trap_entry.S
index 91a44dc..efa61ec 100644
--- a/code/fe310/eos/trap_entry.S
+++ b/code/fe310/eos/trap_entry.S
@@ -43,6 +43,7 @@
#include "net_def.h"
#include "spi_def.h"
+#include "irq_def.h"
.section .data.entry
@@ -359,7 +360,7 @@ i2s_handler_sd_exit:
i2s_handler_ws:
# enable sd irq
li x18, PLIC_PRIORITY
- li x19, I2S_IRQ_SD_PRIORITY
+ li x19, IRQ_PRIORITY_I2S_SD
sw x19, 4*I2S_IRQ_SD_ID(x18)
# complete