sdk:bsp:lib: clear sim result flags when start running
Signed-off-by: liangkangnan <liangkangnan@163.com>pull/4/head
parent
15928977e1
commit
ecd4ecafc6
|
@ -10,8 +10,8 @@ _start:
|
|||
.option pop
|
||||
la sp, _sp
|
||||
#ifdef SIMULATION
|
||||
li x26, 0x00
|
||||
li x27, 0x00
|
||||
/* clear sim result flags */
|
||||
csrrwi x0, sstatus, 0x0
|
||||
#endif
|
||||
|
||||
/* Load data section */
|
||||
|
@ -45,9 +45,5 @@ _start:
|
|||
li a1, 0
|
||||
call main
|
||||
|
||||
#ifdef SIMULATION
|
||||
li x26, 0x01
|
||||
#endif
|
||||
|
||||
loop:
|
||||
j loop
|
||||
|
|
Loading…
Reference in New Issue