Skip to content
Snippets Groups Projects
Commit 1ebad505 authored by Rajnesh Kanwal's avatar Rajnesh Kanwal Committed by Alistair Francis
Browse files

target/riscv: Split interrupt logic from riscv_cpu_update_mip.


This is to allow virtual interrupts to be inserted into S and VS
modes. Given virtual interrupts will be maintained in separate
mvip and hvip CSRs, riscv_cpu_update_mip will no longer be in the
path and interrupts need to be triggered for these cases from
rmw_hvip64 and rmw_mvip64 functions.

Signed-off-by: default avatarRajnesh Kanwal <rkanwal@rivosinc.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Message-ID: <20231016111736.28721-5-rkanwal@rivosinc.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent b901c7eb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment