File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ v-trap = ["riscv-rt-macros/v-trap"]
4040u-boot = [" riscv-rt-macros/u-boot" , " single-hart" ]
4141no-interrupts = []
4242no-exceptions = []
43- no-mie-mip = []
43+ no-xie-xip = []
4444device = []
4545memory = []
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ _abs_start:
6565 .cfi_startproc
6666 .cfi_undefined ra" ,
6767 // Disable interrupts
68- #[ cfg( feature = "s-mode" ) ]
68+ #[ cfg( all ( feature = "s-mode" , not ( feature = "no-xie-xip" ) ) ) ]
6969 "csrw sie, 0
7070 csrw sip, 0" ,
71- #[ cfg( all( not( feature = "s-mode" ) , not( feature = "no-mie-mip " ) ) ) ]
71+ #[ cfg( all( not( feature = "s-mode" ) , not( feature = "no-xie-xip " ) ) ) ]
7272 "csrw mie, 0
7373 csrw mip, 0" ,
7474 #[ cfg( not( feature = "s-mode" ) ) ]
You can’t perform that action at this time.
0 commit comments