blob: a3d61ad984af7e7a9fcd967530141477132f9bac [file] [log] [blame]
David Howells9f97da72012-03-28 18:30:01 +01001#ifndef __ASM_ARM_SYSTEM_MISC_H
2#define __ASM_ARM_SYSTEM_MISC_H
3
4#ifndef __ASSEMBLY__
5
6#include <linux/compiler.h>
7#include <linux/linkage.h>
8#include <linux/irqflags.h>
Robin Holt7b6d8642013-07-08 16:01:40 -07009#include <linux/reboot.h>
David Howells9f97da72012-03-28 18:30:01 +010010
11extern void cpu_init(void);
12
13void soft_restart(unsigned long);
Robin Holt7b6d8642013-07-08 16:01:40 -070014extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
Linus Torvalds0195c002012-03-28 15:58:21 -070015extern void (*arm_pm_idle)(void);
David Howells9f97da72012-03-28 18:30:01 +010016
17#define UDBG_UNDEFINED (1 << 0)
18#define UDBG_SYSCALL (1 << 1)
19#define UDBG_BADABORT (1 << 2)
20#define UDBG_SEGV (1 << 3)
21#define UDBG_BUS (1 << 4)
22
23extern unsigned int user_debug;
24
David Howells9f97da72012-03-28 18:30:01 +010025#endif /* !__ASSEMBLY__ */
26
27#endif /* __ASM_ARM_SYSTEM_MISC_H */