summaryrefslogtreecommitdiff
path: root/minix/kernel/arch/earm/exc.S
blob: 743102cb2a0a06602a47849e9b5d7384a76cd6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <machine/asm.h>

IMPORT(undefined_inst_entry)
IMPORT(svc_entry)
IMPORT(prefetch_abort_entry)
IMPORT(data_abort_entry)
IMPORT(irq_entry)

.text
.balign	4096
LABEL(exc_vector_table)
    ldr pc, =invalid_exc           /* Reset */
    ldr pc, =undefined_inst_entry  /* Undefined Instruction */
    ldr pc, =svc_entry             /* Supervisor Call */
    ldr pc, =prefetch_abort_entry  /* Prefetch Abort */
    ldr pc, =data_abort_entry      /* Data Abort */
    ldr pc, =invalid_exc           /* Hypervisor Call */
    ldr pc, =irq_entry             /* Interrupt */
    ldr pc, =invalid_exc           /* Fast Interrupt */

ENTRY(invalid_exc)
	b .