diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:59 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 15:27:36 -0400 |
commit | 49c4bc3a6c6ca635550bf1a54526c5899a3a353f (patch) | |
tree | 00f1544418f48b897878af713ea2e285d1d34a6b /arch/arm/include | |
parent | 522a4aef19b48ea113506a12c954c4f4920e81fa (diff) | |
download | u-boot-imx-49c4bc3a6c6ca635550bf1a54526c5899a3a353f.zip u-boot-imx-49c4bc3a6c6ca635550bf1a54526c5899a3a353f.tar.gz u-boot-imx-49c4bc3a6c6ca635550bf1a54526c5899a3a353f.tar.bz2 |
arm: vectors: provide protypes from vectors.S
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/u-boot-arm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/u-boot-arm.h b/arch/arm/include/asm/u-boot-arm.h index b16694c..f97f3dd 100644 --- a/arch/arm/include/asm/u-boot-arm.h +++ b/arch/arm/include/asm/u-boot-arm.h @@ -45,4 +45,19 @@ void reset_timer_masked (void); ulong get_timer_masked (void); void udelay_masked (unsigned long usec); +/* calls to c from vectors.S */ +void bad_mode(void); +void do_undefined_instruction(struct pt_regs *pt_regs); +void do_software_interrupt(struct pt_regs *pt_regs); +void do_prefetch_abort(struct pt_regs *pt_regs); +void do_data_abort(struct pt_regs *pt_regs); +void do_not_used(struct pt_regs *pt_regs); +#ifdef CONFIG_ARM64 +void do_fiq(struct pt_regs *pt_regs, unsigned int esr); +void do_irq(struct pt_regs *pt_regs, unsigned int esr); +#else +void do_fiq(struct pt_regs *pt_regs); +void do_irq(struct pt_regs *pt_regswq); +#endif + #endif /* _U_BOOT_ARM_H_ */ |