mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
1 parent
d8f2967b63
commit
1e28f577d8
1 file changed
+1
-1
@@ -38,7 +38,7 @@ void bsp_reset( rtems_fatal_source source, rtems_fatal_code code )
|
||||
uint64_t args[2] = {ADP_Stopped_ApplicationExit, code};
|
||||
__asm__ volatile ("li a0, %0" ::"i"(TARGET_SYS_EXIT_EXTENDED));
|
||||
__asm__ volatile ("mv a1, %0" ::"r"(&args));
|
||||
__asm__ volatile ("slli zero, zero, 0x1f");
|
||||
__asm__ volatile (".align 4; slli zero, zero, 0x1f");
|
||||
__asm__ volatile ("ebreak");
|
||||
__asm__ volatile ("srai zero, zero, 0x7");
|
||||
RTEMS_UNREACHABLE();
|
||||
|
||||
Reference in new issue
Block a user