aboutsummaryrefslogtreecommitdiff
path: root/interrupt_vector.S
blob: 6037b7c0a1a71b36e3d0cca4fd1e4d9bb9969643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
_interrupt_vectors:
	b reset_handler_caller
	b undef_handler_caller
	b svc_handler_caller
	b abort_handler_caller
	b abort_handler_caller
	b generic_handler_caller
	b irq_handler_caller
	b fiq_handler_caller
	
reset_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =reset_handler
	bx r5
	
undef_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =undefined_instruction_vector
	bx r5

svc_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =supervisor_call_handler
	bx r5
	
abort_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =abort_handler
	bx r5

generic_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =generic_handler
	bx r5

irq_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =irq_handler
	bx r5

fiq_handler_caller:
	ldr sp, =_stack_top
	ldr r5, =fiq_handler
	bx r5