/** * COPYRIGHT (c) 2016. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE. */ #include void _CPU_Fatal_halt( uint32_t source, CPU_Uint32ptr error ) { __asm__ volatile ( "cli\n\t" "movl %0,%%eax\n\t" "hlt\n\t" : "=r" ((error)) : "0" ((error)) ); RTEMS_UNREACHABLE(); }