annotate pirelli/fw-disasm @ 246:b2002dcbad3d

pirelli/fw-disasm: l1_abb_power_on() located
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Dec 2017 00:03:49 +0000
parents 9cd7fa86da47
children 1e1191fbdf90
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
246
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
484 $l1_abb_power_on:
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
485 31c036: b510 push {r4, lr}
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
486 31c038: b084 sub sp, #16 ; 0x10
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
487 31c03a: 2000 mov r0, #0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
488 31c03c: 4669 mov r1, sp
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
489 31c03e: 8008 strh r0, [r1, #0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
490 31c040: 466a mov r2, sp
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
491 31c042: 213c mov r1, #60 ; 0x3c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
492 31c044: 8051 strh r1, [r2, #2]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
493 31c046: 2105 mov r1, #5
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
494 31c048: 8091 strh r1, [r2, #4]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
495 31c04a: 4669 mov r1, sp
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
496 31c04c: 80c8 strh r0, [r1, #6]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
497 31c04e: 2201 mov r2, #1
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
498 31c050: 810a strh r2, [r1, #8]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
499 31c052: 8148 strh r0, [r1, #10] ; 0xa
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
500 31c054: 8188 strh r0, [r1, #12] ; 0xc
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
501 31c056: 4668 mov r0, sp
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
502 31c058: f0d3 fcc5 bl 0x3ef9e6 ; $SPI_InitDev
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
503 31c05c: f02d f924 bl 0x3492a8 ; $ABB_free_13M
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
504 31c060: f02d f954 bl 0x34930c ; $ABB_Read_Status
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
505 31c064: 2001 mov r0, #1
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
506 31c066: 2136 mov r1, #54 ; 0x36
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
507 31c068: f02d f8f7 bl 0x34925a ; $ABB_Read_Register_on_page
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
508 31c06c: 4cdf ldr r4, =0x8029a4 ; via 0x31c3ec
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
509 31c06e: 48e0 ldr r0, =0x15a4 ; via 0x31c3f0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
510 31c070: 5d01 ldrb r1, [r0, r4]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
511 31c072: 2005 mov r0, #5
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
512 31c074: 0340 lsl r0, r0, #13
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
513 31c076: f02d f96b bl 0x349350 ; $ABB_on
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
514 31c07a: 20ff mov r0, #255 ; 0xff
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
515 31c07c: 49ac ldr r1, =0x3df ; via 0x31c330
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
516 31c07e: f02d fa5c bl 0x34953a ; $ABB_Conf_ADC
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
517 31c082: 48db ldr r0, =0x15a4 ; via 0x31c3f0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
518 31c084: 5d00 ldrb r0, [r0, r4]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
519 31c086: 2800 cmp r0, #0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
520 31c088: d101 bne 0x31c08e
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
521 31c08a: f0c0 fc4d bl 0x3dc928 ; $Create_ABB_HISR
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
522 31c08e: 4c24 ldr r4, =0xffd001a8 ; via 0x31c120
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
523 31c090: 48a8 ldr r0, =0x8028a5 ; via 0x31c334
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
524 31c092: 7800 ldrb r0, [r0, #0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
525 31c094: 2800 cmp r0, #0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
526 31c096: d108 bne 0x31c0aa
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
527 31c098: 20ff mov r0, #255 ; 0xff
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
528 31c09a: 30dd add r0, #221 ; 0xdd
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
529 31c09c: 1900 add r0, r0, r4
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
530 31c09e: 2100 mov r1, #0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
531 31c0a0: 2200 mov r2, #0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
532 31c0a2: 2301 mov r3, #1
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
533 31c0a4: f0de f83a bl 0x3fa11c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
534 31c0a8: e007 b 0x31c0ba
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
535 31c0aa: 20ff mov r0, #255 ; 0xff
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
536 31c0ac: 30dd add r0, #221 ; 0xdd
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
537 31c0ae: 1900 add r0, r0, r4
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
538 31c0b0: 2105 mov r1, #5
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
539 31c0b2: 2205 mov r2, #5
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
540 31c0b4: 2301 mov r3, #1
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
541 31c0b6: f0de f831 bl 0x3fa11c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
542 31c0ba: 489f ldr r0, =0x802868 ; via 0x31c338
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
543 31c0bc: 2196 mov r1, #150 ; 0x96
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
544 31c0be: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
545 31c0c0: 8121 strh r1, [r4, #8]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
546 31c0c2: 2198 mov r1, #152 ; 0x98
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
547 31c0c4: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
548 31c0c6: 8661 strh r1, [r4, #50] ; 0x32
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
549 31c0c8: 219a mov r1, #154 ; 0x9a
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
550 31c0ca: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
551 31c0cc: 86a1 strh r1, [r4, #52] ; 0x34
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
552 31c0ce: 219c mov r1, #156 ; 0x9c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
553 31c0d0: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
554 31c0d2: 86e1 strh r1, [r4, #54] ; 0x36
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
555 31c0d4: 4a99 ldr r2, =0xffd001e8 ; via 0x31c33c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
556 31c0d6: 219e mov r1, #158 ; 0x9e
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
557 31c0d8: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
558 31c0da: 80d1 strh r1, [r2, #6]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
559 31c0dc: 21a0 mov r1, #160 ; 0xa0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
560 31c0de: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
561 31c0e0: 8621 strh r1, [r4, #48] ; 0x30
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
562 31c0e2: 21a2 mov r1, #162 ; 0xa2
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
563 31c0e4: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
564 31c0e6: 8761 strh r1, [r4, #58] ; 0x3a
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
565 31c0e8: 21a4 mov r1, #164 ; 0xa4
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
566 31c0ea: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
567 31c0ec: 87a1 strh r1, [r4, #60] ; 0x3c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
568 31c0ee: 21a6 mov r1, #166 ; 0xa6
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
569 31c0f0: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
570 31c0f2: 87e1 strh r1, [r4, #62] ; 0x3e
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
571 31c0f4: 21a8 mov r1, #168 ; 0xa8
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
572 31c0f6: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
573 31c0f8: 8011 strh r1, [r2, #0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
574 31c0fa: 21aa mov r1, #170 ; 0xaa
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
575 31c0fc: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
576 31c0fe: 8051 strh r1, [r2, #2]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
577 31c100: 21ac mov r1, #172 ; 0xac
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
578 31c102: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
579 31c104: 8091 strh r1, [r2, #4]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
580 31c106: 21ae mov r1, #174 ; 0xae
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
581 31c108: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
582 31c10a: 85e1 strh r1, [r4, #46] ; 0x2e
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
583 31c10c: 21b0 mov r1, #176 ; 0xb0
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
584 31c10e: 5a09 ldrh r1, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
585 31c110: 8721 strh r1, [r4, #56] ; 0x38
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
586 31c112: 21b2 mov r1, #178 ; 0xb2
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
587 31c114: 5a08 ldrh r0, [r1, r0]
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
588 31c116: 85a0 strh r0, [r4, #44] ; 0x2c
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
589 31c118: b004 add sp, #16 ; 0x10
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
590 31c11a: bd10 pop {r4, pc}
b2002dcbad3d pirelli/fw-disasm: l1_abb_power_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 245
diff changeset
591
245
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
592 $l1_initialize:
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
593 31c6e4: b530 push {r4, r5, lr}
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
594 31c6e6: 1c04 add r4, r0, #0
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
595 31c6e8: 483f ldr r0, =0x803f48 ; via 0x31c7e8
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
596 31c6ea: 7800 ldrb r0, [r0, #0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
597 31c6ec: 2800 cmp r0, #0
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
598 31c6ee: d101 bne 0x31c6f4
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
599 31c6f0: f59f fdd1 bl 0xbc296
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
600 31c6f4: 4968 ldr r1, =0x8029a4 ; via 0x31c898
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
601 31c6f6: 4865 ldr r0, =0x15a4 ; via 0x31c88c
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
602 31c6f8: 2500 mov r5, #0
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
603 31c6fa: 5445 strb r5, [r0, r1]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
604 31c6fc: f0c6 fbf6 bl 0x3e2eec
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
605 31c700: 481c ldr r0, =0x802868 ; via 0x31c774
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
606 31c702: 7821 ldrb r1, [r4, #0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
607 31c704: 7001 strb r1, [r0, #0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
608 31c706: 213d mov r1, #61 ; 0x3d
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
609 31c708: 7922 ldrb r2, [r4, #4]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
610 31c70a: 540a strb r2, [r1, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
611 31c70c: 88e1 ldrh r1, [r4, #6]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
612 31c70e: 87c1 strh r1, [r0, #62] ; 0x3e
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
613 31c710: 21c0 mov r1, #192 ; 0xc0
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
614 31c712: 540d strb r5, [r1, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
615 31c714: 22c1 mov r2, #193 ; 0xc1
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
616 31c716: 2101 mov r1, #1
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
617 31c718: 5411 strb r1, [r2, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
618 31c71a: 22c2 mov r2, #194 ; 0xc2
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
619 31c71c: 5411 strb r1, [r2, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
620 31c71e: 22c3 mov r2, #195 ; 0xc3
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
621 31c720: 5411 strb r1, [r2, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
622 31c722: 495e ldr r1, =0x802228 ; via 0x31c89c
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
623 31c724: 7a22 ldrb r2, [r4, #8]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
624 31c726: 700a strb r2, [r1, #0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
625 31c728: 68e2 ldr r2, [r4, #12] ; 0xc
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
626 31c72a: 604a str r2, [r1, #4]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
627 31c72c: 213c mov r1, #60 ; 0x3c
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
628 31c72e: 78e2 ldrb r2, [r4, #3]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
629 31c730: 540a strb r2, [r1, r0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
630 31c732: f0dd fce3 bl 0x3fa0fc ; $Cust_init_std
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
631 31c736: f0dd fce9 bl 0x3fa10c ; $Cust_init_params
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
632 31c73a: f7ff ffb2 bl 0x31c6a2 ; $l1_dpll_init_var
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
633 31c73e: f0dc fd8d bl 0x3f925c ; $dsp_power_on
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
634 31c742: f7ff fc78 bl 0x31c036 ; $l1_abb_power_on
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
635 31c746: f7ff fc68 bl 0x31c01a ; $l1_tpu_init
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
636 31c74a: f7ff fb47 bl 0x31bddc ; $l1_dsp_init
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
637 31c74e: f7ff fdf9 bl 0x31c344 ; $l1_initialize_var
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
638 31c752: f0dc fccb bl 0x3f90ec ; $initialize_l1pvar
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
639 31c756: bd30 pop {r4, r5, pc}
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
640
243
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
641 $ABB_Sem_Create:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
642 3491ee: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
643 3491f0: 48f2 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
644 3491f2: a1f0 add r1, pc, #960 ; 0x3c0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
645 3491f4: 2201 mov r2, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
646 3491f6: 2306 mov r3, #6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
647 3491f8: f0b0 fb88 bl 0x3f990c ; $SMCE_Create_Semaphore
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
648 3491fc: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
649
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
650 $ABB_Wait_IBIC_Access:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
651 3491fe: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
652 349200: 48ef ldr r0, =0x33450 ; via 0x3495c0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
653 349202: f099 fe6c bl 0x3e2ede ; $convert_nanosec_to_cycles
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
654 349206: f099 fee4 bl 0x3e2fd2 ; $wait_ARM_cycles
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
655 34920a: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
656
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
657 $ABB_Write_Register_on_page:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
658 34920c: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
659 34920e: b082 sub sp, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
660 349210: 466b mov r3, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
661 349212: 809a strh r2, [r3, #4]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
662 349214: 466a mov r2, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
663 349216: 8051 strh r1, [r2, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
664 349218: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
665 34921a: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
666 34921c: 48e7 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
667 34921e: 2100 mov r1, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
668 349220: 43c9 mvn r1, r1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
669 349222: f0b0 fb63 bl 0x3f98ec ; $SMCE_Obtain_Semaphore
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
670 349226: 49f9 ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
671 349228: 2011 mov r0, #17 ; 0x11
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
672 34922a: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
673 34922c: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
674 34922e: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
675 349230: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
676 349232: 4995 ldr r1, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
677 349234: 8809 ldrh r1, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
678 349236: 80c1 strh r1, [r0, #6]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
679 349238: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
680 34923a: f7ff ff4c bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
681 34923e: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
682 349240: 8840 ldrh r0, [r0, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
683 349242: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
684 349244: 8889 ldrh r1, [r1, #4]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
685 349246: f7ff ff6a bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
686 34924a: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
687 34924c: f7ff ff43 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
688 349250: 48da ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
689 349252: f0b0 fb43 bl 0x3f98dc ; $SMCE_Release_Semaphore
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
690 349256: b002 add sp, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
691 349258: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
692
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
693 $ABB_Read_Register_on_page:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
694 34925a: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
695 34925c: b082 sub sp, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
696 34925e: 466a mov r2, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
697 349260: 8051 strh r1, [r2, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
698 349262: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
699 349264: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
700 349266: 48d5 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
701 349268: 2100 mov r1, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
702 34926a: 43c9 mvn r1, r1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
703 34926c: f0b0 fb3e bl 0x3f98ec
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
704 349270: 49e6 ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
705 349272: 2031 mov r0, #49 ; 0x31
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
706 349274: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
707 349276: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
708 349278: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
709 34927a: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
710 34927c: 4982 ldr r1, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
711 34927e: 8809 ldrh r1, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
712 349280: 8081 strh r1, [r0, #4]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
713 349282: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
714 349284: f7ff ff27 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
715 349288: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
716 34928a: 8840 ldrh r0, [r0, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
717 34928c: f7ff ff6d bl 0x34916a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
718 349290: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
719 349292: 80c8 strh r0, [r1, #6]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
720 349294: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
721 349296: f7ff ff1e bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
722 34929a: 48c8 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
723 34929c: f0b0 fb1e bl 0x3f98dc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
724 3492a0: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
725 3492a2: 88c0 ldrh r0, [r0, #6]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
726 3492a4: b002 add sp, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
727 3492a6: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
728
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
729 $ABB_free_13M:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
730 3492a8: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
731 3492aa: b081 sub sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
732 3492ac: 49d7 ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
733 3492ae: 2011 mov r0, #17 ; 0x11
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
734 3492b0: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
735 3492b2: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
736 3492b4: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
737 3492b6: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
738 3492b8: 4873 ldr r0, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
739 3492ba: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
740 3492bc: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
741 3492be: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
742 3492c0: f7ff ff09 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
743 3492c4: 200a mov r0, #10 ; 0xa
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
744 3492c6: 2108 mov r1, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
745 3492c8: f7ff ff29 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
746 3492cc: f7ff ff97 bl 0x3491fe
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
747 3492d0: 200a mov r0, #10 ; 0xa
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
748 3492d2: 2108 mov r1, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
749 3492d4: f7ff ff23 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
750 3492d8: f7ff ff91 bl 0x3491fe
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
751 3492dc: b001 add sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
752 3492de: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
753
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
754 $ABB_stop_13M:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
755 3492e0: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
756 3492e2: b081 sub sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
757 3492e4: 49c9 ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
758 3492e6: 2011 mov r0, #17 ; 0x11
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
759 3492e8: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
760 3492ea: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
761 3492ec: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
762 3492ee: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
763 3492f0: 4865 ldr r0, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
764 3492f2: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
765 3492f4: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
766 3492f6: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
767 3492f8: f7ff feed bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
768 3492fc: 200a mov r0, #10 ; 0xa
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
769 3492fe: 2104 mov r1, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
770 349300: f7ff ff0d bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
771 349304: f7ff ff7b bl 0x3491fe
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
772 349308: b001 add sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
773 34930a: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
774
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
775 $ABB_Read_Status:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
776 34930c: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
777 34930e: b081 sub sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
778 349310: 48aa ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
779 349312: 2100 mov r1, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
780 349314: 43c9 mvn r1, r1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
781 349316: f0b0 fae9 bl 0x3f98ec ; $SMCE_Obtain_Semaphore
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
782 34931a: 49bc ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
783 34931c: 2011 mov r0, #17 ; 0x11
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
784 34931e: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
785 349320: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
786 349322: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
787 349324: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
788 349326: 4858 ldr r0, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
789 349328: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
790 34932a: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
791 34932c: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
792 34932e: f7ff fed2 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
793 349332: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
794 349334: f7ff fecf bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
795 349338: 203e mov r0, #62 ; 0x3e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
796 34933a: f7ff ff16 bl 0x34916a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
797 34933e: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
798 349340: 8048 strh r0, [r1, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
799 349342: 489e ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
800 349344: f0b0 faca bl 0x3f98dc ; $SMCE_Release_Semaphore
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
801 349348: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
802 34934a: 8840 ldrh r0, [r0, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
803 34934c: b001 add sp, #4
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
804 34934e: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
805
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
806 $ABB_on:
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
807 349350: b500 push {lr}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
808 349352: b083 sub sp, #12 ; 0xc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
809 349354: 466a mov r2, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
810 349356: 7091 strb r1, [r2, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
811 349358: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
812 34935a: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
813 34935c: 4897 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
814 34935e: 2100 mov r1, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
815 349360: 43c9 mvn r1, r1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
816 349362: f0b0 fac3 bl 0x3f98ec
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
817 349366: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
818 349368: 7880 ldrb r0, [r0, #2]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
819 34936a: 2800 cmp r0, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
820 34936c: d003 beq 0x349376
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
821 34936e: f7ff ff9b bl 0x3492a8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
822 349372: f7ff ff99 bl 0x3492a8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
823 349376: 49a5 ldr r1, =0xfffe3000 ; via 0x34960c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
824 349378: 2031 mov r0, #49 ; 0x31
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
825 34937a: 880a ldrh r2, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
826 34937c: 4310 orr r0, r2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
827 34937e: 8008 strh r0, [r1, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
828 349380: 4669 mov r1, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
829 349382: 4841 ldr r0, =0xfffe3006 ; via 0x349488
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
830 349384: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
831 349386: 8088 strh r0, [r1, #4]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
832 349388: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
833 34938a: f7ff fea4 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
834 34938e: 2008 mov r0, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
835 349390: 21ff mov r1, #255 ; 0xff
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
836 349392: 3156 add r1, #86 ; 0x56
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
837 349394: f7ff fec3 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
838 349398: 2002 mov r0, #2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
839 34939a: f7ff fe9c bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
840 34939e: 202a mov r0, #42 ; 0x2a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
841 3493a0: 2101 mov r1, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
842 3493a2: f7ff febc bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
843 3493a6: 2026 mov r0, #38 ; 0x26
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
844 3493a8: 2101 mov r1, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
845 3493aa: f7ff feb8 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
846 3493ae: 2028 mov r0, #40 ; 0x28
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
847 3493b0: 211b mov r1, #27 ; 0x1b
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
848 3493b2: f7ff feb4 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
849 3493b6: 2010 mov r0, #16 ; 0x10
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
850 3493b8: f7ff fe8d bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
851 3493bc: 203c mov r0, #60 ; 0x3c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
852 3493be: 2107 mov r1, #7
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
853 3493c0: f7ff fead bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
854 3493c4: 2002 mov r0, #2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
855 3493c6: f7ff fe86 bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
856 3493ca: 2028 mov r0, #40 ; 0x28
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
857 3493cc: 2101 mov r1, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
858 3493ce: f7ff fea6 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
859 3493d2: 2026 mov r0, #38 ; 0x26
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
860 3493d4: 2100 mov r1, #0
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
861 3493d6: f7ff fea2 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
862 3493da: 201a mov r0, #26 ; 0x1a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
863 3493dc: 2160 mov r1, #96 ; 0x60
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
864 3493de: f7ff fe9e bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
865 3493e2: 2026 mov r0, #38 ; 0x26
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
866 3493e4: 2101 mov r1, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
867 3493e6: f7ff fe9a bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
868 3493ea: 2028 mov r0, #40 ; 0x28
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
869 3493ec: 211a mov r1, #26 ; 0x1a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
870 3493ee: f7ff fe96 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
871 3493f2: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
872 3493f4: f7ff fe6f bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
873 3493f8: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
874 3493fa: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
875 3493fc: 0980 lsr r0, r0, #6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
876 3493fe: 0400 lsl r0, r0, #16
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
877 349400: 0c01 lsr r1, r0, #16
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
878 349402: 2008 mov r0, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
879 349404: f7ff fe8b bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
880 349408: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
881 34940a: 8800 ldrh r0, [r0, #0]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
882 34940c: 0c00 lsr r0, r0, #16
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
883 34940e: d303 bcc 0x349418
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
884 349410: 2038 mov r0, #56 ; 0x38
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
885 349412: 2101 mov r1, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
886 349414: f7ff fe83 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
887 349418: 2002 mov r0, #2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
888 34941a: f7ff fe5c bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
889 34941e: 203c mov r0, #60 ; 0x3c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
890 349420: f7ff fea3 bl 0x34916a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
891 349424: 05c0 lsl r0, r0, #23
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
892 349426: 0f00 lsr r0, r0, #28
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
893 349428: 0140 lsl r0, r0, #5
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
894 34942a: 9002 str r0, [sp, #8]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
895 34942c: 201f mov r0, #31 ; 0x1f
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
896 34942e: 9902 ldr r1, [sp, #8]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
897 349430: 4308 orr r0, r1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
898 349432: 0400 lsl r0, r0, #16
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
899 349434: 0c01 lsr r1, r0, #16
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
900 349436: 203c mov r0, #60 ; 0x3c
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
901 349438: f7ff fe71 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
902 34943c: 203e mov r0, #62 ; 0x3e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
903 34943e: f7ff fe94 bl 0x34916a
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
904 349442: 05c0 lsl r0, r0, #23
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
905 349444: 0f00 lsr r0, r0, #28
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
906 349446: 0140 lsl r0, r0, #5
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
907 349448: 9002 str r0, [sp, #8]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
908 34944a: 4668 mov r0, sp
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
909 34944c: 8901 ldrh r1, [r0, #8]
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
910 34944e: 203e mov r0, #62 ; 0x3e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
911 349450: f7ff fe65 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
912 349454: 2001 mov r0, #1
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
913 349456: f7ff fe3e bl 0x3490d6
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
914 34945a: 2008 mov r0, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
915 34945c: 210a mov r1, #10 ; 0xa
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
916 34945e: f7ff fe5e bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
917 349462: 48e5 ldr r0, =0xf4240 ; via 0x3497f8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
918 349464: f099 fd3b bl 0x3e2ede
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
919 349468: f099 fdb3 bl 0x3e2fd2
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
920 34946c: 2008 mov r0, #8
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
921 34946e: 2105 mov r1, #5
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
922 349470: f7ff fe55 bl 0x34911e
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
923 349474: 4851 ldr r0, =0x17741e0 ; via 0x3495bc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
924 349476: f0b0 fa31 bl 0x3f98dc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
925 34947a: b003 add sp, #12 ; 0xc
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
926 34947c: bd00 pop {pc}
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
927 34947e: 46c0 nop (mov r8, r8)
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
928
244
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
929 349480: fffe300c
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
930 349484: fffe300e
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
931 349488: fffe3006
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
932 34948c: fffe3004
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
933 349490: fffe300a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
934 349494: 0000021b
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
935
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
936 $ABB_Read_ADC:
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
937 349498: b500 push {lr}
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
938 34949a: b082 sub sp, #8
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
939 34949c: 9000 str r0, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
940 34949e: 4847 ldr r0, =0x17741e0 ; via 0x3495bc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
941 3494a0: 2100 mov r1, #0
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
942 3494a2: 43c9 mvn r1, r1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
943 3494a4: f0b0 fa22 bl 0x3f98ec
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
944 3494a8: 4958 ldr r1, =0xfffe3000 ; via 0x34960c
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
945 3494aa: 2031 mov r0, #49 ; 0x31
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
946 3494ac: 880a ldrh r2, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
947 3494ae: 4310 orr r0, r2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
948 3494b0: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
949 3494b2: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
950 3494b4: 48ef ldr r0, =0xfffe3006 ; via 0x349874
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
951 3494b6: 8800 ldrh r0, [r0, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
952 3494b8: 8088 strh r0, [r1, #4]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
953 3494ba: 2001 mov r0, #1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
954 3494bc: f7ff fe0b bl 0x3490d6
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
955 3494c0: 201e mov r0, #30 ; 0x1e
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
956 3494c2: f7ff fe52 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
957 3494c6: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
958 3494c8: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
959 3494ca: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
960 3494cc: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
961 3494ce: 2020 mov r0, #32 ; 0x20
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
962 3494d0: f7ff fe4b bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
963 3494d4: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
964 3494d6: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
965 3494d8: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
966 3494da: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
967 3494dc: 2022 mov r0, #34 ; 0x22
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
968 3494de: f7ff fe44 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
969 3494e2: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
970 3494e4: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
971 3494e6: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
972 3494e8: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
973 3494ea: 2024 mov r0, #36 ; 0x24
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
974 3494ec: f7ff fe3d bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
975 3494f0: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
976 3494f2: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
977 3494f4: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
978 3494f6: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
979 3494f8: 2026 mov r0, #38 ; 0x26
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
980 3494fa: f7ff fe36 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
981 3494fe: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
982 349500: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
983 349502: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
984 349504: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
985 349506: 2028 mov r0, #40 ; 0x28
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
986 349508: f7ff fe2f bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
987 34950c: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
988 34950e: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
989 349510: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
990 349512: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
991 349514: 202a mov r0, #42 ; 0x2a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
992 349516: f7ff fe28 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
993 34951a: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
994 34951c: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
995 34951e: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
996 349520: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
997 349522: 202c mov r0, #44 ; 0x2c
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
998 349524: f7ff fe21 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
999 349528: 9900 ldr r1, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1000 34952a: 1c8a add r2, r1, #2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1001 34952c: 9200 str r2, [sp, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1002 34952e: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1003 349530: 4822 ldr r0, =0x17741e0 ; via 0x3495bc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1004 349532: f0b0 f9d3 bl 0x3f98dc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1005 349536: b002 add sp, #8
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1006 349538: bd00 pop {pc}
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1007
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1008 $ABB_Conf_ADC:
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1009 34953a: b500 push {lr}
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1010 34953c: b082 sub sp, #8
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1011 34953e: 466a mov r2, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1012 349540: 8051 strh r1, [r2, #2]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1013 349542: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1014 349544: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1015 349546: 481d ldr r0, =0x17741e0 ; via 0x3495bc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1016 349548: 2100 mov r1, #0
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1017 34954a: 43c9 mvn r1, r1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1018 34954c: f0b0 f9ce bl 0x3f98ec
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1019 349550: 492e ldr r1, =0xfffe3000 ; via 0x34960c
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1020 349552: 2031 mov r0, #49 ; 0x31
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1021 349554: 880a ldrh r2, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1022 349556: 4310 orr r0, r2
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1023 349558: 8008 strh r0, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1024 34955a: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1025 34955c: 48c5 ldr r0, =0xfffe3006 ; via 0x349874
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1026 34955e: 8800 ldrh r0, [r0, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1027 349560: 8088 strh r0, [r1, #4]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1028 349562: 2001 mov r0, #1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1029 349564: f7ff fdb7 bl 0x3490d6
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1030 349568: 201a mov r0, #26 ; 0x1a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1031 34956a: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1032 34956c: 8809 ldrh r1, [r1, #0]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1033 34956e: f7ff fdd6 bl 0x34911e
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1034 349572: 2034 mov r0, #52 ; 0x34
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1035 349574: f7ff fdf9 bl 0x34916a
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1036 349578: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1037 34957a: 80c8 strh r0, [r1, #6]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1038 34957c: 4668 mov r0, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1039 34957e: 8840 ldrh r0, [r0, #2]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1040 349580: 49cb ldr r1, =0x3df ; via 0x3498b0
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1041 349582: 4288 cmp r0, r1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1042 349584: d104 bne 0x349590
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1043 349586: 48ca ldr r0, =0x3df ; via 0x3498b0
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1044 349588: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1045 34958a: 88c9 ldrh r1, [r1, #6]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1046 34958c: 4008 and r0, r1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1047 34958e: e007 b 0x3495a0
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1048 349590: 4668 mov r0, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1049 349592: 8840 ldrh r0, [r0, #2]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1050 349594: 2820 cmp r0, #32 ; 0x20
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1051 349596: d108 bne 0x3495aa
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1052 349598: 2020 mov r0, #32 ; 0x20
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1053 34959a: 4669 mov r1, sp
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1054 34959c: 88c9 ldrh r1, [r1, #6]
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1055 34959e: 4308 orr r0, r1
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1056 3495a0: 0400 lsl r0, r0, #16
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1057 3495a2: 0c01 lsr r1, r0, #16
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1058 3495a4: 2034 mov r0, #52 ; 0x34
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1059 3495a6: f7ff fdba bl 0x34911e
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1060 3495aa: 4804 ldr r0, =0x17741e0 ; via 0x3495bc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1061 3495ac: f0b0 f996 bl 0x3f98dc
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1062 3495b0: b002 add sp, #8
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1063 3495b2: bd00 pop {pc}
f40f069b0d06 pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 243
diff changeset
1064
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1065 $Init_Target:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1066 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
1067 3bb7d6: b081 sub sp, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1068 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
1069 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
1070 3bb7dc: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1071 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
1072 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
1073 3bb7e4: 2105 mov r1, #5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1074 3bb7e6: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1075 3bb7e8: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1076 3bb7ea: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1077 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
1078 3bb7ee: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1079 3bb7f0: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1080 3bb7f2: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1081 3bb7f4: 2180 mov r1, #128 ; 0x80
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1082 3bb7f6: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1083 3bb7f8: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1084 3bb7fa: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1085 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
1086 3bb7fe: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1087 3bb800: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1088 3bb802: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1089 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
1090 3bb806: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1091 3bb808: 0200 lsl r0, r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1092 3bb80a: 8030 strh r0, [r6, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1093 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
1094 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
1095 3bb810: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1096 3bb812: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1097 3bb814: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1098 3bb816: 8828 ldrh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1099 3bb818: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1100 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
1101 3bb81c: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1102 3bb81e: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1103 3bb820: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1104 3bb822: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1105 3bb824: 0280 lsl r0, r0, #10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1106 3bb826: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1107 3bb828: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1108 3bb82a: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1109 3bb82c: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1110 3bb82e: 2102 mov r1, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1111 3bb830: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1112 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
1113 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
1114 3bb838: 20a4 mov r0, #164 ; 0xa4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1115 3bb83a: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1116 3bb83c: 8048 strh r0, [r1, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1117 3bb83e: 22a5 mov r2, #165 ; 0xa5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1118 3bb840: 808a strh r2, [r1, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1119 3bb842: 80c8 strh r0, [r1, #6]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1120 3bb844: 20a7 mov r0, #167 ; 0xa7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1121 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
1122 3bb848: 20c0 mov r0, #192 ; 0xc0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1123 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
1124 3bb84c: 2040 mov r0, #64 ; 0x40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1125 3bb84e: 8108 strh r0, [r1, #8]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1126 3bb850: 2020 mov r0, #32 ; 0x20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1127 3bb852: 8070 strh r0, [r6, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1128 3bb854: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1129 3bb856: 80b0 strh r0, [r6, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1130 3bb858: 2010 mov r0, #16 ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1131 3bb85a: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1132 3bb85c: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1133 3bb85e: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1134 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
1135 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
1136 3bb864: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1137 3bb866: 8041 strh r1, [r0, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1138 3bb868: 2103 mov r1, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1139 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
1140 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
1141 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
1142 3bb872: 2124 mov r1, #36 ; 0x24
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1143 3bb874: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1144 3bb876: 210d mov r1, #13 ; 0xd
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1145 3bb878: 8041 strh r1, [r0, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1146 3bb87a: 2500 mov r5, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1147 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
1148 3bb87e: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1149 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
1150 3bb882: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1151 3bb884: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1152 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
1153 3bb888: 2084 mov r0, #132 ; 0x84
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1154 3bb88a: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1155 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
1156 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
1157 3bb890: 8008 strh r0, [r1, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1158 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
1159 3bb894: 200a mov r0, #10 ; 0xa
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1160 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
1161 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
1162 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
1163 3bb89c: 8002 strh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1164 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
1165 3bb8a0: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1166 3bb8a2: 304b add r0, #75 ; 0x4b
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1167 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
1168 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
1169 3bb8a8: 221f mov r2, #31 ; 0x1f
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1170 3bb8aa: 8002 strh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1171 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
1172 3bb8ae: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1173 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
1174 3bb8b2: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1175 3bb8b4: 8813 ldrh r3, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1176 3bb8b6: 4318 orr r0, r3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1177 3bb8b8: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1178 3bb8ba: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1179 3bb8bc: 8813 ldrh r3, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1180 3bb8be: 4318 orr r0, r3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1181 3bb8c0: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1182 3bb8c2: 2027 mov r0, #39 ; 0x27
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1183 3bb8c4: 80a0 strh r0, [r4, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1184 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
1185 3bb8c8: 0840 lsr r0, r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1186 3bb8ca: d30f bcc 0x3bb8ec
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1187 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
1188 3bb8ce: 0400 lsl r0, r0, #16
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1189 3bb8d0: 0c40 lsr r0, r0, #17
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1190 3bb8d2: 0040 lsl r0, r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1191 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
1192 3bb8d6: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1193 3bb8d8: e001 b 0x3bb8de
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1194 3bb8da: 9800 ldr r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1195 3bb8dc: 3001 add r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1196 3bb8de: 9000 str r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1197 3bb8e0: 9800 ldr r0, [sp, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1198 3bb8e2: 2832 cmp r0, #50 ; 0x32
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1199 3bb8e4: d3f9 bcc 0x3bb8da
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1200 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
1201 3bb8e8: 2800 cmp r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1202 3bb8ea: d0fc beq 0x3bb8e6
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1203 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
1204 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
1205 3bb8f4: 2027 mov r0, #39 ; 0x27
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1206 3bb8f6: 0500 lsl r0, r0, #20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1207 3bb8f8: 8005 strh r5, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1208 3bb8fa: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1209 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
1210 3bb900: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1211 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
1212 3bb906: b001 add sp, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1213 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
1214
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1215 ; 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
1216 ; 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
1217 ; 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
1218 ; normally-following Init_Drivers().
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1219
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1220 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
1221 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
1222 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
1223 3bb910: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1224 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
1225 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
1226 3bb918: 2105 mov r1, #5
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1227 3bb91a: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1228 3bb91c: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1229 3bb91e: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1230 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
1231 3bb922: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1232 3bb924: 4011 and r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1233 3bb926: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1234 3bb928: 2180 mov r1, #128 ; 0x80
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1235 3bb92a: 8802 ldrh r2, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1236 3bb92c: 4311 orr r1, r2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1237 3bb92e: 8001 strh r1, [r0, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1238 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
1239 3bb932: 20ff mov r0, #255 ; 0xff
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1240 3bb934: 0200 lsl r0, r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1241 3bb936: 8030 strh r0, [r6, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1242 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
1243 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
1244 3bb93c: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1245 3bb93e: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1246 3bb940: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1247 3bb942: 8820 ldrh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1248 3bb944: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1249 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
1250 3bb948: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1251 3bb94a: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1252 3bb94c: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1253 3bb94e: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1254 3bb950: 0280 lsl r0, r0, #10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1255 3bb952: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1256 3bb954: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1257 3bb956: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1258 3bb958: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1259 3bb95a: 2102 mov r1, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1260 3bb95c: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1261 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
1262 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
1263 3bb964: 20a4 mov r0, #164 ; 0xa4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1264 3bb966: 8010 strh r0, [r2, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1265 3bb968: 8050 strh r0, [r2, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1266 3bb96a: 2185 mov r1, #133 ; 0x85
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1267 3bb96c: 8091 strh r1, [r2, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1268 3bb96e: 80d0 strh r0, [r2, #6]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1269 3bb970: 20a7 mov r0, #167 ; 0xa7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1270 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
1271 3bb974: 20c0 mov r0, #192 ; 0xc0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1272 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
1273 3bb978: 2040 mov r0, #64 ; 0x40
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1274 3bb97a: 8110 strh r0, [r2, #8]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1275 3bb97c: 2020 mov r0, #32 ; 0x20
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1276 3bb97e: 8070 strh r0, [r6, #2]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1277 3bb980: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1278 3bb982: 80b0 strh r0, [r6, #4]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1279 3bb984: 2010 mov r0, #16 ; 0x10
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1280 3bb986: 8821 ldrh r1, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1281 3bb988: 4308 orr r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1282 3bb98a: 8020 strh r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1283 3bb98c: f027 fb76 bl 0x3e307c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1284 3bb990: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1285 3bb992: f027 fb50 bl 0x3e3036
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1286 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
1287 3bb998: 8829 ldrh r1, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1288 3bb99a: 4008 and r0, r1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1289 3bb99c: 8028 strh r0, [r5, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1290 3bb99e: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1291 3bb9a0: f027 fb50 bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1292 3bb9a4: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1293 3bb9a6: f027 fb46 bl 0x3e3036
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1294 3bb9aa: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1295 3bb9ac: f027 fb2e bl 0x3e300c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1296 3bb9b0: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1297 3bb9b2: f027 fb47 bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1298 3bb9b6: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1299 3bb9b8: f027 fb36 bl 0x3e3028
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1300 3bb9bc: 2003 mov r0, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1301 3bb9be: f027 fb25 bl 0x3e300c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1302 3bb9c2: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1303 3bb9c4: f027 fb3e bl 0x3e3044
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1304 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
1305
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1306 $Init_Drivers:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1307 3bb9ca: b500 push {lr}
243
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
1308 3bb9cc: f78d fc0f bl 0x3491ee ; $ABB_Sem_Create
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1309 3bb9d0: f5a6 fa25 bl 0x161e1e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1310 3bb9d4: f7ad fda3 bl 0x36951e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1311 3bb9d8: f039 fb95 bl 0x3f5106
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1312 3bb9dc: f6f5 f927 bl 0x2b0c2e
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1313 3bb9e0: f720 fb16 bl 0x2dc010
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1314 3bb9e4: f7bc fa46 bl 0x377e74
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1315 3bb9e8: f6ca fcfa bl 0x2863e0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1316 3bb9ec: f001 fd3b bl 0x3bd466
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1317 3bb9f0: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1318
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1319 $Init_Serial_Flows:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1320 3bb9f2: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1321 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
1322 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
1323 3bb9fa: 2000 mov r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1324 3bb9fc: 2103 mov r1, #3
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1325 3bb9fe: 2200 mov r2, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1326 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
1327 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
1328 3bba08: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1329
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1330 $Init_Unmask_IT:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1331 3bba0a: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1332 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
1333 3bba10: 2004 mov r0, #4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1334 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
1335 3bba16: 2012 mov r0, #18 ; 0x12
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1336 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
1337 3bba1c: 2007 mov r0, #7
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1338 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
1339 3bba22: 2008 mov r0, #8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1340 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
1341 3bba28: 200f mov r0, #15 ; 0xf
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1342 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
1343 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
1344 3bba32: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1345
239
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1346 $spi_get_info:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1347 ; perfect match to TCS211 version
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1348 3cd72c: b500 push {lr}
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1349 3cd72e: b081 sub sp, #4
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1350 3cd730: 9000 str r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1351 3cd732: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1352 3cd734: 2003 mov r0, #3
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1353 3cd736: 6008 str r0, [r1, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1354 3cd738: 9800 ldr r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1355 3cd73a: 497e ldr r1, =0xa0010 ; via 0x3cd934
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1356 3cd73c: 6101 str r1, [r0, #16] ; 0x10
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1357 3cd73e: 9800 ldr r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1358 3cd740: 3004 add r0, #4
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1359 3cd742: a153 add r1, pc, #332 ; 0x14c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1360 3cd744: 2204 mov r2, #4
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1361 3cd746: f029 fd79 bl 0x3f723c ; memcpy()
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1362 3cd74a: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1363 3cd74c: 207d mov r0, #125 ; 0x7d
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1364 3cd74e: 00c0 lsl r0, r0, #3
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1365 3cd750: 8288 strh r0, [r1, #20] ; 0x14
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1366 3cd752: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1367 3cd754: 2027 mov r0, #39 ; 0x27
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1368 3cd756: 7588 strb r0, [r1, #22] ; 0x16
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1369 3cd758: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1370 3cd75a: 2001 mov r0, #1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1371 3cd75c: 7708 strb r0, [r1, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1372 3cd75e: 9800 ldr r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1373 3cd760: 3020 add r0, #32 ; 0x20
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1374 3cd762: a14c add r1, pc, #304 ; 0x130
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1375 3cd764: 2209 mov r2, #9
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1376 3cd766: f029 fd69 bl 0x3f723c ; memcpy()
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1377 3cd76a: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1378 3cd76c: 20ff mov r0, #255 ; 0xff
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1379 3cd76e: 3001 add r0, #1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1380 3cd770: 62c8 str r0, [r1, #44] ; 0x2c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1381 3cd772: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1382 3cd774: 20c8 mov r0, #200 ; 0xc8
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1383 3cd776: 6308 str r0, [r1, #48] ; 0x30
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1384 3cd778: 205c mov r0, #92 ; 0x5c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1385 3cd77a: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1386 3cd77c: 2200 mov r2, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1387 3cd77e: 5442 strb r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1388 ; spi_set_info
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1389 3cd780: 2090 mov r0, #144 ; 0x90
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1390 3cd782: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1391 3cd784: 4a6c ldr r2, =0x3cd7bd ; via 0x3cd938
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1392 3cd786: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1393 ; spi_init
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1394 3cd788: 2094 mov r0, #148 ; 0x94
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1395 3cd78a: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1396 3cd78c: 4a6b ldr r2, =0x3cd883 ; via 0x3cd93c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1397 3cd78e: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1398 ; spi_core
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1399 3cd790: 2098 mov r0, #152 ; 0x98
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1400 3cd792: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1401 3cd794: 4a6a ldr r2, =0x3e8ca1 ; via 0x3cd940
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1402 3cd796: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1403 ; spi_stop
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1404 3cd798: 209c mov r0, #156 ; 0x9c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1405 3cd79a: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1406 3cd79c: 4a69 ldr r2, =0x3cd887 ; via 0x3cd944
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1407 3cd79e: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1408 ; spi_kill
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1409 3cd7a0: 20a0 mov r0, #160 ; 0xa0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1410 3cd7a2: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1411 3cd7a4: 4a68 ldr r2, =0x3cd88b ; via 0x3cd948
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1412 3cd7a6: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1413 3cd7a8: 208c mov r0, #140 ; 0x8c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1414 3cd7aa: 9900 ldr r1, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1415 3cd7ac: 2200 mov r2, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1416 3cd7ae: 5042 str r2, [r0, r1]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1417 3cd7b0: 2188 mov r1, #136 ; 0x88
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1418 3cd7b2: 9a00 ldr r2, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1419 3cd7b4: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1420 3cd7b6: 5488 strb r0, [r1, r2]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1421 3cd7b8: b001 add sp, #4
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1422 3cd7ba: bd00 pop {pc}
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1423
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1424 T_SPI_GBL_INFO structure:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1425
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1426 0x00: prim_id like in TCS211
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1427 0x02: addr_id (ditto)
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1428 0x04: adc_result[8] array (ditto)
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1429 0x14: Foxconn/Pirelli's unknown insertions
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1430 0x32: assumed is_gsm_on
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1431 0x33: assumed is_adc_on
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1432 0x34: assumed SpiTaskReady
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1433
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1434 $spi_set_info:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1435 3cd7bc: b500 push {lr}
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1436 3cd7be: b088 sub sp, #32 ; 0x20
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1437 3cd7c0: 9305 str r3, [sp, #20] ; 0x14
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1438 3cd7c2: 9204 str r2, [sp, #16] ; 0x10
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1439 3cd7c4: 9103 str r1, [sp, #12] ; 0xc
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1440 3cd7c6: 4669 mov r1, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1441 3cd7c8: 7208 strb r0, [r1, #8]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1442 3cd7ca: 485a ldr r0, =0xa0010 ; via 0x3cd934
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1443 3cd7cc: 9000 str r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1444 3cd7ce: a034 add r0, pc, #208 ; 0xd0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1445 3cd7d0: 213e mov r1, #62 ; 0x3e
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1446 3cd7d2: 2200 mov r2, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1447 3cd7d4: 43d2 mvn r2, r2
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1448 3cd7d6: 2305 mov r3, #5
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1449 3cd7d8: f00d fa2c bl 0x3dac34 ; rvf_send_trace()
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1450 3cd7dc: 9804 ldr r0, [sp, #16] ; 0x10
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1451 3cd7de: 8800 ldrh r0, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1452 ; struct allocation size differs from TCS211
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1453 3cd7e0: 2138 mov r1, #56 ; 0x38
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1454 3cd7e2: 4a5a ldr r2, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1455 3cd7e4: f5f7 f8f0 bl 0x1c49c8 ; rvf_get_buf()
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1456 3cd7e8: 9006 str r0, [sp, #24] ; 0x18
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1457 3cd7ea: 9806 ldr r0, [sp, #24] ; 0x18
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1458 3cd7ec: 2802 cmp r0, #2
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1459 3cd7ee: d10b bne 0x3cd808
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1460 3cd7f0: 4850 ldr r0, =0xa0010 ; via 0x3cd934
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1461 3cd7f2: 9000 str r0, [sp, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1462 3cd7f4: a03a add r0, pc, #232 ; 0xe8
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1463 3cd7f6: 2150 mov r1, #80 ; 0x50
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1464 3cd7f8: 2200 mov r2, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1465 3cd7fa: 43d2 mvn r2, r2
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1466 3cd7fc: 2301 mov r3, #1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1467 3cd7fe: f00d fa19 bl 0x3dac34 ; rvf_send_trace()
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1468 3cd802: 2004 mov r0, #4
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1469 3cd804: 43c0 mvn r0, r0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1470 3cd806: e03a b 0x3cd87e
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1471 3cd808: 4951 ldr r1, =0x1774e3c ; via 0x3cd950
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1472 3cd80a: 9805 ldr r0, [sp, #20] ; 0x14
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1473 3cd80c: 6008 str r0, [r1, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1474 3cd80e: 484f ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1475 3cd810: 6801 ldr r1, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1476 3cd812: 9804 ldr r0, [sp, #16] ; 0x10
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1477 3cd814: 8800 ldrh r0, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1478 3cd816: 8008 strh r0, [r1, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1479 3cd818: 484c ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1480 3cd81a: 6801 ldr r1, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1481 3cd81c: 4668 mov r0, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1482 3cd81e: 7a00 ldrb r0, [r0, #8]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1483 3cd820: 7088 strb r0, [r1, #2]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1484 3cd822: 4669 mov r1, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1485 3cd824: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1486 3cd826: 8388 strh r0, [r1, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1487 3cd828: 4668 mov r0, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1488 3cd82a: 8b80 ldrh r0, [r0, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1489 3cd82c: 2808 cmp r0, #8
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1490 3cd82e: da10 bge 0x3cd852
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1491 3cd830: 4668 mov r0, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1492 3cd832: 8b80 ldrh r0, [r0, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1493 3cd834: 0040 lsl r0, r0, #1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1494 3cd836: 4945 ldr r1, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1495 3cd838: 6809 ldr r1, [r1, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1496 3cd83a: 1840 add r0, r0, r1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1497 3cd83c: 2100 mov r1, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1498 3cd83e: 8081 strh r1, [r0, #4]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1499 3cd840: 4669 mov r1, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1500 3cd842: 4668 mov r0, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1501 3cd844: 8b80 ldrh r0, [r0, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1502 3cd846: 3001 add r0, #1
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1503 3cd848: 8388 strh r0, [r1, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1504 3cd84a: 4668 mov r0, sp
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1505 3cd84c: 8b80 ldrh r0, [r0, #28] ; 0x1c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1506 3cd84e: 2808 cmp r0, #8
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1507 3cd850: dbee blt 0x3cd830
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1508 ; the following 3 half-word writes do not correspond to TI's original version
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1509 ; they must be Pirelli/Foxconn's additions
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1510 3cd852: 483e ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1511 3cd854: 6800 ldr r0, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1512 3cd856: 2100 mov r1, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1513 3cd858: 85c1 strh r1, [r0, #46] ; 0x2e
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1514 3cd85a: 483c ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1515 3cd85c: 6801 ldr r1, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1516 3cd85e: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1517 3cd860: 8608 strh r0, [r1, #48] ; 0x30
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1518 3cd862: 483a ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1519 3cd864: 6801 ldr r1, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1520 3cd866: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1521 3cd868: 8588 strh r0, [r1, #44] ; 0x2c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1522 ; the following two byte writes probably correspond to the clearing
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1523 ; of is_gsm_on and SpiTaskReady members in TI's original version
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1524 3cd86a: 2232 mov r2, #50 ; 0x32
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1525 3cd86c: 4837 ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1526 3cd86e: 6800 ldr r0, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1527 3cd870: 2100 mov r1, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1528 3cd872: 5411 strb r1, [r2, r0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1529 3cd874: 2134 mov r1, #52 ; 0x34
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1530 3cd876: 4835 ldr r0, =0x1774e38 ; via 0x3cd94c
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1531 3cd878: 6802 ldr r2, [r0, #0]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1532 3cd87a: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1533 3cd87c: 5488 strb r0, [r1, r2]
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1534 3cd87e: b008 add sp, #32 ; 0x20
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1535 3cd880: bd00 pop {pc}
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1536
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1537 $spi_init:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1538 3cd882: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1539 3cd884: 4770 bx lr
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1540
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1541 $spi_stop:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1542 3cd886: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1543 3cd888: 4770 bx lr
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1544
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1545 $spi_kill:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1546 3cd88a: 2000 mov r0, #0
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1547 3cd88c: 4770 bx lr
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1548 3cd88e: 46c0 nop (mov r8, r8)
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
1549
242
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1550 $pwr_get_info:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1551 ; perfect match to TI's original
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1552 3cd954: b530 push {r4, r5, lr}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1553 3cd956: 1c04 add r4, r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1554 3cd958: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1555 3cd95a: 6020 str r0, [r4, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1556 3cd95c: 487a ldr r0, =0xa0020 ; via 0x3cdb48
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1557 3cd95e: 6120 str r0, [r4, #16] ; 0x10
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1558 3cd960: 2004 mov r0, #4
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1559 3cd962: 1900 add r0, r0, r4
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1560 3cd964: a14f add r1, pc, #316 ; 0x13c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1561 3cd966: 2204 mov r2, #4
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1562 3cd968: f029 fc68 bl 0x3f723c ; memcpy()
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1563 3cd96c: 2188 mov r1, #136 ; 0x88
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1564 3cd96e: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1565 3cd970: 5108 str r0, [r1, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1566 3cd972: 2084 mov r0, #132 ; 0x84
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1567 3cd974: 2100 mov r1, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1568 3cd976: 5501 strb r1, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1569 3cd978: 2501 mov r5, #1
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1570 3cd97a: 7625 strb r5, [r4, #24] ; 0x18
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1571 3cd97c: 201c mov r0, #28 ; 0x1c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1572 3cd97e: 1900 add r0, r0, r4
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1573 3cd980: a149 add r1, pc, #292 ; 0x124
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1574 3cd982: 2209 mov r2, #9
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1575 3cd984: f029 fc5a bl 0x3f723c ; memcpy()
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1576 3cd988: 207d mov r0, #125 ; 0x7d
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1577 3cd98a: 00c0 lsl r0, r0, #3
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1578 3cd98c: 62a0 str r0, [r4, #40] ; 0x28
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1579 3cd98e: 2019 mov r0, #25 ; 0x19
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1580 3cd990: 0140 lsl r0, r0, #5
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1581 3cd992: 62e0 str r0, [r4, #44] ; 0x2c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1582 3cd994: 2058 mov r0, #88 ; 0x58
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1583 3cd996: 5505 strb r5, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1584 3cd998: 486c ldr r0, =0xa0010 ; via 0x3cdb4c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1585 3cd99a: 65e0 str r0, [r4, #92] ; 0x5c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1586 3cd99c: 208c mov r0, #140 ; 0x8c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1587 3cd99e: 496c ldr r1, =0x3cd9bf ; via 0x3cdb50
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1588 3cd9a0: 5101 str r1, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1589 3cd9a2: 2090 mov r0, #144 ; 0x90
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1590 3cd9a4: 496b ldr r1, =0x3cda8b ; via 0x3cdb54
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1591 3cd9a6: 5101 str r1, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1592 3cd9a8: 2094 mov r0, #148 ; 0x94
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1593 3cd9aa: 496b ldr r1, =0x3cda8f ; via 0x3cdb58
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1594 3cd9ac: 5101 str r1, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1595 3cd9ae: 2098 mov r0, #152 ; 0x98
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1596 3cd9b0: 496a ldr r1, =0x3cda93 ; via 0x3cdb5c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1597 3cd9b2: 5101 str r1, [r0, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1598 3cd9b4: 219c mov r1, #156 ; 0x9c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1599 3cd9b6: 486a ldr r0, =0x3cda97 ; via 0x3cdb60
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1600 3cd9b8: 5108 str r0, [r1, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1601 3cd9ba: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1602 3cd9bc: bd30 pop {r4, r5, pc}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1603
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1604 $pwr_set_info:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1605 3cd9be: b570 push {r4, r5, r6, lr}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1606 3cd9c0: b082 sub sp, #8
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1607 3cd9c2: 1c1d add r5, r3, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1608 3cd9c4: 1c14 add r4, r2, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1609 3cd9c6: 4860 ldr r0, =0xa0020 ; via 0x3cdb48
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1610 3cd9c8: 9000 str r0, [sp, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1611 3cd9ca: a03a add r0, pc, #232 ; 0xe8
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1612 3cd9cc: 213c mov r1, #60 ; 0x3c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1613 3cd9ce: 2200 mov r2, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1614 3cd9d0: 43d2 mvn r2, r2
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1615 3cd9d2: 2303 mov r3, #3
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1616 3cd9d4: f00d f92e bl 0x3dac34
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1617 3cd9d8: 8820 ldrh r0, [r4, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1618 ; struct allocation size differs from original
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1619 3cd9da: 214c mov r1, #76 ; 0x4c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1620 3cd9dc: 4a61 ldr r2, =0x1774e70 ; via 0x3cdb64
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1621 3cd9de: f5f6 fff3 bl 0x1c49c8
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1622 3cd9e2: 2802 cmp r0, #2
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1623 3cd9e4: d10b bne 0x3cd9fe
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1624 3cd9e6: 4858 ldr r0, =0xa0020 ; via 0x3cdb48
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1625 3cd9e8: 9000 str r0, [sp, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1626 3cd9ea: a042 add r0, pc, #264 ; 0x108
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1627 3cd9ec: 2156 mov r1, #86 ; 0x56
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1628 3cd9ee: 2200 mov r2, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1629 3cd9f0: 43d2 mvn r2, r2
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1630 3cd9f2: 2301 mov r3, #1
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1631 3cd9f4: f00d f91e bl 0x3dac34
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1632 3cd9f8: 2004 mov r0, #4
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1633 3cd9fa: 43c0 mvn r0, r0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1634 3cd9fc: e043 b 0x3cda86
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1635 3cd9fe: 485a ldr r0, =0x1774e74 ; via 0x3cdb68
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1636 3cda00: 6005 str r5, [r0, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1637 3cda02: 4b58 ldr r3, =0x1774e70 ; via 0x3cdb64
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1638 3cda04: 6819 ldr r1, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1639 3cda06: 4859 ldr r0, =0x1774e38 ; via 0x3cdb6c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1640 3cda08: 6800 ldr r0, [r0, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1641 3cda0a: 7880 ldrb r0, [r0, #2]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1642 3cda0c: 7088 strb r0, [r1, #2]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1643 3cda0e: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1644 3cda10: 8821 ldrh r1, [r4, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1645 3cda12: 8001 strh r1, [r0, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1646 3cda14: 2200 mov r2, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1647 3cda16: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1648 3cda18: 6042 str r2, [r0, #4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1649 3cda1a: 6819 ldr r1, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1650 ; end of charge current
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1651 3cda1c: 207a mov r0, #122 ; 0x7a
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1652 3cda1e: 8148 strh r0, [r1, #10] ; 0xa
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1653 ; pwr_env_ctrl_blk->max_voltage_code is set to:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1654 ; (0x426800 - adccal_b*1024) / adccal_a
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1655 ; 0x426800 >> 10 = 0x109A = 4250
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1656 3cda20: 4c53 ldr r4, =0x426800 ; via 0x3cdb70
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1657 3cda22: 4954 ldr r1, =0x801746 ; via 0x3cdb74
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1658 3cda24: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1659 3cda26: 5e08 ldrsh r0, [r1, r0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1660 3cda28: 0280 lsl r0, r0, #10
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1661 3cda2a: 1a20 sub r0, r4, r0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1662 3cda2c: 4952 ldr r1, =0x801734 ; via 0x3cdb78
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1663 3cda2e: 8809 ldrh r1, [r1, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1664 3cda30: f029 fbe4 bl 0x3f71fc ; U$DIV
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1665 ; MV100-matching logic continues
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1666 3cda34: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1667 3cda36: 8181 strh r1, [r0, #12] ; 0xc
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1668 3cda38: 0610 lsl r0, r2, #24
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1669 3cda3a: 0e01 lsr r1, r0, #24
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1670 3cda3c: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1671 3cda3e: 7401 strb r1, [r0, #16] ; 0x10
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1672 3cda40: 24ff mov r4, #255 ; 0xff
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1673 3cda42: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1674 3cda44: 7504 strb r4, [r0, #20] ; 0x14
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1675 3cda46: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1676 3cda48: 681d ldr r5, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1677 3cda4a: 61a8 str r0, [r5, #24] ; 0x18
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1678 3cda4c: 681e ldr r6, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1679 3cda4e: 2505 mov r5, #5
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1680 3cda50: 7735 strb r5, [r6, #28] ; 0x1c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1681 3cda52: 2620 mov r6, #32 ; 0x20
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1682 3cda54: 681d ldr r5, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1683 3cda56: 5574 strb r4, [r6, r5]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1684 3cda58: 681d ldr r5, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1685 3cda5a: 6268 str r0, [r5, #36] ; 0x24
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1686 3cda5c: 2628 mov r6, #40 ; 0x28
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1687 3cda5e: 681d ldr r5, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1688 3cda60: 5574 strb r4, [r6, r5]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1689 3cda62: 681c ldr r4, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1690 3cda64: 62e0 str r0, [r4, #44] ; 0x2c
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1691 3cda66: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1692 3cda68: 8702 strh r2, [r0, #56] ; 0x38
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1693 3cda6a: 2001 mov r0, #1
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1694 3cda6c: 681c ldr r4, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1695 3cda6e: 6320 str r0, [r4, #48] ; 0x30
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1696 ; new since original: pwr_env_ctrl_blk->i2v_madc_offset = 0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1697 3cda70: 681c ldr r4, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1698 3cda72: 8122 strh r2, [r4, #8]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1699 ; new stuff:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1700 ; halfword at 0x40 = 1
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1701 ; word at 0x44 = 0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1702 ; byte at 0x48 = 0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1703 3cda74: 2540 mov r5, #64 ; 0x40
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1704 3cda76: 681c ldr r4, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1705 3cda78: 5328 strh r0, [r5, r4]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1706 3cda7a: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1707 3cda7c: 6442 str r2, [r0, #68] ; 0x44
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1708 3cda7e: 2248 mov r2, #72 ; 0x48
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1709 3cda80: 6818 ldr r0, [r3, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1710 3cda82: 5411 strb r1, [r2, r0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1711 3cda84: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1712 3cda86: b002 add sp, #8
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1713 3cda88: bd70 pop {r4, r5, r6, pc}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1714
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1715 $pwr_init:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1716 3cda8a: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1717 3cda8c: 4770 bx lr
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1718
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1719 $pwr_start:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1720 3cda8e: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1721 3cda90: 4770 bx lr
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1722
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1723 $pwr_stop:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1724 3cda92: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1725 3cda94: 4770 bx lr
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1726
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1727 $pwr_kill:
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1728 3cda96: b500 push {lr}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1729 3cda98: 4832 ldr r0, =0x1774e70 ; via 0x3cdb64
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1730 3cda9a: 6800 ldr r0, [r0, #0]
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1731 3cda9c: f5f7 f92c bl 0x1c4cf8
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1732 3cdaa0: 2000 mov r0, #0
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1733 3cdaa2: bd00 pop {pc}
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
1734
234
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1735 _f_checksum:
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1736 3e6990: e1a0c000 mov r12, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1737 3e6994: e3a00000 mov r0, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1738 3e6998: e3510000 cmp r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1739 3e699c: 012fff1e bxeq lr
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1740 3e69a0: e4dc2001 ldrb r2, [r12], #1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1741 3e69a4: e0820000 add r0, r2, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1742 3e69a8: e1a00800 mov r0, r0, lsl #16
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1743 3e69ac: e1a00820 mov r0, r0, lsr #16
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1744 3e69b0: e2511001 subs r1, r1, #1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1745 3e69b4: 1afffff9 bne 0x3e69a0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1746 3e69b8: e12fff1e bx lr
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1747
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1748 _f_load_int_mem:
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1749 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
1750 3e69c0: e59f90c8 ldr r9, =0x1775070 ; via 0x3e6a90
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1751 3e69c4: e3a0c000 mov r12, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1752 3e69c8: e1c9c0b0 strh r12, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1753 3e69cc: e59fa0c0 ldr r10, =0x1775072 ; via 0x3e6a94
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1754 3e69d0: e1cac0b0 strh r12, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1755 3e69d4: e59fc0bc ldr r12, =0x82d1f0 ; via 0x3e6a98
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1756 3e69d8: e59f00bc ldr r0, =0x848788 ; via 0x3e6a9c
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1757 3e69dc: e040000c sub r0, r0, r12
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1758 3e69e0: e2408004 sub r8, r0, #4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1759 3e69e4: e28c7004 add r7, r12, #4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1760 3e69e8: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1761 3e69ec: e3a01000 mov r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1762 3e69f0: e1a02008 mov r2, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1763 3e69f4: ebf166b1 bl 0x404c0 ; _INT_memset
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1764 3e69f8: e59f40a0 ldr r4, =0x84878c ; via 0x3e6aa0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1765 3e69fc: e59fc0a0 ldr r12, =0x848d1c ; via 0x3e6aa4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1766 3e6a00: e04c6004 sub r6, r12, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1767 3e6a04: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1768 3e6a08: e3a01000 mov r1, #0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1769 3e6a0c: e1a02006 mov r2, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1770 3e6a10: ebf166aa bl 0x404c0 ; _INT_memset
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1771 3e6a14: e59fb08c ldr r11, =0x40708 ; via 0x3e6aa8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1772 3e6a18: e1a0000b mov r0, r11
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1773 3e6a1c: e1a01008 mov r1, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1774 3e6a20: ebffffda bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1775 3e6a24: e1a03000 mov r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1776 3e6a28: e1c930b0 strh r3, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1777 3e6a2c: e59f5078 ldr r5, =0x5bca0 ; via 0x3e6aac
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1778 3e6a30: e1a00005 mov r0, r5
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1779 3e6a34: e1a01006 mov r1, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1780 3e6a38: ebffffd4 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1781 3e6a3c: e083c000 add r12, r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1782 3e6a40: e1c9c0b0 strh r12, [r9]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1783 3e6a44: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1784 3e6a48: e1a0100b mov r1, r11
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1785 3e6a4c: e1a02008 mov r2, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1786 3e6a50: ebf166c0 bl 0x40558 ; _INT_memcpy
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1787 3e6a54: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1788 3e6a58: e1a01005 mov r1, r5
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1789 3e6a5c: e1a02006 mov r2, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1790 3e6a60: ebf166bc bl 0x40558 ; _INT_memcpy
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1791 3e6a64: e1a00007 mov r0, r7
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1792 3e6a68: e1a01008 mov r1, r8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1793 3e6a6c: ebffffc7 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1794 3e6a70: e1a03000 mov r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1795 3e6a74: e1ca30b0 strh r3, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1796 3e6a78: e1a00004 mov r0, r4
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1797 3e6a7c: e1a01006 mov r1, r6
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1798 3e6a80: ebffffc2 bl 0x3e6990 ; _f_checksum
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1799 3e6a84: e083c000 add r12, r3, r0
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1800 3e6a88: e1cac0b0 strh r12, [r10]
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1801 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
1802
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1803 3e6a90: 01775070 _d_checksum1
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1804 3e6a94: 01775072 _d_checksum2
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1805 3e6a98: 0082d1f0 _d_application_run_start
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1806 3e6a9c: 00848788 _d_application_run_end
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1807 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
1808 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
1809 3e6aa8: 00040708 .ldfl+8
5b530eea8f4e pirelli/fw-disasm: IRAM code loading located
Mychaela Falconia <falcon@freecalypso.org>
parents: 233
diff changeset
1810 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
1811
235
78be85145f33 pirelli/fw-disasm: math for the IRAM code location
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
1812 Run address = load address + 0x7ECAEC
78be85145f33 pirelli/fw-disasm: math for the IRAM code location
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
1813 for both the actual code and the trampolines
78be85145f33 pirelli/fw-disasm: math for the IRAM code location
Mychaela Falconia <falcon@freecalypso.org>
parents: 234
diff changeset
1814
240
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1815 $spi_core:
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1816 3e8ca0: b500 push {lr}
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1817 3e8ca2: b085 sub sp, #20 ; 0x14
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1818 3e8ca4: 4669 mov r1, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1819 3e8ca6: 2000 mov r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1820 3e8ca8: 7208 strb r0, [r1, #8]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1821 3e8caa: 483a ldr r0, =0xa0010 ; via 0x3e8d94
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1822 3e8cac: 9000 str r0, [sp, #0]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1823 3e8cae: a02e add r0, pc, #184 ; 0xb8
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1824 3e8cb0: 2118 mov r1, #24 ; 0x18
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1825 3e8cb2: 2200 mov r2, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1826 3e8cb4: 43d2 mvn r2, r2
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1827 3e8cb6: 2305 mov r3, #5
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1828 3e8cb8: f7f1 ffbc bl 0x3dac34
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1829 3e8cbc: 2034 mov r0, #52 ; 0x34
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1830 3e8cbe: 4936 ldr r1, =0x1774e38 ; via 0x3e8d98
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1831 3e8cc0: 680a ldr r2, [r1, #0]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1832 3e8cc2: 2101 mov r1, #1
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1833 3e8cc4: 5481 strb r1, [r0, r2]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1834 3e8cc6: 200c mov r0, #12 ; 0xc
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1835 3e8cc8: f7f6 fff1 bl 0x3dfcae ; $IQ_Unmask
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1836 3e8ccc: f7b8 fbd6 bl 0x3a147c ; $Set_Switch_ON_Cause
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1837 3e8cd0: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1838 3e8cd2: 7a00 ldrb r0, [r0, #8]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1839 3e8cd4: 2800 cmp r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1840 3e8cd6: d131 bne 0x3e8d3c
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1841 3e8cd8: 4830 ldr r0, =0xffff ; via 0x3e8d9c
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1842 3e8cda: 2100 mov r1, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1843 3e8cdc: f6c8 fc18 bl 0x2b1510 ; $rvf_wait
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1844 3e8ce0: 4669 mov r1, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1845 3e8ce2: 8208 strh r0, [r1, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1846 3e8ce4: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1847 3e8ce6: 8a00 ldrh r0, [r0, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1848 3e8ce8: 0840 lsr r0, r0, #1
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1849 3e8cea: d30b bcc 0x3e8d04
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1850 3e8cec: 2000 mov r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1851 3e8cee: f5da fc81 bl 0x1c35f4 ; $rvf_read_mbox
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1852 3e8cf2: 9003 str r0, [sp, #12] ; 0xc
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1853 3e8cf4: 9803 ldr r0, [sp, #12] ; 0xc
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1854 3e8cf6: f7ec ff33 bl 0x3d5b60 ; $spi_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1855 3e8cfa: 2800 cmp r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1856 3e8cfc: d002 beq 0x3e8d04
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1857 3e8cfe: 9803 ldr r0, [sp, #12] ; 0xc
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1858 3e8d00: f008 fd1e bl 0x3f1740 ; $pwr_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1859 3e8d04: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1860 3e8d06: 8a00 ldrh r0, [r0, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1861 3e8d08: 0940 lsr r0, r0, #5
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1862 3e8d0a: d301 bcc 0x3e8d10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1863 3e8d0c: f6fa f8c4 bl 0x2e2e98 ; $pwr_bat_test_timer_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1864 3e8d10: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1865 3e8d12: 8a00 ldrh r0, [r0, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1866 3e8d14: 0980 lsr r0, r0, #6
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1867 3e8d16: d301 bcc 0x3e8d1c
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1868 3e8d18: f6f9 fe64 bl 0x2e29e4 ; $pwr_CI_charge_timer_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1869 3e8d1c: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1870 3e8d1e: 8a00 ldrh r0, [r0, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1871 3e8d20: 09c0 lsr r0, r0, #7
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1872 3e8d22: d301 bcc 0x3e8d28
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1873 3e8d24: f6fa f88b bl 0x2e2e3e ; $pwr_CV_charge_timer_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1874 3e8d28: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1875 3e8d2a: 8a00 ldrh r0, [r0, #16] ; 0x10
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1876 3e8d2c: 0a00 lsr r0, r0, #8
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1877 3e8d2e: d301 bcc 0x3e8d34
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1878 3e8d30: f7ca fe95 bl 0x3b3a5e ; $pwr_discharge_timer_process
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1879 3e8d34: 4668 mov r0, sp
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1880 3e8d36: 7a00 ldrb r0, [r0, #8]
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1881 3e8d38: 2800 cmp r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1882 3e8d3a: d0cd beq 0x3e8cd8
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1883 3e8d3c: 2000 mov r0, #0
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1884 3e8d3e: b005 add sp, #20 ; 0x14
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1885 3e8d40: bd00 pop {pc}
7f10fb2c17cd pirelli/fw-disasm: spi_core() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 239
diff changeset
1886
241
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1887 $spi_adc_on:
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1888 3e8d42: b500 push {lr}
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1889 3e8d44: b082 sub sp, #8
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1890 3e8d46: 2233 mov r2, #51 ; 0x33
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1891 3e8d48: 4813 ldr r0, =0x1774e38 ; via 0x3e8d98
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1892 3e8d4a: 6800 ldr r0, [r0, #0]
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1893 3e8d4c: 2101 mov r1, #1
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1894 3e8d4e: 5411 strb r1, [r2, r0]
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1895 3e8d50: 4810 ldr r0, =0xa0010 ; via 0x3e8d94
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1896 3e8d52: 9000 str r0, [sp, #0]
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1897 3e8d54: a00b add r0, pc, #44 ; 0x2c
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1898 3e8d56: 210f mov r1, #15 ; 0xf
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1899 3e8d58: 2200 mov r2, #0
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1900 3e8d5a: 43d2 mvn r2, r2
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1901 3e8d5c: 2305 mov r3, #5
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1902 3e8d5e: f7f1 ff69 bl 0x3dac34
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1903 3e8d62: b002 add sp, #8
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1904 3e8d64: bd00 pop {pc}
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1905 3e8d66: 46c0 nop (mov r8, r8)
cead37b6ff74 pirelli/fw-disasm: spi_adc_on() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 240
diff changeset
1906
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1907 $Application_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1908 3f11f8: b500 push {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1909 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
1910 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
1911 3f1202: f686 f8eb bl 0x2773dc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1912 3f1206: f686 f985 bl 0x277514
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1913 3f120a: f008 ffa7 bl 0x3fa15c ; $Cust_Init_Layer1
233
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1914 3f120e: f7ff ffcd bl 0x3f11ac
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1915 3f1212: 2801 cmp r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1916 3f1214: d001 beq 0x3f121a
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1917 3f1216: f7b0 fa2d bl 0x3a1674
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1918 3f121a: f7b0 fa3e bl 0x3a169a
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1919 3f121e: f75e fb4d bl 0x34f8bc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1920 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
1921 3f1226: f709 fe44 bl 0x2faeb2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1922 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
1923 3f122e: bd00 pop {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1924
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1925 $INC_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1926 3f3e74: b530 push {r4, r5, lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1927 3f3e76: 1c05 add r5, r0, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1928 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
1929 3f3e7a: 2001 mov r0, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1930 3f3e7c: 6020 str r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1931 3f3e7e: f003 f99d bl 0x3f71bc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1932 3f3e82: f003 f99f bl 0x3f71c4
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1933 3f3e86: f003 f947 bl 0x3f7118
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1934 3f3e8a: f001 fe75 bl 0x3f5b78
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1935 3f3e8e: f7f5 ffcd bl 0x3e9e2c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1936 3f3e92: f002 fb55 bl 0x3f6540
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1937 3f3e96: f002 fb23 bl 0x3f64e0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1938 3f3e9a: f002 fb41 bl 0x3f6520
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1939 3f3e9e: f002 fb0f bl 0x3f64c0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1940 3f3ea2: f002 fb6d bl 0x3f6580
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1941 3f3ea6: f002 fb2b bl 0x3f6500
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1942 3f3eaa: f002 fb79 bl 0x3f65a0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1943 3f3eae: f7fa fc8b bl 0x3ee7c8
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1944 3f3eb2: f002 fb55 bl 0x3f6560
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1945 3f3eb6: 1c28 add r0, r5, #0
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1946 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
1947 3f3ebc: 2002 mov r0, #2
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1948 3f3ebe: 6020 str r0, [r4, #0]
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1949 3f3ec0: f005 fbdc bl 0x3f967c
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1950 3f3ec4: bd30 pop {r4, r5, pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1951
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1952 _INC_Initialize:
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1953 3f6b40: e92d4000 stmdb sp!, {lr}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1954 3f6b44: e28fe001 add lr, pc, #1
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1955 3f6b48: e12fff1e bx lr
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1956 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
1957 3f6b50: 4778 bx pc
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1958 3f6b52: 46c0 nop (mov r8, r8)
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1959 3f6b54: e8bd8000 ldmia sp!, {pc}
4cd01d1458df pirelli/fw-disasm: main and init modules located
Mychaela Falconia <falcon@freecalypso.org>
parents: 230
diff changeset
1960
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1961 $madc_hex_2_physical call trampoline
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1962 3f81ac: b082 sub sp, #8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1963 3f81ae: 9400 str r4, [sp, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1964 3f81b0: 4c01 ldr r4, =0x83cab0 ; via 0x3f81b8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1965 3f81b2: 9401 str r4, [sp, #4]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1966 3f81b4: bd10 pop {r4, pc}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1967 3f81b6: 0000
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1968 3f81b8: 0083cab0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1969
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1970 $Cust_Init_Layer1 call trampoline
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1971 3fa15c: b082 sub sp, #8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1972 3fa15e: 9400 str r4, [sp, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1973 3fa160: 4c01 ldr r4, =0x83ca64 ; via 0x3fa168
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1974 3fa162: 9401 str r4, [sp, #4]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1975 3fa164: bd10 pop {r4, pc}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1976 3fa166: 0000
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1977 3fa168: 0083ca64
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
1978
238
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1979 _RVM_SWE_GET_INFO_ARRAY:
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1980 52fb70: 00010002 RVT_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1981 52fb74: 003c6f95 rvt_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1982 52fb78: 000a0001 R2D_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1983 52fb7c: 003ea875 r2d_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1984 52fb80: 000a0002 RTC_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1985 52fb84: 003d4a7d rtc_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1986 52fb88: 000a0004 FFS_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1987 52fb8c: 003e6bd1 ffs_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1988 52fb90: 000a0008 KPD_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1989 52fb94: 003e2d75 kpd_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1990 52fb98: 000a0010 SPI_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1991 52fb9c: 003cd72d spi_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1992 52fba0: 000a0020 PWR_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1993 52fba4: 003cd955 pwr_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1994 52fba8: 001e0002 AUDIO_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1995 52fbac: 003aac95 audio_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1996 52fbb0: 001e0004 ETM_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1997 52fbb4: 003e528d etm_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1998 52fbb8: 001e0008 DAR_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
1999 52fbbc: 003c4039 dar_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2000 52fbc0: 001e0010 MKS_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2001 52fbc4: 003e5615 mks_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2002 52fbc8: 001e0040 LLS_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2003 52fbcc: 003e4679 lls_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2004 52fbd0: 001e0080 ATP_USE_ID
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2005 52fbd4: 003bdeb9 atp_get_info
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2006 ; the rest are Foxconn/Pirelli's additions
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2007 52fbd8: 00780001
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2008 52fbdc: 003d21c1
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2009 52fbe0: 00640001
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2010 52fbe4: 003c8c49
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2011 52fbe8: 00640002
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2012 52fbec: 003b8359
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2013 52fbf0: 00640004
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2014 52fbf4: 003b9b2d
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2015 52fbf8: 00640008
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2016 52fbfc: 003b743d
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2017 52fc00: 00820001
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2018 52fc04: 003cba91
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2019 52fc08: 000a0080
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2020 52fc0c: 003bf1b5
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2021 52fc10: 006e0002
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2022 52fc14: 003bcb79
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2023 52fc18: 006e0004
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2024 52fc1c: 003d25b5
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2025 52fc20: 006e0008
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2026 52fc24: 003613ef
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2027 52fc28: 006e0020
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2028 52fc2c: 00381e3d
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2029 52fc30: 006e0040
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2030 52fc34: 003cf4f9
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2031 52fc38: 006e0080
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2032 52fc3c: 003cacf9
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2033 52fc40: 006e0100
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2034 52fc44: 00367a9d
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2035 52fc48: 008c0001
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2036 52fc4c: 003d1fc1
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2037 52fc50: 00000000
4ec6bbbac914 pirelli/fw-disasm: RVM SWE array analyzed
Mychaela Falconia <falcon@freecalypso.org>
parents: 237
diff changeset
2038 52fc54: 00000000
230
f5ad21985e20 pirelli/fw-disasm: beginning of proper static RE
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2039
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2040 IRAM data:
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2041
237
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2042 0x801550: beginning of the .bss section from the l1_cust module
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2043
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2044 0x801550: rf
237
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2045 0x801734: adc_cal (offset matches TCS211)
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2046 0x801758: temperature (ditto)
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2047 0x801964: ser_cfg_info (moved here, not in TCS211)
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2048 0x801ac8: adc
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2049
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2050 IRAM code:
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2051
237
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2052 ; default adc_cal table loaded by Pirelli's get_cal_from_nvmem()
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2053
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2054 83c1d0: 1ac2
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2055 83c1d2: 222e
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2056 83c1d4: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2057 83c1d6: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2058 83c1d8: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2059 83c1da: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2060 83c1dc: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2061 83c1de: 0100
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2062 83c1e0: 1b58
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2063 83c1e2: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2064 83c1e4: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2065 83c1e6: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2066 83c1e8: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2067 83c1ea: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2068 83c1ec: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2069 83c1ee: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2070 83c1f0: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2071 83c1f2: 0000
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2072
236
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2073 $Cust_Init_Layer1:
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2074 83ca64: b500 push {lr}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2075 83ca66: b084 sub sp, #16 ; 0x10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2076 83ca68: 4669 mov r1, sp
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2077 83ca6a: 2006 mov r0, #6
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2078 83ca6c: 7008 strb r0, [r1, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2079 83ca6e: 4668 mov r0, sp
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2080 83ca70: 2101 mov r1, #1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2081 83ca72: 7101 strb r1, [r0, #4]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2082 83ca74: 2000 mov r0, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2083 83ca76: 4669 mov r1, sp
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2084 83ca78: 70c8 strb r0, [r1, #3]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2085 83ca7a: 7208 strb r0, [r1, #8]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2086 83ca7c: 487d ldr r0, =0x5ff ; via 0x83cc74
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2087 83ca7e: 9003 str r0, [sp, #12] ; 0xc
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2088 83ca80: 2001 mov r0, #1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2089 83ca82: 80c8 strh r0, [r1, #6]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2090 83ca84: 4668 mov r0, sp
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2091 83ca86: f00b fff9 bl 0x848a7c ; $l1_initialize
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2092 83ca8a: 487c ldr r0, =0x801550 ; via 0x83cc7c
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2093 83ca8c: 21ff mov r1, #255 ; 0xff
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2094 83ca8e: 319d add r1, #157 ; 0x9d
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2095 83ca90: 2200 mov r2, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2096 83ca92: f000 f85d bl 0x83cb50 ; $get_cal_from_nvmem
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2097 83ca96: 4878 ldr r0, =0x801964 ; via 0x83cc78
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2098 83ca98: 2102 mov r1, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2099 83ca9a: 2202 mov r2, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2100 83ca9c: f000 f858 bl 0x83cb50 ; $get_cal_from_nvmem
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2101 83caa0: b004 add sp, #16 ; 0x10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2102 83caa2: bd00 pop {pc}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2103
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2104 83caa4: 00000f22
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2105 83caa8: 00000e8b
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2106 83caac: 00001d12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2107
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2108 $madc_hex_2_physical:
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2109 83cab0: b5f0 push {r4, r5, r6, r7, lr}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2110 83cab2: 4642 mov r2, r8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2111 83cab4: b404 push {r2}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2112 83cab6: 4688 mov r8, r1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2113 83cab8: 1c01 add r1, r0, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2114 83caba: 4c71 ldr r4, =0x801ac8 ; via 0x83cc80
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2115 83cabc: 2012 mov r0, #18 ; 0x12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2116 83cabe: 1900 add r0, r0, r4
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2117 83cac0: 2212 mov r2, #18 ; 0x12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2118 83cac2: f002 feeb bl 0x83f89c ; C$MEMCPY
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2119 83cac6: 496f ldr r1, =0x801734 ; via 0x83cc84
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2120 83cac8: 2012 mov r0, #18 ; 0x12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2121 83caca: 1842 add r2, r0, r1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2122 83cacc: 2307 mov r3, #7
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2123 83cace: 8a60 ldrh r0, [r4, #18] ; 0x12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2124 83cad0: 880d ldrh r5, [r1, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2125 83cad2: 4368 mul r0, r5
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2126 83cad4: 0a80 lsr r0, r0, #10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2127 83cad6: 2500 mov r5, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2128 83cad8: 5f55 ldrsh r5, [r2, r5]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2129 83cada: 1828 add r0, r5, r0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2130 83cadc: 8020 strh r0, [r4, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2131 83cade: 3102 add r1, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2132 83cae0: 3402 add r4, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2133 83cae2: 3202 add r2, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2134 83cae4: 3b01 sub r3, #1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2135 83cae6: 2b00 cmp r3, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2136 83cae8: d1f1 bne 0x83cace
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2137 83caea: 4f66 ldr r7, =0x801734 ; via 0x83cc84
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2138 83caec: 4964 ldr r1, =0x801ac8 ; via 0x83cc80
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2139 83caee: 8c08 ldrh r0, [r1, #32] ; 0x20
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2140 83caf0: 89fa ldrh r2, [r7, #14] ; 0xe
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2141 83caf2: 4350 mul r0, r2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2142 83caf4: 0a00 lsr r0, r0, #8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2143 83caf6: 0400 lsl r0, r0, #16
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2144 83caf8: 0c06 lsr r6, r0, #16
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2145 83cafa: 2200 mov r2, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2146 83cafc: 2382 mov r3, #130 ; 0x82
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2147 83cafe: 2041 mov r0, #65 ; 0x41
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2148 83cb00: 4c61 ldr r4, =0x801758 ; via 0x83cc88
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2149 83cb02: 0085 lsl r5, r0, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2150 83cb04: 5b64 ldrh r4, [r4, r5]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2151 83cb06: 42a6 cmp r6, r4
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2152 83cb08: db01 blt 0x83cb0e
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2153 83cb0a: 1c02 add r2, r0, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2154 83cb0c: e000 b 0x83cb10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2155 83cb0e: 1c03 add r3, r0, #0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2156 83cb10: 18d0 add r0, r2, r3
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2157 83cb12: 0fc4 lsr r4, r0, #31
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2158 83cb14: 1820 add r0, r4, r0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2159 83cb16: 1040 asr r0, r0, #1
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2160 83cb18: 0400 lsl r0, r0, #16
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2161 83cb1a: 1400 asr r0, r0, #16
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2162 83cb1c: 1a9c sub r4, r3, r2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2163 83cb1e: 2c02 cmp r4, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2164 83cb20: daee bge 0x83cb00
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2165 83cb22: 4add ldr r2, =0x80175a ; via 0x83ce98
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2166 83cb24: 0080 lsl r0, r0, #2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2167 83cb26: 5e10 ldrsh r0, [r2, r0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2168 83cb28: 81c8 strh r0, [r1, #14] ; 0xe
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2169 83cb2a: 2022 mov r0, #34 ; 0x22
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2170 83cb2c: 5fc2 ldrsh r2, [r0, r7]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2171 83cb2e: 48db ldr r0, =0x801aea ; via 0x83ce9c
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2172 83cb30: 8800 ldrh r0, [r0, #0]
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2173 83cb32: 8a3b ldrh r3, [r7, #16] ; 0x10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2174 83cb34: 4358 mul r0, r3
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2175 83cb36: 0a80 lsr r0, r0, #10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2176 83cb38: 1810 add r0, r2, r0
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2177 83cb3a: 8208 strh r0, [r1, #16] ; 0x10
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2178 83cb3c: 4640 mov r0, r8
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2179 83cb3e: 2212 mov r2, #18 ; 0x12
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2180 83cb40: f002 feac bl 0x83f89c ; C$MEMCPY
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2181 83cb44: bc04 pop {r2}
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2182 83cb46: 4690 mov r8, r2
9ee2d1d91f7e pirelli/fw-disasm: Cust_Init_Layer1() and madc_hex_2_physical() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 235
diff changeset
2183 83cb48: bdf0 pop {r4, r5, r6, r7, pc}
237
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2184 83cb4a: 46c0 nop (mov r8, r8)
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2185
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2186 83cb4c: 008016ec
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2187
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2188 $get_cal_from_nvmem:
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2189 83cb50: b530 push {r4, r5, lr}
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2190 83cb52: 1c0c add r4, r1, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2191 83cb54: 1c05 add r5, r0, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2192 83cb56: 2a01 cmp r2, #1
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2193 83cb58: d00e beq 0x83cb78
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2194 83cb5a: 2a02 cmp r2, #2
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2195 83cb5c: d118 bne 0x83cb90
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2196 83cb5e: a0c7 add r0, pc, #796 ; 0x31c
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2197 83cb60: 1c29 add r1, r5, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2198 83cb62: 1c22 add r2, r4, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2199 83cb64: f707 fd98 bl 0x744698
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2200 83cb68: 2800 cmp r0, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2201 83cb6a: d511 bpl 0x83cb90
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2202 83cb6c: 4842 ldr r0, =0x801964 ; via 0x83cc78
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2203 83cb6e: 2152 mov r1, #82 ; 0x52
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2204 83cb70: 7001 strb r1, [r0, #0]
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2205 83cb72: 2144 mov r1, #68 ; 0x44
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2206 83cb74: 7041 strb r1, [r0, #1]
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2207 83cb76: bd30 pop {r4, r5, pc}
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2208 83cb78: a0c4 add r0, pc, #784 ; 0x310
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2209 83cb7a: 1c29 add r1, r5, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2210 83cb7c: 1c22 add r2, r4, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2211 83cb7e: f707 fd8b bl 0x744698
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2212 83cb82: 2800 cmp r0, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2213 83cb84: d504 bpl 0x83cb90
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2214 83cb86: 1c28 add r0, r5, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2215 83cb88: 49c5 ldr r1, =0x83c1d0 ; via 0x83cea0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2216 83cb8a: 1c22 add r2, r4, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2217 83cb8c: f002 fe86 bl 0x83f89c ; C$MEMCPY
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2218 83cb90: bd30 pop {r4, r5, pc}
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2219 83cb92: 2000 mov r0, #0
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2220 83cb94: 4770 bx lr
452ea81450e1 pirelli/fw-disasm: more l1_cust stuff
Mychaela Falconia <falcon@freecalypso.org>
parents: 236
diff changeset
2221 83cb96: 46c0 nop (mov r8, r8)
239
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
2222
245
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2223 $l1_initialize call trampoline
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2224 848a7c: b082 sub sp, #8
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2225 848a7e: 9400 str r4, [sp, #0]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2226 848a80: 4c01 ldr r4, =0x31c6e4 ; via 0x848a88
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2227 848a82: 9401 str r4, [sp, #4]
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2228 848a84: bd10 pop {r4, pc}
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2229 848a86: 0000
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2230 848a88: 0031c6e4
9cd7fa86da47 pirelli/fw-disasm: l1_initialize() located
Mychaela Falconia <falcon@freecalypso.org>
parents: 244
diff changeset
2231
239
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
2232 XRAM data:
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
2233
243
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
2234 0x17741e0: abb_sem
83715e0c65de pirelli/fw-disasm: first round of ABB functions
Mychaela Falconia <falcon@freecalypso.org>
parents: 242
diff changeset
2235
239
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
2236 0x1774e38: SPI_GBL_INFO_PTR
7a394cc1c72a pirelli/fw-disasm: spi_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 238
diff changeset
2237 0x1774e3c: spi_error_ft
242
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
2238
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
2239 0x1774e70: pwr_env_ctrl_blk
5eca9fccd706 pirelli/fw-disasm: pwr_env code located
Mychaela Falconia <falcon@freecalypso.org>
parents: 241
diff changeset
2240 0x1774e74: pwr_error_ft