Skip to content

Commit

Permalink
Update ordering of direct interrupt handlers in local IRQ table
Browse files Browse the repository at this point in the history
In direct interrupt mode, irq handlers are called via the
local_irq_handler_table. The ordering of the handlers was not
in line with the mie register and was causing some interrupts to
be handeled incorrectly.

Jira-Id: ESSBM-253
Signed-off-by: Rohitkumar Girase <[email protected]>
  • Loading branch information
Rohitkumar Girase authored and Rohitkumar Girase committed Jul 16, 2024
1 parent 5b12a12 commit 8a2f084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions miv_rv32_hal/miv_rv32_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ void (* const local_irq_handler_table[16])(void) =
#ifndef MIV_RV32_V3_0
MGEUI_IRQHandler,
MGECI_IRQHandler,
SUBSYS_IRQHandler,
SUBSYSR_IRQHandler,
Reserved_IRQHandler,
Reserved_IRQHandler,
Reserved_IRQHandler,
Reserved_IRQHandler,
SUBSYSR_IRQHandler,
SUBSYS_IRQHandler,
MSYS_EI0_IRQHandler,
MSYS_EI1_IRQHandler,
MSYS_EI2_IRQHandler,
Expand Down
2 changes: 1 addition & 1 deletion miv_rv32_hal/miv_rv32_hal_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extern "C" {

#define MIV_RV32_HAL_VERSION_MAJOR 4
#define MIV_RV32_HAL_VERSION_MINOR 3
#define MIV_RV32_HAL_VERSION_PATCH 101
#define MIV_RV32_HAL_VERSION_PATCH 102

#ifdef __cplusplus
}
Expand Down

0 comments on commit 8a2f084

Please sign in to comment.