cpu.c 804 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * 2011-08-06 Magicoe Manded for PK40X256VLQ100
  15. */
  16. #include <rtthread.h>
  17. /**
  18. * @addtogroup PK40X256VLQ100
  19. */
  20. /*@{*/
  21. /**
  22. * reset cpu by dog's time-out
  23. *
  24. */
  25. void rt_hw_cpu_reset()
  26. {
  27. /*NOTREACHED*/
  28. }
  29. /**
  30. * shutdown CPU
  31. *
  32. */
  33. void rt_hw_cpu_shutdown()
  34. {
  35. rt_kprintf("shutdown...\n");
  36. RT_ASSERT(0);
  37. }
  38. /*@}*/