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"]
40
40
u-boot = [" riscv-rt-macros/u-boot" , " single-hart" ]
41
41
no-interrupts = []
42
42
no-exceptions = []
43
- no-mie-mip = []
43
+ no-xie-xip = []
44
44
device = []
45
45
memory = []
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ _abs_start:
65
65
.cfi_startproc
66
66
.cfi_undefined ra" ,
67
67
// Disable interrupts
68
- #[ cfg( feature = "s-mode" ) ]
68
+ #[ cfg( all ( feature = "s-mode" , not ( feature = "no-xie-xip" ) ) ) ]
69
69
"csrw sie, 0
70
70
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 " ) ) ) ]
72
72
"csrw mie, 0
73
73
csrw mip, 0" ,
74
74
#[ cfg( not( feature = "s-mode" ) ) ]
You can’t perform that action at this time.
0 commit comments