system_misc.h 618 B

12345678910111213141516171819202122232425262728
  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. #include <linux/reboot.h>
  8. extern void cpu_init(void);
  9. void soft_restart(unsigned long);
  10. extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
  11. extern void (*arm_pm_idle)(void);
  12. #define UDBG_UNDEFINED (1 << 0)
  13. #define UDBG_SYSCALL (1 << 1)
  14. #define UDBG_BADABORT (1 << 2)
  15. #define UDBG_SEGV (1 << 3)
  16. #define UDBG_BUS (1 << 4)
  17. extern unsigned int user_debug;
  18. #endif /* !__ASSEMBLY__ */
  19. #endif /* __ASM_ARM_SYSTEM_MISC_H */