xref: /openbmc/linux/arch/arm/include/asm/system_misc.h (revision 7b6d864b48d95e6ea1df7df64475b9cb9616dcf9)
19f97da78SDavid Howells #ifndef __ASM_ARM_SYSTEM_MISC_H
29f97da78SDavid Howells #define __ASM_ARM_SYSTEM_MISC_H
39f97da78SDavid Howells 
49f97da78SDavid Howells #ifndef __ASSEMBLY__
59f97da78SDavid Howells 
69f97da78SDavid Howells #include <linux/compiler.h>
79f97da78SDavid Howells #include <linux/linkage.h>
89f97da78SDavid Howells #include <linux/irqflags.h>
9*7b6d864bSRobin Holt #include <linux/reboot.h>
109f97da78SDavid Howells 
119f97da78SDavid Howells extern void cpu_init(void);
129f97da78SDavid Howells 
139f97da78SDavid Howells void soft_restart(unsigned long);
14*7b6d864bSRobin Holt extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
150195c002SLinus Torvalds extern void (*arm_pm_idle)(void);
169f97da78SDavid Howells 
179f97da78SDavid Howells #define UDBG_UNDEFINED	(1 << 0)
189f97da78SDavid Howells #define UDBG_SYSCALL	(1 << 1)
199f97da78SDavid Howells #define UDBG_BADABORT	(1 << 2)
209f97da78SDavid Howells #define UDBG_SEGV	(1 << 3)
219f97da78SDavid Howells #define UDBG_BUS	(1 << 4)
229f97da78SDavid Howells 
239f97da78SDavid Howells extern unsigned int user_debug;
249f97da78SDavid Howells 
259f97da78SDavid Howells #endif /* !__ASSEMBLY__ */
269f97da78SDavid Howells 
279f97da78SDavid Howells #endif /* __ASM_ARM_SYSTEM_MISC_H */
28