1 /* 2 * File : cpu.c 3 * This file is part of RT-Thread RTOS 4 * COPYRIGHT (C) 2010, RT-Thread Development Team 5 * 6 * The license and distribution terms for this file may be 7 * found in the file LICENSE in this distribution or at 8 * http://www.rt-thread.org/license/LICENSE 9 * 10 * Change Logs: 11 * Date Author Notes 12 * 2010-03-30 Kyle First version 13 */ 14 15 #include <rtthread.h> 16 17 /** 18 * @addtogroup AVR32UC3 19 */ 20 /*@{*/ 21 22 /** 23 * reset cpu by dog's time-out 24 * 25 */ rt_hw_cpu_reset()26void rt_hw_cpu_reset() 27 { 28 /*NOTREACHED*/ 29 } 30 31 /** 32 * shutdown CPU 33 * 34 */ rt_hw_cpu_shutdown()35void rt_hw_cpu_shutdown() 36 { 37 rt_kprintf("shutdown...\n"); 38 39 RT_ASSERT(0); 40 } 41 42 /*@}*/ 43