mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 13:27:16 -04:00
Added cause_s_soft_from_m_interrupt
This commit is contained in:
parent
7870148814
commit
6f15ae1225
1 changed files with 5 additions and 0 deletions
|
@ -162,6 +162,11 @@ cause_s_soft_interrupt:
|
|||
csrs sip, t3 // set supervisor software interrupt pending. SIP is a subset of MIP, so writing this should also change MIP.
|
||||
ret
|
||||
|
||||
cause_s_soft_from_m_interrupt:
|
||||
li t3, 0x2
|
||||
csrs mip, t3 // set supervisor software interrupt pending. SIP is a subset of MIP, so writing this should also change MIP.
|
||||
ret
|
||||
|
||||
cause_m_ext_interrupt:
|
||||
// ========== Configure PLIC ==========
|
||||
li a3, 0x40
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue