mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-24 02:16:19 +04:00
Switched to using mret for trap
This commit is contained in:
parent
ccaf9b6a5c
commit
3c99c5cffa
@ -51,8 +51,8 @@ _start:
|
||||
li t0, 0b11 << 11
|
||||
csrw mstatus, t0
|
||||
# li t2, (1 << 1) | (1 << 5) | (1 << 9)
|
||||
# li t2, 0xffff
|
||||
# csrw mideleg, t2
|
||||
li t2, 0xffff
|
||||
csrw mideleg, t2
|
||||
li t3, 0xaaa
|
||||
csrw mie, t3
|
||||
# Machine's exception program counter (MEPC) is set to `kinit`.
|
||||
|
Loading…
Reference in New Issue
Block a user