19 lines
582 B
ArmAsm
19 lines
582 B
ArmAsm
.section .text.hazard3_freertos_traps, "ax", @progbits
|
|
|
|
/*
|
|
* Hazard3 init.S owns mtvec and exposes weak vector targets. Strong symbols
|
|
* below route exceptions (including ecall/yield) and the machine timer IRQ to
|
|
* the official FreeRTOS RISC-V trap handler.
|
|
*/
|
|
.global handle_exception
|
|
.type handle_exception, @function
|
|
handle_exception:
|
|
j freertos_risc_v_trap_handler
|
|
.size handle_exception, .-handle_exception
|
|
|
|
.global isr_machine_timer
|
|
.type isr_machine_timer, @function
|
|
isr_machine_timer:
|
|
j freertos_risc_v_trap_handler
|
|
.size isr_machine_timer, .-isr_machine_timer
|