1 .section .text.vectors 2 .global irq_vector 3 .global reset_vector 4 5/* The reset vector, jumps to startup code */ 6reset_vector: 7 j __start 8 9/* Interrupt handler */ 10.balign 16 11irq_vector: 12 ret 13 14 .section .text 15 16__start: 17 /* setup the stack pointer */ 18 la sp, __stack_top 19 call ulp_riscv_rescue_from_monitor 20 call main 21 call ulp_riscv_shutdown 22loop: 23 j loop 24