Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 113 lines (106 sloc) 2.259 kB
4a6e324 Luminary board port.
paul authored
1 .text
2 .thumb
3 .syntax unified
4 .global _start
5 .type _start, %function
6 _start:
7 ldr sp, =_stack
8 ldr r0, =__data_load
9 ldr r1, =__data_start
10 ldr r2, =_edata
11 /* Copy .data to ram. */
12 1:
13 ldr r3, [r0], #4
14 str r3, [r1], #4
15 cmp r1, r2
16 bne 1b
17 /* Clear .bss */
18 ldr r2, =__bss_end__
19 mov r3, #0
20 1:
21 str r3, [r1], #4
22 cmp r1, r2
23 bne 1b
24
25 mov r0, #0 /* no arguments */
26 mov r1, #0 /* no argv either */
27
28 bl main
29
30 b .
31 .pool
32 .global isr_handler
33 .type isr_handler, %function
34 isr_handler:
35 b .
36
37 .section ".isr", "a", %progbits
b2129e0 Remove more dead code.
paul authored
38 .global __isr_vectors
39 __isr_vectors:
4a6e324 Luminary board port.
paul authored
40 /* System vectors. */
41 .word _stack
42 .word _start
43 .word isr_handler /* 2*/
44 .word isr_handler /* 3*/
45 .word isr_handler /* 4*/
46 .word isr_handler /* 5*/
47 .word isr_handler /* 6*/
48 .word isr_handler /* 7*/
49 .word isr_handler /* 8*/
50 .word isr_handler /* 9*/
51 .word isr_handler /*10*/
52 .word isr_handler /*11*/
53 .word isr_handler /*12*/
54 .word isr_handler /*13*/
55 .word isr_handler /*14*/
56 .word isr_handler /*15*/
57 /* External interrupts. */
58 .word isr_handler /* 0*/
59 .word isr_handler /* 1*/
60 .word isr_handler /* 2*/
61 .word isr_handler /* 3*/
62 .word isr_handler /* 4*/
63 .word isr_handler /* 5*/
64 .word isr_handler /* 6*/
3b9fe12 Suspend CPU.
paul authored
65 .word ssi_isr /* 7*/
4a6e324 Luminary board port.
paul authored
66 .word isr_handler /* 8*/
67 .word isr_handler /* 9*/
68 .word isr_handler /*10*/
69 .word isr_handler /*11*/
70 .word isr_handler /*12*/
71 .word isr_handler /*13*/
72 .word isr_handler /*14*/
73 .word isr_handler /*15*/
74 .word isr_handler /*16*/
75 .word isr_handler /*17*/
76 .word isr_handler /*18*/
77 .word timer_isr /*19*/
78 .word isr_handler /*20*/
79 .word isr_handler /*21*/
80 .word isr_handler /*22*/
81 .word isr_handler /*23*/
82 .word isr_handler /*24*/
83 .word isr_handler /*25*/
84 .word isr_handler /*26*/
85 .word isr_handler /*27*/
86 .word isr_handler /*28*/
d6bf851 Strip out unused demo code.
paul authored
87 .word isr_handler /*29*/
4a6e324 Luminary board port.
paul authored
88 .word isr_handler /*30*/
89 .word isr_handler /*31*/
d6bf851 Strip out unused demo code.
paul authored
90 .word isr_handler /*32*/
91 .word isr_handler /*33*/
92 .word isr_handler /*34*/
93 .word isr_handler /*35*/
94 .word isr_handler /*36*/
95 .word isr_handler /*37*/
96 .word isr_handler /*38*/
97 .word isr_handler /*39*/
98 .word isr_handler /*40*/
99 .word isr_handler /*41*/
a5ee03f Remove dead code.
paul authored
100 .word isr_handler /*42*/
101 /*.word ethernet_isr *//*42*/
d6bf851 Strip out unused demo code.
paul authored
102 .word isr_handler /*43*/
103 .word isr_handler /*44*/
104 .word isr_handler /*45*/
105 .word isr_handler /*46*/
106 .word isr_handler /*47*/
4a6e324 Luminary board port.
paul authored
107
108 .bss
109 _stack_end:
110 .space 1024
111 _stack:
112
Something went wrong with that request. Please try again.