From 15385be32753cd928c708e9478eda546c3eb1644 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 18 Oct 2019 18:54:04 +0200 Subject: fixed interrupt priority defs --- code/fe310/eos/trap_entry.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'code/fe310/eos/trap_entry.S') 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 -- cgit v1.2.3