]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_GCC/freedom-metal/gloss/sys_exit.c
Base project to replace existing Freedom Studio project using latest Freedom Studio...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_GCC / freedom-metal / gloss / sys_exit.c
1 #include <metal/shutdown.h>
2
3 void
4 _exit(int exit_status)
5 {
6   metal_shutdown(exit_status);
7   while (1);
8 }