xref: /minix3/minix/kernel/arch/earm/exc.S (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc#include <machine/asm.h>
2*433d6423SLionel Sambuc
3*433d6423SLionel SambucIMPORT(undefined_inst_entry)
4*433d6423SLionel SambucIMPORT(svc_entry)
5*433d6423SLionel SambucIMPORT(prefetch_abort_entry)
6*433d6423SLionel SambucIMPORT(data_abort_entry)
7*433d6423SLionel SambucIMPORT(irq_entry)
8*433d6423SLionel Sambuc
9*433d6423SLionel Sambuc.text
10*433d6423SLionel Sambuc.balign	4096
11*433d6423SLionel SambucLABEL(exc_vector_table)
12*433d6423SLionel Sambuc    ldr pc, =invalid_exc           /* Reset */
13*433d6423SLionel Sambuc    ldr pc, =undefined_inst_entry  /* Undefined Instruction */
14*433d6423SLionel Sambuc    ldr pc, =svc_entry             /* Supervisor Call */
15*433d6423SLionel Sambuc    ldr pc, =prefetch_abort_entry  /* Prefetch Abort */
16*433d6423SLionel Sambuc    ldr pc, =data_abort_entry      /* Data Abort */
17*433d6423SLionel Sambuc    ldr pc, =invalid_exc           /* Hypervisor Call */
18*433d6423SLionel Sambuc    ldr pc, =irq_entry             /* Interrupt */
19*433d6423SLionel Sambuc    ldr pc, =invalid_exc           /* Fast Interrupt */
20*433d6423SLionel Sambuc
21*433d6423SLionel SambucENTRY(invalid_exc)
22*433d6423SLionel Sambuc	b .
23