system.h 538 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2009 ST-Ericsson.
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License version 2. This program is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. */
  8. #ifndef __ASM_ARCH_SYSTEM_H
  9. #define __ASM_ARCH_SYSTEM_H
  10. static inline void arch_idle(void)
  11. {
  12. /*
  13. * This should do all the clock switching
  14. * and wait for interrupt tricks
  15. */
  16. cpu_do_idle();
  17. }
  18. static inline void arch_reset(char mode, const char *cmd)
  19. {
  20. /* yet to be implemented - TODO */
  21. }
  22. #endif