annotate pirelli/fw-disasm @ 234:5b530eea8f4e

pirelli/fw-disasm: IRAM code loading located
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 22 Dec 2017 02:10:56 +0000
parents 4cd01d1458df
children 78be85145f33
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
230
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 .inttext exception vectors:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 40000: ea0000d0 b 0x40348
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 40004: ea0000d2 b 0x40354
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 40008: ea0000d4 b 0x40360
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 4000c: ea0000d6 b 0x4036c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 40010: ea0000d8 b 0x40378
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 40014: ea0000bc b 0x4030c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 40018: ea0000c5 b 0x40334
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 _c_int00:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 4001c: 02a102a1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 40020: 028302a1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 40024: 02c00e85
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 40028: 002a0040
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 4002c: fffffb00
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 40030: fffef006
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 40034: 00000008
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 40038: fffffd00
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 4003c: ffff9800
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 40040: fffffb10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 40044: ffffff08
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 40048: 20021081
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 4004c: f7ff0800
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 40050: 00000000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 40054: 00536e48 ; cinit
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 _INT_Initialize:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 40058: e51f1024 ldr r1, =0xffff9800 ; via 0x4003c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 4005c: e15f21ba ldrh r2, =0x2002 ; via 0x4004a
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 40060: e1c120b0 strh r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 40064: e5912000 ldr r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 40068: e2022001 and r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 4006c: e3520001 cmp r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 40070: 0afffffb beq 0x40064
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 40074: e51f1044 ldr r1, =0xfffffd00 ; via 0x40038
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 40078: e15f23b8 ldrh r2, =0x1081 ; via 0x40048
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 4007c: e1c120b0 strh r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 40080: e51f1048 ldr r1, =0xfffffb10 ; via 0x40040
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 40084: e15f23be ldrh r2, =0xf7ff ; via 0x4004e
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 40088: e1d100b0 ldrh r0, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 4008c: e0000002 and r0, r0, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 40090: e1c100b0 strh r0, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 40094: e51f1058 ldr r1, =0xffffff08 ; via 0x40044
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 40098: e15f25b0 ldrh r2, =0x0 ; via 0x40050
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 4009c: e1c120b0 strh r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 400a0: e51f107c ldr r1, =0xfffffb00 ; via 0x4002c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 400a4: e15f29b0 ldrh r2, =0x2a1 ; via 0x4001c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 400a8: e1c120b0 strh r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 400ac: e15f29b6 ldrh r2, =0x2a1 ; via 0x4001e
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 400b0: e1c120b2 strh r2, [r1, #2]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 400b4: e15f29bc ldrh r2, =0x2a1 ; via 0x40020
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 400b8: e1c120b4 strh r2, [r1, #4]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 400bc: e15f2ab2 ldrh r2, =0x283 ; via 0x40022
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 400c0: e1c120b6 strh r2, [r1, #6]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 400c4: e15f2ab8 ldrh r2, =0xe85 ; via 0x40024
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 400c8: e1c120ba strh r2, [r1, #10] ; 0xa
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 400cc: e15f2abe ldrh r2, =0x2c0 ; via 0x40026
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 400d0: e1c120bc strh r2, [r1, #12] ; 0xc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 400d4: e15f2bb4 ldrh r2, =0x40 ; via 0x40028
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 400d8: e1c120b8 strh r2, [r1, #8]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 400dc: e15f2bba ldrh r2, =0x2a ; via 0x4002a
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 400e0: e1c120be strh r2, [r1, #14] ; 0xe
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 400e4: e51f10bc ldr r1, =0xfffef006 ; via 0x40030
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 400e8: e1d120b0 ldrh r2, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 400ec: e51f00c0 ldr r0, =0x8 ; via 0x40034
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 400f0: e1800002 orr r0, r0, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 400f4: e1c100b0 strh r0, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 400f8: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 400fc: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 40100: e3800013 orr r0, r0, #19 ; 0x13
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 40104: e38000c0 orr r0, r0, #192 ; 0xc0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 40108: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 4010c: e59f0340 ldr r0, =0x10000e8 ; via 0x40454
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 40110: e3a01e46 mov r1, #1120 ; 0x460
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 40114: e2411004 sub r1, r1, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 40118: e0802001 add r2, r0, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 4011c: e1a0d002 mov sp, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 40120: e92d000f stmdb sp!, {r0, r1, r2, r3}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 40124: e59f0318 ldr r0, =0x1000be8 ; via 0x40444
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 40128: e59f2318 ldr r2, =0x17751ec ; via 0x40448
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 4012c: e0422000 sub r2, r2, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 40130: e3a01000 mov r1, #0
234
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
84 40134: eb0000e1 bl 0x404c0 ; _INT_memset
230
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 40138: e59f030c ldr r0, =0x800000 ; via 0x4044c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 4013c: e59f230c ldr r2, =0x82d1ec ; via 0x40450
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 40140: e0422000 sub r2, r2, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 40144: e3a01000 mov r1, #0
234
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
89 40148: eb0000dc bl 0x404c0 ; _INT_memset
230
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 4014c: e8bd000f ldmia sp!, {r0, r1, r2, r3}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 40150: e3a00001 mov r0, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 40154: e59f12fc ldr r1, =0x1775074 ; via 0x40458
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 40158: e5810000 str r0, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 4015c: e59f02f0 ldr r0, =0x10000e8 ; via 0x40454
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 40160: e3a01e46 mov r1, #1120 ; 0x460
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 40164: e2411004 sub r1, r1, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 40168: e0802001 add r2, r0, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 4016c: e1a0a000 mov r10, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 40170: e59f32e4 ldr r3, =0x1775044 ; via 0x4045c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 40174: e583a000 str r10, [r3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 40178: e1a0d002 mov sp, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 4017c: e59f32dc ldr r3, =0x175635c ; via 0x40460
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 40180: e583d000 str sp, [r3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 40184: e3a01080 mov r1, #128 ; 0x80
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 40188: e0822001 add r2, r2, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 4018c: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 40190: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 40194: e3800012 orr r0, r0, #18 ; 0x12
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 40198: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 4019c: e1a0d002 mov sp, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 401a0: e3a01c02 mov r1, #512 ; 0x200
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 401a4: e0822001 add r2, r2, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 401a8: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 401ac: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 401b0: e3800011 orr r0, r0, #17 ; 0x11
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 401b4: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 401b8: e1a0d002 mov sp, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 401bc: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 401c0: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 401c4: e3800017 orr r0, r0, #23 ; 0x17
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121 401c8: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 401cc: e59fd29c ldr sp, =0x1000050 ; via 0x40470
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 401d0: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 401d4: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 401d8: e380001b orr r0, r0, #27 ; 0x1b
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 401dc: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 401e0: e59fd288 ldr sp, =0x1000050 ; via 0x40470
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 401e4: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 401e8: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 401ec: e3800013 orr r0, r0, #19 ; 0x13
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 401f0: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 401f4: e59f3268 ldr r3, =0x176f458 ; via 0x40464
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 401f8: e2822004 add r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 401fc: e5832000 str r2, [r3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135 40200: e3a01b01 mov r1, #1024 ; 0x400
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 40204: e3c11003 bic r1, r1, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137 40208: e0822001 add r2, r2, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 4020c: e59f3254 ldr r3, =0x176f4dc ; via 0x40468
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139 40210: e5831000 str r1, [r3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140 40214: e3a01002 mov r1, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
141 40218: e59f324c ldr r3, =0x176f4ec ; via 0x4046c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
142 4021c: e5831000 str r1, [r3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 40220: e1a04002 mov r4, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144 40224: eb0e99e4 bl 0x3e69bc ; _f_load_int_mem
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145 40228: e1a02004 mov r2, r4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 4022c: e59f1228 ldr r1, =0x1775044 ; via 0x4045c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147 40230: e5910000 ldr r0, [r1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
148 40234: e3a030fe mov r3, #254 ; 0xfe
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 40238: e5c03000 strb r3, [r0]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 4023c: e5c03001 strb r3, [r0, #1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 40240: e5c03002 strb r3, [r0, #2]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152 40244: e5c03003 strb r3, [r0, #3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 40248: e4903004 ldr r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154 4024c: e4803004 str r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
155 40250: e1500002 cmp r0, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
156 40254: bafffffc blt 0x4024c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 40258: e51f020c ldr r0, =0x536e48 ; via 0x40054
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 4025c: e3700001 cmn r0, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 40260: 1b000084 blne 0x40478
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160 40264: e1a00002 mov r0, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 40268: ea0eda34 b 0x3f6b40 ; _INC_Initialize
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163 $INT_Vectors_Loaded:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 4026c: 4778 bx pc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 4026e: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 40270: eaffffff b 0x40274
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 _INT_Vectors_Loaded:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 40274: e3a00001 mov r0, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169 40278: e12fff1e bx lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171 $INT_Setup_Vector:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 4027c: 4778 bx pc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173 4027e: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 40280: eaffffff b 0x40284
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 _INT_Setup_Vector:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 40284: e3a00000 mov r0, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177 40288: e12fff1e bx lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
178
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179 $INT_EnableIRQ:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180 4028c: 4778 bx pc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181 4028e: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182 40290: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
183 40294: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184 40298: e3800012 orr r0, r0, #18 ; 0x12
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
185 4029c: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186 402a0: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187 402a4: e3c000c0 bic r0, r0, #192 ; 0xc0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
188 402a8: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189 402ac: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 402b0: e3800013 orr r0, r0, #19 ; 0x13
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
191 402b4: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
192 402b8: e28f0001 add r0, pc, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
193 402bc: e12fff10 bx r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
194 402c0: 4770 bx lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196 $INT_DisableIRQ:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
197 402c2: 4778 bx pc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
198 402c4: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
199 402c6: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
200 402c8: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
201 402cc: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
202 402d0: e3800012 orr r0, r0, #18 ; 0x12
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203 402d4: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204 402d8: e10f0000 mrs r0, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
205 402dc: e38000c0 orr r0, r0, #192 ; 0xc0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
206 402e0: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
207 402e4: e3c0001f bic r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
208 402e8: e3800013 orr r0, r0, #19 ; 0x13
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
209 402ec: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
210 402f0: e28f0001 add r0, pc, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
211 402f4: e12fff10 bx r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212 402f8: 4770 bx lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
214 $INT_Retrieve_Shell:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
215 402fa: 4778 bx pc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
216 402fc: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
217 402fe: 46c0 nop (mov r8, r8)
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
218 40300: eaffffff b 0x40304
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
219 _INT_Retrieve_Shell:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
220 40304: e3a00000 mov r0, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
221 40308: e12fff1e bx lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
222
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
223 INT_IRQ:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
224 4030c: e92d000f stmdb sp!, {r0, r1, r2, r3}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225 40310: e14f0000 mrs r0, SPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
226 40314: e3100080 tst r0, #128 ; 0x80
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
227 40318: 1a000003 bne 0x4032c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
228 4031c: e24e3004 sub r3, lr, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
229 40320: eb1ff729 bl 0x83dfcc ; _TCT_Interrupt_Context_Save
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
230 40324: eb0e3915 bl 0x3ce780 ; _IQ_IRQ_isr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
231 40328: ea1ff76e b 0x83e0e8 ; _TCT_Interrupt_Context_Restore
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
232 4032c: e8bd000f ldmia sp!, {r0, r1, r2, r3}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
233 40330: e25ef004 subs pc, lr, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
234
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
235 INT_FIQ:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
236 40334: e92d000f stmdb sp!, {r0, r1, r2, r3}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
237 40338: e24e3004 sub r3, lr, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
238 4033c: eb1ff722 bl 0x83dfcc ; _TCT_Interrupt_Context_Save
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
239 40340: eb0e3919 bl 0x3ce7ac ; _IQ_FIQ_isr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
240 40344: ea1ff767 b 0x83e0e8 ; _TCT_Interrupt_Context_Restore
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
241
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
242 ; exception handlers
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
243 40348: e92d1800 stmdb sp!, {r11, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
244 4034c: e3a0b001 mov r11, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
245 40350: ea00000c b 0x40388
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
246 40354: e92d1800 stmdb sp!, {r11, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
247 40358: e3a0b002 mov r11, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
248 4035c: ea000009 b 0x40388
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
249 40360: e92d1800 stmdb sp!, {r11, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
250 40364: e3a0b003 mov r11, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
251 40368: ea000006 b 0x40388
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 4036c: e92d1800 stmdb sp!, {r11, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253 40370: e3a0b004 mov r11, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
254 40374: ea000003 b 0x40388
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
255 40378: e59fd0f0 ldr sp, =0x1000050 ; via 0x40470
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256 4037c: e92d1800 stmdb sp!, {r11, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257 40380: e3a0b005 mov r11, #5
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 40384: eaffffff b 0x40388
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
259 40388: e59fc0e4 ldr r12, =0x1000050 ; via 0x40474
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
260 4038c: e58ce03c str lr, [r12, #60] ; 0x3c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
261 40390: e88c07ff stmia r12, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
262 40394: e8bd0003 ldmia sp!, {r0, r1}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
263 40398: e58c002c str r0, [r12, #44] ; 0x2c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
264 4039c: e58c1030 str r1, [r12, #48] ; 0x30
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
265 403a0: e14f0000 mrs r0, SPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
266 403a4: e58c0040 str r0, [r12, #64] ; 0x40
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
267 403a8: e10f1000 mrs r1, CPSR
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
268 403ac: e3c1201f bic r2, r1, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
269 403b0: e200001f and r0, r0, #31 ; 0x1f
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
270 403b4: e0800002 add r0, r0, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
271 403b8: e129f000 msr CPSR_fc, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
272 403bc: e58cd034 str sp, [r12, #52] ; 0x34
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
273 403c0: e58ce038 str lr, [r12, #56] ; 0x38
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
274 403c4: e129f001 msr CPSR_fc, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
275 403c8: e38ba4de orr r10, r11, #3724541952 ; 0xde000000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
276 403cc: e38aa8ad orr r10, r10, #11337728 ; 0xad0000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
277 403d0: e58ca044 str r10, [r12, #68] ; 0x44
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
278 403d4: e1a0000b mov r0, r11
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
279 403d8: ea0eda7a b 0x3f6dc8 ; _dar_exception
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
280
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
281 $exception:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
282 403dc: a000 add r0, pc, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
283 403de: 4700 bx r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
284
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
285 _exception:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
286 403e0: e59fc08c ldr r12, =0x1000050 ; via 0x40474
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
287 403e4: e59cb034 ldr r11, [r12, #52] ; 0x34
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
288 403e8: e28cc048 add r12, r12, #72 ; 0x48
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
289 403ec: e35b0502 cmp r11, #8388608 ; 0x800000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
290 403f0: ba00000d blt 0x4042c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
291 403f4: e3a00722 mov r0, #8912896 ; 0x880000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
292 403f8: e2400014 sub r0, r0, #20 ; 0x14
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
293 403fc: e15b0000 cmp r11, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
294 40400: ba000005 blt 0x4041c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
295 40404: e35b0401 cmp r11, #16777216 ; 0x1000000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
296 40408: ba000007 blt 0x4042c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
297 4040c: e3a00612 mov r0, #18874368 ; 0x1200000
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
298 40410: e2400014 sub r0, r0, #20 ; 0x14
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
299 40414: e15b0000 cmp r11, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
300 40418: aa000003 bge 0x4042c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
301 4041c: e8bb03ff ldmia r11!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
302 40420: e8ac03ff stmia r12!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
303 40424: e8bb03ff ldmia r11!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
304 40428: e8ac03ff stmia r12!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
305 4042c: e59f0020 ldr r0, =0x10000e8 ; via 0x40454
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
306 40430: e3a01eae mov r1, #2784 ; 0xae0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
307 40434: e2811080 add r1, r1, #128 ; 0x80
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
308 40438: e0802001 add r2, r0, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
309 4043c: e1a0d002 mov sp, r2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
310 40440: ea0eda66 b 0x3f6de0 ; _dar_reset
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
311
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
312 40444: 01000be8 .bss
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
313 40448: 017751ec end
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
314 4044c: 00800000 _S_D_Mem
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
315 40450: 0082d1ec _E_D_Mem
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
316 40454: 010000e8 stack_segment
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
317 40458: 01775074 _INT_Loaded_Flag
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
318 4045c: 01775044 _TCT_System_Limit
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
319 40460: 0175635c _TCD_System_Stack
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
320 40464: 0176f458 _TMD_HISR_Stack_Ptr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
321 40468: 0176f4dc _TMD_HISR_Stack_Size
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
322 4046c: 0176f4ec _TMD_HISR_Priority
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
323 40470: 01000050 exception_stack
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
324 40474: 01000050 _xdump_buffer
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
325
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
326 _auto_init:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
327 40478: ea00000c b 0x404b0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
328 4047c: e4901004 ldr r1, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
329 40480: e3530003 cmp r3, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
330 40484: 84904004 ldrhi r4, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
331 40488: 84814004 strhi r4, [r1], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
332 4048c: 82433004 subhi r3, r3, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
333 40490: 94d04001 ldrlsb r4, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
334 40494: 94c14001 strlsb r4, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
335 40498: 92433001 subls r3, r3, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
336 4049c: e3530000 cmp r3, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
337 404a0: 1afffff6 bne 0x40480
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
338 404a4: e2103003 ands r3, r0, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
339 404a8: 12633004 rsbne r3, r3, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
340 404ac: 10800003 addne r0, r0, r3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
341 404b0: e4903004 ldr r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
342 404b4: e3530000 cmp r3, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
343 404b8: 1affffef bne 0x4047c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
344 404bc: e1a0f00e mov pc, lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
345
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
346 _INT_memset:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
347 404c0: e92d4001 stmdb sp!, {r0, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
348 404c4: e3100003 tst r0, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
349 404c8: 0a000006 beq 0x404e8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
350 404cc: e3520000 cmp r2, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
351 404d0: 84c01001 strhib r1, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
352 404d4: 82522001 subhis r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
353 404d8: 83100003 tsthi r0, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
354 404dc: 1afffffb bne 0x404d0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
355 404e0: e3520000 cmp r2, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
356 404e4: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
357 404e8: e20110ff and r1, r1, #255 ; 0xff
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
358 404ec: e1811401 orr r1, r1, r1, lsl #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
359 404f0: e3520004 cmp r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
360 404f4: 3a000012 bcc 0x40544
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
361 404f8: e1811801 orr r1, r1, r1, lsl #16
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
362 404fc: e3520008 cmp r2, #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
363 40500: 3a00000d bcc 0x4053c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
364 40504: e1a0e001 mov lr, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
365 40508: e3520010 cmp r2, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
366 4050c: 3a000008 bcc 0x40534
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
367 40510: e92d0010 stmdb sp!, {r4}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
368 40514: e1a04001 mov r4, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
369 40518: e1a0c001 mov r12, r1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
370 4051c: e242300f sub r3, r2, #15 ; 0xf
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
371 40520: e202200f and r2, r2, #15 ; 0xf
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
372 40524: e8a05012 stmia r0!, {r1, r4, r12, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
373 40528: e2533010 subs r3, r3, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
374 4052c: 8afffffc bhi 0x40524
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
375 40530: e8bd0010 ldmia sp!, {r4}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
376 40534: e3120008 tst r2, #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
377 40538: 18a04002 stmneia r0!, {r1, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
378 4053c: e3120004 tst r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
379 40540: 14801004 strne r1, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
380 40544: e3120002 tst r2, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
381 40548: 10c010b2 strneh r1, [r0], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
382 4054c: e3120001 tst r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
383 40550: 15c01000 strneb r1, [r0]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
384 40554: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
385
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
386 _INT_memcpy:
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
387 40558: e3520000 cmp r2, #0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
388 4055c: 012fff1e bxeq lr
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
389 40560: e92d4001 stmdb sp!, {r0, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
390 40564: e3110003 tst r1, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
391 40568: 1a00002b bne 0x4061c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
392 4056c: e3100003 tst r0, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
393 40570: 1a00002f bne 0x40634
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
394 40574: e3520010 cmp r2, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
395 40578: 3a000008 bcc 0x405a0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
396 4057c: e92d0010 stmdb sp!, {r4}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
397 40580: e2422010 sub r2, r2, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
398 40584: e8b15018 ldmia r1!, {r3, r4, r12, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
399 40588: e8a05018 stmia r0!, {r3, r4, r12, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
400 4058c: e2522010 subs r2, r2, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
401 40590: 2afffffb bcs 0x40584
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
402 40594: e8bd0010 ldmia sp!, {r4}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
403 40598: e2922010 adds r2, r2, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
404 4059c: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
405 405a0: e212300c ands r3, r2, #12 ; 0xc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
406 405a4: 0a00000d beq 0x405e0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
407 405a8: e3d2200c bics r2, r2, #12 ; 0xc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
408 405ac: e24fc010 sub r12, pc, #16 ; 0x10
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
409 405b0: e08cf103 add pc, r12, r3, lsl #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
410 405b4: e4913004 ldr r3, [r1], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
411 405b8: e4803004 str r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
412 405bc: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
413 405c0: ea000006 b 0x405e0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
414 405c4: e8b11008 ldmia r1!, {r3, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
415 405c8: e8a01008 stmia r0!, {r3, r12}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
416 405cc: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
417 405d0: ea000002 b 0x405e0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
418 405d4: e8b15008 ldmia r1!, {r3, r12, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
419 405d8: e8a05008 stmia r0!, {r3, r12, lr}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
420 405dc: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
421 405e0: e2522001 subs r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
422 405e4: 124f3004 subne r3, pc, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
423 405e8: 1083f202 addne pc, r3, r2, lsl #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
424 405ec: e4d13001 ldrb r3, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
425 405f0: e4c03001 strb r3, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
426 405f4: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
427 405f8: e0d130b2 ldrh r3, [r1], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
428 405fc: e0c030b2 strh r3, [r0], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
429 40600: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
430 40604: e1a00000 mov r0, r0
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
431 40608: e0d130b2 ldrh r3, [r1], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
432 4060c: e0c030b2 strh r3, [r0], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
433 40610: e4d13001 ldrb r3, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
434 40614: e4c03001 strb r3, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
435 40618: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
436 4061c: e4d13001 ldrb r3, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
437 40620: e4c03001 strb r3, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
438 40624: e2522001 subs r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
439 40628: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
440 4062c: e3110003 tst r1, #3
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
441 40630: 1afffff9 bne 0x4061c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
442 40634: e3100001 tst r0, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
443 40638: 1a000013 bne 0x4068c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
444 4063c: e3100002 tst r0, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
445 40640: 0affffcb beq 0x40574
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
446 40644: e2522004 subs r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
447 40648: 3a000007 bcc 0x4066c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
448 4064c: e4913004 ldr r3, [r1], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
449 40650: e0c030b4 strh r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
450 40654: e1a03823 mov r3, r3, lsr #16
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
451 40658: e14030b2 strh r3, [r0, #-2]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
452 4065c: e2522004 subs r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
453 40660: 2afffff9 bcs 0x4064c
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
454 40664: e3720004 cmn r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
455 40668: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
456 4066c: e2922002 adds r2, r2, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
457 40670: 20d130b2 ldrcsh r3, [r1], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
458 40674: 20c030b2 strcsh r3, [r0], #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
459 40678: 22422002 subcs r2, r2, #2
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
460 4067c: e2922001 adds r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
461 40680: 24d13001 ldrcsb r3, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
462 40684: 24c03001 strcsb r3, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
463 40688: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
464 4068c: e2522004 subs r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
465 40690: 3a000009 bcc 0x406bc
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
466 40694: e4913004 ldr r3, [r1], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
467 40698: e4c03004 strb r3, [r0], #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
468 4069c: e1a03423 mov r3, r3, lsr #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
469 406a0: e5403003 strb r3, [r0, #-3]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
470 406a4: e1a03423 mov r3, r3, lsr #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
471 406a8: e5403002 strb r3, [r0, #-2]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
472 406ac: e1a03423 mov r3, r3, lsr #8
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
473 406b0: e5403001 strb r3, [r0, #-1]
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
474 406b4: e2522004 subs r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
475 406b8: 2afffff5 bcs 0x40694
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
476 406bc: e2922004 adds r2, r2, #4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
477 406c0: 08bd8001 ldmeqia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
478 406c4: e4d13001 ldrb r3, [r1], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
479 406c8: e4c03001 strb r3, [r0], #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
480 406cc: e2522001 subs r2, r2, #1
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
481 406d0: 1afffffb bne 0x406c4
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
482 406d4: e8bd8001 ldmia sp!, {r0, pc}
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
483
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
484 $Init_Target:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
485 3bb7d4: b570 push {r4, r5, r6, lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
486 3bb7d6: b081 sub sp, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
487 3bb7d8: 4c96 ldr r4, =0xfffef008 ; via 0x3bba34
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
488 3bb7da: 4897 ldr r0, =0x6050 ; via 0x3bba38
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
489 3bb7dc: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
490 3bb7de: f025 ffed bl 0x3e17bc ; $TM_DisableWatchdog
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
491 3bb7e2: 4896 ldr r0, =0xfffffd02 ; via 0x3bba3c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
492 3bb7e4: 2105 mov r1, #5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
493 3bb7e6: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
494 3bb7e8: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
495 3bb7ea: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
496 3bb7ec: 4994 ldr r1, =0xff3f ; via 0x3bba40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
497 3bb7ee: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
498 3bb7f0: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
499 3bb7f2: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
500 3bb7f4: 2180 mov r1, #128 ; 0x80
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
501 3bb7f6: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
502 3bb7f8: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
503 3bb7fa: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
504 3bb7fc: 4991 ldr r1, =0xffdf ; via 0x3bba44
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
505 3bb7fe: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
506 3bb800: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
507 3bb802: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
508 3bb804: 4e90 ldr r6, =0xfffff900 ; via 0x3bba48
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
509 3bb806: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
510 3bb808: 0200 lsl r0, r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
511 3bb80a: 8030 strh r0, [r6, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
512 3bb80c: 4d8f ldr r5, =0xffff9800 ; via 0x3bba4c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
513 3bb80e: 4890 ldr r0, =0xfff3 ; via 0x3bba50
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
514 3bb810: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
515 3bb812: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
516 3bb814: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
517 3bb816: 8828 ldrh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
518 3bb818: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
519 3bb81a: 488e ldr r0, =0xf01f ; via 0x3bba54
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
520 3bb81c: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
521 3bb81e: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
522 3bb820: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
523 3bb822: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
524 3bb824: 0280 lsl r0, r0, #10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
525 3bb826: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
526 3bb828: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
527 3bb82a: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
528 3bb82c: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
529 3bb82e: 2102 mov r1, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
530 3bb830: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
531 3bb832: f027 fb45 bl 0x3e2ec0 ; $CLKM_InitARMClock
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
532 3bb836: 4988 ldr r1, =0xfffffb00 ; via 0x3bba58
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
533 3bb838: 20a4 mov r0, #164 ; 0xa4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
534 3bb83a: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
535 3bb83c: 8048 strh r0, [r1, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
536 3bb83e: 22a5 mov r2, #165 ; 0xa5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
537 3bb840: 808a strh r2, [r1, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
538 3bb842: 80c8 strh r0, [r1, #6]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
539 3bb844: 20a7 mov r0, #167 ; 0xa7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
540 3bb846: 8148 strh r0, [r1, #10] ; 0xa
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
541 3bb848: 20c0 mov r0, #192 ; 0xc0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
542 3bb84a: 8188 strh r0, [r1, #12] ; 0xc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
543 3bb84c: 2040 mov r0, #64 ; 0x40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
544 3bb84e: 8108 strh r0, [r1, #8]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
545 3bb850: 2020 mov r0, #32 ; 0x20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
546 3bb852: 8070 strh r0, [r6, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
547 3bb854: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
548 3bb856: 80b0 strh r0, [r6, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
549 3bb858: 2010 mov r0, #16 ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
550 3bb85a: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
551 3bb85c: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
552 3bb85e: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
553 3bb860: 487e ldr r0, =0xfffffa08 ; via 0x3bba5c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
554 3bb862: 497f ldr r1, =0xffff ; via 0x3bba60
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
555 3bb864: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
556 3bb866: 8041 strh r1, [r0, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
557 3bb868: 2103 mov r1, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
558 3bb86a: 8181 strh r1, [r0, #12] ; 0xc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
559 3bb86c: f024 f9be bl 0x3dfbec ; $IQ_SetupInterrupts
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
560 3bb870: 487c ldr r0, =0xfffffc00 ; via 0x3bba64
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
561 3bb872: 2124 mov r1, #36 ; 0x24
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
562 3bb874: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
563 3bb876: 210d mov r1, #13 ; 0xd
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
564 3bb878: 8041 strh r1, [r0, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
565 3bb87a: 2500 mov r5, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
566 3bb87c: 487a ldr r0, =0xfffe2016 ; via 0x3bba68
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
567 3bb87e: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
568 3bb880: 497a ldr r1, =0xfffe2014 ; via 0x3bba6c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
569 3bb882: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
570 3bb884: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
571 3bb886: 497a ldr r1, =0xfffe2002 ; via 0x3bba70
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
572 3bb888: 2084 mov r0, #132 ; 0x84
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
573 3bb88a: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
574 3bb88c: 4979 ldr r1, =0xfffe2000 ; via 0x3bba74
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
575 3bb88e: 487a ldr r0, =0x3de0 ; via 0x3bba78
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
576 3bb890: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
577 3bb892: 4a7a ldr r2, =0xfffe2022 ; via 0x3bba7c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
578 3bb894: 200a mov r0, #10 ; 0xa
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
579 3bb896: 8010 strh r0, [r2, #0] ; DIFF!
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
580 3bb898: 4879 ldr r0, =0xfffe2020 ; via 0x3bba80
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
581 3bb89a: 4a7a ldr r2, =0x45a ; via 0x3bba84
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
582 3bb89c: 8002 strh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
583 3bb89e: 4a7a ldr r2, =0xfffe201e ; via 0x3bba88
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
584 3bb8a0: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
585 3bb8a2: 304b add r0, #75 ; 0x4b
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
586 3bb8a4: 8010 strh r0, [r2, #0] ; DIFF!
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
587 3bb8a6: 4879 ldr r0, =0xfffe201c ; via 0x3bba8c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
588 3bb8a8: 221f mov r2, #31 ; 0x1f
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
589 3bb8aa: 8002 strh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
590 3bb8ac: 4878 ldr r0, =0xfffe2024 ; via 0x3bba90
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
591 3bb8ae: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
592 3bb8b0: 4a78 ldr r2, =0xfffe2010 ; via 0x3bba94
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
593 3bb8b2: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
594 3bb8b4: 8813 ldrh r3, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
595 3bb8b6: 4318 orr r0, r3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
596 3bb8b8: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
597 3bb8ba: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
598 3bb8bc: 8813 ldrh r3, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
599 3bb8be: 4318 orr r0, r3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
600 3bb8c0: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
601 3bb8c2: 2027 mov r0, #39 ; 0x27
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
602 3bb8c4: 80a0 strh r0, [r4, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
603 3bb8c6: 8a08 ldrh r0, [r1, #16] ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
604 3bb8c8: 0840 lsr r0, r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
605 3bb8ca: d30f bcc 0x3bb8ec
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
606 3bb8cc: 8a08 ldrh r0, [r1, #16] ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
607 3bb8ce: 0400 lsl r0, r0, #16
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
608 3bb8d0: 0c40 lsr r0, r0, #17
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
609 3bb8d2: 0040 lsl r0, r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
610 3bb8d4: 8208 strh r0, [r1, #16] ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
611 3bb8d6: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
612 3bb8d8: e001 b 0x3bb8de
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
613 3bb8da: 9800 ldr r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
614 3bb8dc: 3001 add r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
615 3bb8de: 9000 str r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
616 3bb8e0: 9800 ldr r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
617 3bb8e2: 2832 cmp r0, #50 ; 0x32
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
618 3bb8e4: d3f9 bcc 0x3bb8da
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
619 3bb8e6: 8a48 ldrh r0, [r1, #18] ; 0x12
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
620 3bb8e8: 2800 cmp r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
621 3bb8ea: d0fc beq 0x3bb8e6
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
622 3bb8ec: f027 fbcd bl 0x3e308a ; $AI_ClockEnable
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
623 3bb8f0: f027 fbd1 bl 0x3e3096 ; $AI_InitIOConfig
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
624 3bb8f4: 2027 mov r0, #39 ; 0x27
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
625 3bb8f6: 0500 lsl r0, r0, #20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
626 3bb8f8: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
627 3bb8fa: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
628 3bb8fc: f025 ff6c bl 0x3e17d8 ; $TM_EnableTimer
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
629 3bb900: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
630 3bb902: f025 ff69 bl 0x3e17d8 ; $TM_EnableTimer
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
631 3bb906: b001 add sp, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
632 3bb908: bd70 pop {r4, r5, r6, pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
633
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
634 ; The following code is a different version of Init_Target(),
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
635 ; but does not seem to be used, probably defunct but still-compiled
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
636 ; code in init.c in between the functional Init_Target() and the
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
637 ; normally-following Init_Drivers().
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
638
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
639 3bb90a: b570 push {r4, r5, r6, lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
640 3bb90c: 4d49 ldr r5, =0xfffef008 ; via 0x3bba34
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
641 3bb90e: 4862 ldr r0, =0x6040 ; via 0x3bba98
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
642 3bb910: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
643 3bb912: f025 ff53 bl 0x3e17bc ; $TM_DisableWatchdog
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
644 3bb916: 4849 ldr r0, =0xfffffd02 ; via 0x3bba3c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
645 3bb918: 2105 mov r1, #5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
646 3bb91a: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
647 3bb91c: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
648 3bb91e: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
649 3bb920: 4947 ldr r1, =0xff3f ; via 0x3bba40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
650 3bb922: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
651 3bb924: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
652 3bb926: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
653 3bb928: 2180 mov r1, #128 ; 0x80
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
654 3bb92a: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
655 3bb92c: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
656 3bb92e: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
657 3bb930: 4e45 ldr r6, =0xfffff900 ; via 0x3bba48
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
658 3bb932: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
659 3bb934: 0200 lsl r0, r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
660 3bb936: 8030 strh r0, [r6, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
661 3bb938: 4c44 ldr r4, =0xffff9800 ; via 0x3bba4c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
662 3bb93a: 4845 ldr r0, =0xfff3 ; via 0x3bba50
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
663 3bb93c: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
664 3bb93e: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
665 3bb940: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
666 3bb942: 8820 ldrh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
667 3bb944: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
668 3bb946: 4843 ldr r0, =0xf01f ; via 0x3bba54
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
669 3bb948: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
670 3bb94a: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
671 3bb94c: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
672 3bb94e: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
673 3bb950: 0280 lsl r0, r0, #10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
674 3bb952: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
675 3bb954: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
676 3bb956: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
677 3bb958: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
678 3bb95a: 2102 mov r1, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
679 3bb95c: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
680 3bb95e: f027 faaf bl 0x3e2ec0 ; $CLKM_InitARMClock
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
681 3bb962: 4a3d ldr r2, =0xfffffb00 ; via 0x3bba58
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
682 3bb964: 20a4 mov r0, #164 ; 0xa4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
683 3bb966: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
684 3bb968: 8050 strh r0, [r2, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
685 3bb96a: 2185 mov r1, #133 ; 0x85
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
686 3bb96c: 8091 strh r1, [r2, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
687 3bb96e: 80d0 strh r0, [r2, #6]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
688 3bb970: 20a7 mov r0, #167 ; 0xa7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
689 3bb972: 8150 strh r0, [r2, #10] ; 0xa
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
690 3bb974: 20c0 mov r0, #192 ; 0xc0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
691 3bb976: 8190 strh r0, [r2, #12] ; 0xc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
692 3bb978: 2040 mov r0, #64 ; 0x40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
693 3bb97a: 8110 strh r0, [r2, #8]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
694 3bb97c: 2020 mov r0, #32 ; 0x20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
695 3bb97e: 8070 strh r0, [r6, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
696 3bb980: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
697 3bb982: 80b0 strh r0, [r6, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
698 3bb984: 2010 mov r0, #16 ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
699 3bb986: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
700 3bb988: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
701 3bb98a: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
702 3bb98c: f027 fb76 bl 0x3e307c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
703 3bb990: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
704 3bb992: f027 fb50 bl 0x3e3036
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
705 3bb996: 4841 ldr r0, =0xfffd ; via 0x3bba9c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
706 3bb998: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
707 3bb99a: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
708 3bb99c: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
709 3bb99e: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
710 3bb9a0: f027 fb50 bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
711 3bb9a4: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
712 3bb9a6: f027 fb46 bl 0x3e3036
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
713 3bb9aa: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
714 3bb9ac: f027 fb2e bl 0x3e300c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
715 3bb9b0: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
716 3bb9b2: f027 fb47 bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
717 3bb9b6: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
718 3bb9b8: f027 fb36 bl 0x3e3028
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
719 3bb9bc: 2003 mov r0, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
720 3bb9be: f027 fb25 bl 0x3e300c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
721 3bb9c2: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
722 3bb9c4: f027 fb3e bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
723 3bb9c8: bd70 pop {r4, r5, r6, pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
724
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
725 $Init_Drivers:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
726 3bb9ca: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
727 3bb9cc: f78d fc0f bl 0x3491ee
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
728 3bb9d0: f5a6 fa25 bl 0x161e1e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
729 3bb9d4: f7ad fda3 bl 0x36951e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
730 3bb9d8: f039 fb95 bl 0x3f5106
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
731 3bb9dc: f6f5 f927 bl 0x2b0c2e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
732 3bb9e0: f720 fb16 bl 0x2dc010
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
733 3bb9e4: f7bc fa46 bl 0x377e74
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
734 3bb9e8: f6ca fcfa bl 0x2863e0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
735 3bb9ec: f001 fd3b bl 0x3bd466
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
736 3bb9f0: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
737
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
738 $Init_Serial_Flows:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
739 3bb9f2: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
740 3bb9f4: 482a ldr r0, =0x1773764 ; via 0x3bbaa0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
741 3bb9f6: f793 fb8f bl 0x34f118 ; $SER_InitSerialConfig
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
742 3bb9fa: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
743 3bb9fc: 2103 mov r1, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
744 3bb9fe: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
745 3bba00: f793 fc2b bl 0x34f25a ; $SER_tr_Init
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
746 3bba04: f793 fc85 bl 0x34f312 ; $SER_fd_Initialize
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
747 3bba08: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
748
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
749 $Init_Unmask_IT:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
750 3bba0a: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
751 3bba0c: f484 fc59 bl 0x402c2 ; $INT_DisableIRQ
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
752 3bba10: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
753 3bba12: f024 f94c bl 0x3dfcae ; $IQ_Unmask
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
754 3bba16: 2012 mov r0, #18 ; 0x12
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
755 3bba18: f024 f949 bl 0x3dfcae ; $IQ_Unmask
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
756 3bba1c: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
757 3bba1e: f024 f946 bl 0x3dfcae ; $IQ_Unmask
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
758 3bba22: 2008 mov r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
759 3bba24: f024 f943 bl 0x3dfcae ; $IQ_Unmask
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
760 3bba28: 200f mov r0, #15 ; 0xf
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
761 3bba2a: f024 f940 bl 0x3dfcae ; $IQ_Unmask
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
762 3bba2e: f484 fc2d bl 0x4028c ; $INT_EnableIRQ
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
763 3bba32: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
764
234
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
765 _f_checksum:
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
766 3e6990: e1a0c000 mov r12, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
767 3e6994: e3a00000 mov r0, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
768 3e6998: e3510000 cmp r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
769 3e699c: 012fff1e bxeq lr
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
770 3e69a0: e4dc2001 ldrb r2, [r12], #1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
771 3e69a4: e0820000 add r0, r2, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
772 3e69a8: e1a00800 mov r0, r0, lsl #16
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
773 3e69ac: e1a00820 mov r0, r0, lsr #16
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
774 3e69b0: e2511001 subs r1, r1, #1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
775 3e69b4: 1afffff9 bne 0x3e69a0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
776 3e69b8: e12fff1e bx lr
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
777
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
778 _f_load_int_mem:
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
779 3e69bc: e92d4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, r10, r11, lr}
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
780 3e69c0: e59f90c8 ldr r9, =0x1775070 ; via 0x3e6a90
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
781 3e69c4: e3a0c000 mov r12, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
782 3e69c8: e1c9c0b0 strh r12, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
783 3e69cc: e59fa0c0 ldr r10, =0x1775072 ; via 0x3e6a94
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
784 3e69d0: e1cac0b0 strh r12, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
785 3e69d4: e59fc0bc ldr r12, =0x82d1f0 ; via 0x3e6a98
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
786 3e69d8: e59f00bc ldr r0, =0x848788 ; via 0x3e6a9c
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
787 3e69dc: e040000c sub r0, r0, r12
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
788 3e69e0: e2408004 sub r8, r0, #4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
789 3e69e4: e28c7004 add r7, r12, #4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
790 3e69e8: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
791 3e69ec: e3a01000 mov r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
792 3e69f0: e1a02008 mov r2, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
793 3e69f4: ebf166b1 bl 0x404c0 ; _INT_memset
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
794 3e69f8: e59f40a0 ldr r4, =0x84878c ; via 0x3e6aa0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
795 3e69fc: e59fc0a0 ldr r12, =0x848d1c ; via 0x3e6aa4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
796 3e6a00: e04c6004 sub r6, r12, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
797 3e6a04: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
798 3e6a08: e3a01000 mov r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
799 3e6a0c: e1a02006 mov r2, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
800 3e6a10: ebf166aa bl 0x404c0 ; _INT_memset
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
801 3e6a14: e59fb08c ldr r11, =0x40708 ; via 0x3e6aa8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
802 3e6a18: e1a0000b mov r0, r11
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
803 3e6a1c: e1a01008 mov r1, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
804 3e6a20: ebffffda bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
805 3e6a24: e1a03000 mov r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
806 3e6a28: e1c930b0 strh r3, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
807 3e6a2c: e59f5078 ldr r5, =0x5bca0 ; via 0x3e6aac
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
808 3e6a30: e1a00005 mov r0, r5
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
809 3e6a34: e1a01006 mov r1, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
810 3e6a38: ebffffd4 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
811 3e6a3c: e083c000 add r12, r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
812 3e6a40: e1c9c0b0 strh r12, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
813 3e6a44: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
814 3e6a48: e1a0100b mov r1, r11
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
815 3e6a4c: e1a02008 mov r2, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
816 3e6a50: ebf166c0 bl 0x40558 ; _INT_memcpy
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
817 3e6a54: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
818 3e6a58: e1a01005 mov r1, r5
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
819 3e6a5c: e1a02006 mov r2, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
820 3e6a60: ebf166bc bl 0x40558 ; _INT_memcpy
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
821 3e6a64: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
822 3e6a68: e1a01008 mov r1, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
823 3e6a6c: ebffffc7 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
824 3e6a70: e1a03000 mov r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
825 3e6a74: e1ca30b0 strh r3, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
826 3e6a78: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
827 3e6a7c: e1a01006 mov r1, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
828 3e6a80: ebffffc2 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
829 3e6a84: e083c000 add r12, r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
830 3e6a88: e1cac0b0 strh r12, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
831 3e6a8c: e8bd8ff0 ldmia sp!, {r4, r5, r6, r7, r8, r9, r10, r11, pc}
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
832
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
833 3e6a90: 01775070 _d_checksum1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
834 3e6a94: 01775072 _d_checksum2
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
835 3e6a98: 0082d1f0 _d_application_run_start
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
836 3e6a9c: 00848788 _d_application_run_end
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
837 3e6aa0: 0084878c __470_S_MEM_out_call_run_start
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
838 3e6aa4: 00848d1c __470_S_MEM_out_call_run_end
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
839 3e6aa8: 00040708 .ldfl+8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
840 3e6aac: 0005bca0 __470_S_MEM_out_call_load_start
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
841
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
842 $Application_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
843 3f11f8: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
844 3f11fa: f7ca faeb bl 0x3bb7d4 ; $Init_Target
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
845 3f11fe: f7ca fbe4 bl 0x3bb9ca ; $Init_Drivers
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
846 3f1202: f686 f8eb bl 0x2773dc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
847 3f1206: f686 f985 bl 0x277514
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
848 3f120a: f008 ffa7 bl 0x3fa15c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
849 3f120e: f7ff ffcd bl 0x3f11ac
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
850 3f1212: 2801 cmp r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
851 3f1214: d001 beq 0x3f121a
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
852 3f1216: f7b0 fa2d bl 0x3a1674
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
853 3f121a: f7b0 fa3e bl 0x3a169a
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
854 3f121e: f75e fb4d bl 0x34f8bc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
855 3f1222: f7ca fbe6 bl 0x3bb9f2 ; $Init_Serial_Flows
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
856 3f1226: f709 fe44 bl 0x2faeb2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
857 3f122a: f7ca fbee bl 0x3bba0a ; $Init_Unmask_IT
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
858 3f122e: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
859
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
860 $INC_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
861 3f3e74: b530 push {r4, r5, lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
862 3f3e76: 1c05 add r5, r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
863 3f3e78: 4c13 ldr r4, =0x1775048 ; via 0x3f3ec8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
864 3f3e7a: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
865 3f3e7c: 6020 str r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
866 3f3e7e: f003 f99d bl 0x3f71bc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
867 3f3e82: f003 f99f bl 0x3f71c4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
868 3f3e86: f003 f947 bl 0x3f7118
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
869 3f3e8a: f001 fe75 bl 0x3f5b78
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
870 3f3e8e: f7f5 ffcd bl 0x3e9e2c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
871 3f3e92: f002 fb55 bl 0x3f6540
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
872 3f3e96: f002 fb23 bl 0x3f64e0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
873 3f3e9a: f002 fb41 bl 0x3f6520
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
874 3f3e9e: f002 fb0f bl 0x3f64c0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
875 3f3ea2: f002 fb6d bl 0x3f6580
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
876 3f3ea6: f002 fb2b bl 0x3f6500
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
877 3f3eaa: f002 fb79 bl 0x3f65a0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
878 3f3eae: f7fa fc8b bl 0x3ee7c8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
879 3f3eb2: f002 fb55 bl 0x3f6560
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
880 3f3eb6: 1c28 add r0, r5, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
881 3f3eb8: f7fd f99e bl 0x3f11f8 ; $Application_Initialize
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
882 3f3ebc: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
883 3f3ebe: 6020 str r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
884 3f3ec0: f005 fbdc bl 0x3f967c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
885 3f3ec4: bd30 pop {r4, r5, pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
886
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
887 _INC_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
888 3f6b40: e92d4000 stmdb sp!, {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
889 3f6b44: e28fe001 add lr, pc, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
890 3f6b48: e12fff1e bx lr
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
891 3f6b4c: f7fd f992 bl 0x3f3e74 ; $INC_Initialize
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
892 3f6b50: 4778 bx pc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
893 3f6b52: 46c0 nop (mov r8, r8)
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
894 3f6b54: e8bd8000 ldmia sp!, {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
895
230
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
896 003F81AC $madc_hex_2_physical call trampoline
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
897 0052FB70 _RVM_SWE_GET_INFO_ARRAY
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
898
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
899 0083CAB0 $madc_hex_2_physical function body expected here