system.h 440 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * linux/include/asm-arm/arch-shark/system.h
  3. *
  4. * by Alexander Schulz
  5. */
  6. #ifndef __ASM_ARCH_SYSTEM_H
  7. #define __ASM_ARCH_SYSTEM_H
  8. #include <asm/io.h>
  9. static void arch_reset(char mode)
  10. {
  11. short temp;
  12. local_irq_disable();
  13. /* Reset the Machine via pc[3] of the sequoia chipset */
  14. outw(0x09,0x24);
  15. temp=inw(0x26);
  16. temp = temp | (1<<3) | (1<<10);
  17. outw(0x09,0x24);
  18. outw(temp,0x26);
  19. }
  20. static inline void arch_idle(void)
  21. {
  22. }
  23. #endif