cpu.c 640 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * File : cpu.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006, RT-Thread Develop 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. * 2006-08-23 Bernard first version
  13. */
  14. #include <rtthread.h>
  15. /**
  16. * @addtogroup AT91SAM7X
  17. */
  18. /*@{*/
  19. /**
  20. * this function will reset CPU
  21. *
  22. */
  23. void rt_hw_cpu_reset()
  24. {
  25. }
  26. /**
  27. * this function will shutdown CPU
  28. *
  29. */
  30. void rt_hw_cpu_shutdown()
  31. {
  32. rt_kprintf("shutdown...\n");
  33. while (1);
  34. }
  35. /*@}*/