cpu.c 661 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. #include "AT91SAM7S.h"
  16. /**
  17. * @addtogroup AT91SAM7
  18. */
  19. /*@{*/
  20. /**
  21. * this function will reset CPU
  22. *
  23. */
  24. void rt_hw_cpu_reset()
  25. {
  26. }
  27. /**
  28. * this function will shutdown CPU
  29. *
  30. */
  31. void rt_hw_cpu_shutdown()
  32. {
  33. rt_kprintf("shutdown...\n");
  34. while (1);
  35. }
  36. /*@}*/