system_misc.h 705 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __ASM_ARM_SYSTEM_MISC_H
  2. #define __ASM_ARM_SYSTEM_MISC_H
  3. #ifndef __ASSEMBLY__
  4. #include <linux/compiler.h>
  5. #include <linux/linkage.h>
  6. #include <linux/irqflags.h>
  7. extern void cpu_init(void);
  8. void soft_restart(unsigned long);
  9. extern void (*arm_pm_restart)(char str, const char *cmd);
  10. extern void (*arm_pm_idle)(void);
  11. #define UDBG_UNDEFINED (1 << 0)
  12. #define UDBG_SYSCALL (1 << 1)
  13. #define UDBG_BADABORT (1 << 2)
  14. #define UDBG_SEGV (1 << 3)
  15. #define UDBG_BUS (1 << 4)
  16. extern unsigned int user_debug;
  17. extern void disable_hlt(void);
  18. extern void enable_hlt(void);
  19. extern int get_hlt(void);
  20. extern char* (*arch_read_hardware_id)(void);
  21. #endif /* !__ASSEMBLY__ */
  22. #endif /* __ASM_ARM_SYSTEM_MISC_H */