cpu.c 739 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * File : cpu.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2009, 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. * 2009-01-05 Bernard first version
  13. * 2010-02-04 Magicoe Edit for LPC17xx Series
  14. */
  15. #include <rtthread.h>
  16. /**
  17. * @addtogroup LPC17xx
  18. */
  19. /*@{*/
  20. /**
  21. * reset cpu by dog's time-out
  22. *
  23. */
  24. void rt_hw_cpu_reset()
  25. {
  26. /*NOTREACHED*/
  27. }
  28. /**
  29. * shutdown CPU
  30. *
  31. */
  32. void rt_hw_cpu_shutdown()
  33. {
  34. rt_kprintf("shutdown...\n");
  35. RT_ASSERT(0);
  36. }
  37. /*@}*/