cpu.c 442 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2006-08-23 Bernard first version
  9. */
  10. #include <rtthread.h>
  11. /**
  12. * this function will reset CPU
  13. *
  14. */
  15. rt_weak void rt_hw_cpu_reset()
  16. {
  17. }
  18. /**
  19. * this function will shutdown CPU
  20. *
  21. */
  22. rt_weak void rt_hw_cpu_shutdown()
  23. {
  24. rt_kprintf("shutdown...\n");
  25. while (1);
  26. }