CHDK_DE Vorschauversion  Trunk Rev. 5659
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
capt_seq.c-Dateireferenz
#include "lolevel.h"
#include "platform.h"
#include "core.h"
#include "../../../generic/capt_seq.c"
+ Include-Abhängigkeitsdiagramm für capt_seq.c:

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define USE_STUBS_NRFLAG   1
 

Funktionen

void __attribute__ ((naked, noinline))
 

Makro-Dokumentation

#define USE_STUBS_NRFLAG   1

Definiert in Zeile 8 der Datei capt_seq.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

Definiert in Zeile 14 der Datei capt_seq.c.

14  {
15 asm volatile (
16 " STMFD SP!, {R3-R9,LR} \n"
17 " LDR R6, =0x2814 \n"
18 " LDR R4, =0x3593C \n"
19 " MOV R9, #1 \n"
20 " MOV R7, #0 \n"
21 
22 "loc_FF86D6B4:\n"
23 " LDR R0, [R6, #4] \n"
24 " MOV R2, #0 \n"
25 " MOV R1, SP \n"
26 " BL sub_FF838F6C /*_ReceiveMessageQueue*/ \n"
27 " TST R0, #1 \n"
28 " BEQ loc_FF86D6E0 \n"
29 " LDR R1, =0x5B4 \n"
30 " LDR R0, =0xFF86D258 /*'SsShootTask.c'*/ \n"
31 " BL _DebugAssert \n"
32 " BL _ExitTask \n"
33 " LDMFD SP!, {R3-R9,PC} \n"
34 
35 "loc_FF86D6E0:\n"
36 " LDR R0, [SP] \n"
37 " LDR R1, [R0] \n"
38 " CMP R1, #0x1D \n"
39 " ADDLS PC, PC, R1, LSL#2 \n"
40 " B loc_FF86D968 \n"
41 " B loc_FF86D76C \n"
42 " B loc_FF86D7D0 \n"
43 " B loc_FF86D80C \n"
44 " B loc_FF86D820 \n"
45 " B loc_FF86D818 \n"
46 " B loc_FF86D828 \n"
47 " B loc_FF86D830 \n"
48 " B loc_FF86D838 \n"
49 " B loc_FF86D890 \n"
50 " B loc_FF86D8B8 \n"
51 " B loc_FF86D89C \n"
52 " B loc_FF86D8A8 \n"
53 " B loc_FF86D8B0 \n"
54 " B loc_FF86D8C0 \n"
55 " B loc_FF86D8C8 \n"
56 " B loc_FF86D8D0 \n"
57 " B loc_FF86D8D8 \n"
58 " B loc_FF86D8E0 \n"
59 " B loc_FF86D8EC \n"
60 " B loc_FF86D8F4 \n"
61 " B loc_FF86D8FC \n"
62 " B loc_FF86D904 \n"
63 " B loc_FF86D90C \n"
64 " B loc_FF86D918 \n"
65 " B loc_FF86D920 \n"
66 " B loc_FF86D928 \n"
67 " B loc_FF86D930 \n"
68 " B loc_FF86D938 \n"
69 " B loc_FF86D944 \n"
70 " B loc_FF86D974 \n"
71 
72 "loc_FF86D76C:\n"
73 " BL sub_FF86DF9C \n"
74 " BL shooting_expo_param_override\n" // added
75 " BL sub_FF86B5AC \n"
76 " LDR R0, [R4, #0x24] \n"
77 " CMP R0, #0 \n"
78 " BEQ loc_FF86D974 \n"
79 " BL sub_FF86CF38 \n"
80 " MOV R5, R0 \n"
81 " LDR R0, [R4, #0x24] \n"
82 " CMP R0, #0 \n"
83 " BEQ loc_FF86D7B4 \n"
84 " MOV R0, #0xC \n"
85 " BL sub_FF871DD4 \n"
86 " TST R0, #1 \n"
87 " STRNE R9, [R6, #0x10] \n"
88 " LDRNE R0, [R5, #8] \n"
89 " ORRNE R0, R0, #0x40000000 \n"
90 " STRNE R0, [R5, #8] \n"
91 " BNE loc_FF86D974 \n"
92 
93 "loc_FF86D7B4:\n"
94 " MOV R0, R5 \n"
95 " BL sub_FF86D1DC \n"
96 " MOV R0, R5 \n"
97 " BL sub_FF9325DC_my \n" // --> Patched. Old value = 0xFF9325DC.
98 " TST R0, #1 \n"
99 " STRNE R9, [R6, #0x10] \n"
100 " B loc_FF86D974 \n"
101 
102 "loc_FF86D7D0:\n"
103 " LDR R0, [R4, #0x24] \n"
104 " CMP R0, #0 \n"
105 " BNE loc_FF86D7FC \n"
106 " MOV R0, #0xC \n"
107 " BL sub_FF871DD4 \n"
108 " TST R0, #1 \n"
109 " LDRNE R0, [SP] \n"
110 " MOVNE R1, #1 \n"
111 " LDRNE R2, [R0, #0xC] \n"
112 " MOVNE R0, #1 \n"
113 " BNE loc_FF86D888 \n"
114 
115 "loc_FF86D7FC:\n"
116 " LDR R0, [SP] \n"
117 " BL sub_FF86DA90_my \n" // --> Patched. Old value = 0xFF86DA90.
118 
119 "loc_FF86D804:\n"
120 " STR R7, [R4, #0x24] \n"
121 " B loc_FF86D974 \n"
122 
123 "loc_FF86D80C:\n"
124 " MOV R0, #1 \n"
125 " BL sub_FF86E224 \n"
126 " B loc_FF86D974 \n"
127 
128 "loc_FF86D818:\n"
129 " BL sub_FF86DC08 \n"
130 " B loc_FF86D804 \n"
131 
132 "loc_FF86D820:\n"
133 " BL sub_FF86DF7C \n"
134 " B loc_FF86D804 \n"
135 
136 "loc_FF86D828:\n"
137 " BL sub_FF86DF84 \n"
138 " B loc_FF86D974 \n"
139 
140 "loc_FF86D830:\n"
141 " BL sub_FF86E134 \n"
142 " B loc_FF86D894 \n"
143 
144 "loc_FF86D838:\n"
145 " LDR R5, [R0, #0xC] \n"
146 " BL sub_FF86DF8C \n"
147 " MOV R0, R5 \n"
148 " BL sub_FF931518 \n"
149 " TST R0, #1 \n"
150 " MOV R8, R0 \n"
151 " BNE loc_FF86D878 \n"
152 " BL sub_FF87E1EC \n"
153 " STR R0, [R5, #0x18] \n"
154 " MOV R0, R5 \n"
155 " BL sub_FF932514 \n"
156 " MOV R0, R5 \n"
157 " BL sub_FF9328C4 \n"
158 " MOV R8, R0 \n"
159 " LDR R0, [R5, #0x18] \n"
160 " BL sub_FF87E424 \n"
161 
162 "loc_FF86D878:\n"
163 " BL sub_FF86DF7C \n"
164 " MOV R2, R5 \n"
165 " MOV R1, #9 \n"
166 " MOV R0, R8 \n"
167 
168 "loc_FF86D888:\n"
169 " BL sub_FF86BA20 \n"
170 " B loc_FF86D974 \n"
171 
172 "loc_FF86D890:\n"
173 " BL sub_FF86E19C \n"
174 
175 "loc_FF86D894:\n"
176 " BL sub_FF86B5AC \n"
177 " B loc_FF86D974 \n"
178 
179 "loc_FF86D89C:\n"
180 " LDR R0, [R4, #0x54] \n"
181 " BL sub_FF86E584 \n"
182 " B loc_FF86D974 \n"
183 
184 "loc_FF86D8A8:\n"
185 " BL sub_FF86E834 \n"
186 " B loc_FF86D974 \n"
187 
188 "loc_FF86D8B0:\n"
189 " BL sub_FF86E8C8 \n"
190 " B loc_FF86D974 \n"
191 
192 "loc_FF86D8B8:\n"
193 " BL sub_FF86DF7C \n"
194 " B loc_FF86D974 \n"
195 
196 "loc_FF86D8C0:\n"
197 " BL sub_FF931744 \n"
198 " B loc_FF86D974 \n"
199 
200 "loc_FF86D8C8:\n"
201 " BL sub_FF93193C \n"
202 " B loc_FF86D974 \n"
203 
204 "loc_FF86D8D0:\n"
205 " BL sub_FF9319D0 \n"
206 " B loc_FF86D974 \n"
207 
208 "loc_FF86D8D8:\n"
209 " BL sub_FF931A90 \n"
210 " B loc_FF86D974 \n"
211 
212 "loc_FF86D8E0:\n"
213 " MOV R0, #0 \n"
214 " BL sub_FF931C88 \n"
215 " B loc_FF86D974 \n"
216 
217 "loc_FF86D8EC:\n"
218 " BL sub_FF931DD8 \n"
219 " B loc_FF86D974 \n"
220 
221 "loc_FF86D8F4:\n"
222 " BL sub_FF931E68 \n"
223 " B loc_FF86D974 \n"
224 
225 "loc_FF86D8FC:\n"
226 " BL sub_FF931F28 \n"
227 " B loc_FF86D974 \n"
228 
229 "loc_FF86D904:\n"
230 " BL sub_FF86E378 \n"
231 " B loc_FF86D974 \n"
232 
233 "loc_FF86D90C:\n"
234 " BL sub_FF86E40C \n"
235 " BL sub_FF836E20 \n"
236 " B loc_FF86D974 \n"
237 
238 "loc_FF86D918:\n"
239 " BL sub_FF931B5C \n"
240 " B loc_FF86D974 \n"
241 
242 "loc_FF86D920:\n"
243 " BL sub_FF931BA0 \n"
244 " B loc_FF86D974 \n"
245 
246 "loc_FF86D928:\n"
247 " BL sub_FF870624 \n"
248 " B loc_FF86D974 \n"
249 
250 "loc_FF86D930:\n"
251 " BL sub_FF8706A4 \n"
252 " B loc_FF86D974 \n"
253 
254 "loc_FF86D938:\n"
255 " BL sub_FF870700 \n"
256 " BL sub_FF8706C0 \n"
257 " B loc_FF86D974 \n"
258 
259 "loc_FF86D944:\n"
260 " LDRH R0, [R4, #0x94] \n"
261 " CMP R0, #4 \n"
262 " LDRNEH R0, [R4] \n"
263 " SUBNE R12, R0, #0x8200 \n"
264 " SUBNES R12, R12, #0x2A \n"
265 " BNE loc_FF86D974 \n"
266 " BL sub_FF8706A4 \n"
267 " BL sub_FF870A44 \n"
268 " B loc_FF86D974 \n"
269 
270 "loc_FF86D968:\n"
271 " LDR R1, =0x719 \n"
272 " LDR R0, =0xFF86D258 /*'SsShootTask.c'*/ \n"
273 " BL _DebugAssert \n"
274 
275 "loc_FF86D974:\n"
276 " LDR R0, [SP] \n"
277 " LDR R1, [R0, #4] \n"
278 " LDR R0, [R6] \n"
279 " BL sub_FF838CDC /*_SetEventFlag*/ \n"
280 " LDR R5, [SP] \n"
281 " LDR R0, [R5, #8] \n"
282 " CMP R0, #0 \n"
283 " LDREQ R1, =0x132 \n"
284 " LDREQ R0, =0xFF86D258 /*'SsShootTask.c'*/ \n"
285 " BLEQ _DebugAssert \n"
286 " STR R7, [R5, #8] \n"
287 " B loc_FF86D6B4 \n"
288 );
289 }