CHDK_DE Vorschauversion  Trunk Rev. 5641
 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-R7,LR} \n"
17 " LDR R7, =0x33284 \n"
18 " LDR R6, =0x26C0 \n"
19 
20 "loc_FFC591A8:\n"
21 " LDR R0, [R6, #4] \n"
22 " MOV R2, #0 \n"
23 " MOV R1, SP \n"
24 " BL sub_FFC28AA4 /*_ReceiveMessageQueue*/ \n"
25 " TST R0, #1 \n"
26 " BEQ loc_FFC591D4 \n"
27 " LDR R1, =0x5B4 \n"
28 " LDR R0, =0xFFC58DA8 /*'SsShootTask.c'*/ \n"
29 " BL _DebugAssert \n"
30 " BL _ExitTask \n"
31 " LDMFD SP!, {R3-R7,PC} \n"
32 
33 "loc_FFC591D4:\n"
34 " LDR R0, [SP] \n"
35 " LDR R1, [R0] \n"
36 " CMP R1, #0x1D \n"
37 " ADDLS PC, PC, R1, LSL#2 \n"
38 " B loc_FFC593E4 \n"
39 " B loc_FFC59260 \n"
40 " B loc_FFC59268 \n"
41 " B loc_FFC59290 \n"
42 " B loc_FFC592A4 \n"
43 " B loc_FFC5929C \n"
44 " B loc_FFC592AC \n"
45 " B loc_FFC592B4 \n"
46 " B loc_FFC592C0 \n"
47 " B loc_FFC59318 \n"
48 " B loc_FFC592A4 \n"
49 " B loc_FFC59320 \n"
50 " B loc_FFC5932C \n"
51 " B loc_FFC59334 \n"
52 " B loc_FFC5933C \n"
53 " B loc_FFC59344 \n"
54 " B loc_FFC5934C \n"
55 " B loc_FFC59354 \n"
56 " B loc_FFC5935C \n"
57 " B loc_FFC59368 \n"
58 " B loc_FFC59370 \n"
59 " B loc_FFC59378 \n"
60 " B loc_FFC59380 \n"
61 " B loc_FFC59388 \n"
62 " B loc_FFC59394 \n"
63 " B loc_FFC5939C \n"
64 " B loc_FFC593A4 \n"
65 " B loc_FFC593AC \n"
66 " B loc_FFC593B4 \n"
67 " B loc_FFC593C0 \n"
68 " B loc_FFC593F0 \n"
69 
70 "loc_FFC59260:\n"
71 " BL sub_FFC59A74 \n"
72 " BL shooting_expo_param_override\n" // added
73 " B loc_FFC592B8 \n"
74 
75 "loc_FFC59268:\n"
76 " MOV R0, #0xC \n"
77 " BL sub_FFC5D758 \n"
78 " TST R0, #1 \n"
79 " LDR R0, [SP] \n"
80 " MOVNE R1, #1 \n"
81 " LDRNE R2, [R0, #0xC] \n"
82 " MOVNE R0, #1 \n"
83 " BNE loc_FFC59310 \n"
84 " BL sub_FFC5950C_my \n" // --> Patched. Old value = 0xFFC5950C.
85 " B loc_FFC593F0 \n"
86 
87 "loc_FFC59290:\n"
88 " MOV R0, #1 \n"
89 " BL sub_FFC59CFC \n"
90 " B loc_FFC593F0 \n"
91 
92 "loc_FFC5929C:\n"
93 " BL sub_FFC596E0 \n"
94 " B loc_FFC593F0 \n"
95 
96 "loc_FFC592A4:\n"
97 " BL sub_FFC59A54 \n"
98 " B loc_FFC593F0 \n"
99 
100 "loc_FFC592AC:\n"
101 " BL sub_FFC59A5C \n"
102 " B loc_FFC593F0 \n"
103 
104 "loc_FFC592B4:\n"
105 " BL sub_FFC59C0C \n"
106 
107 "loc_FFC592B8:\n"
108 " BL sub_FFC574B4 \n"
109 " B loc_FFC593F0 \n"
110 
111 "loc_FFC592C0:\n"
112 " LDR R4, [R0, #0xC] \n"
113 " BL sub_FFC59A64 \n"
114 " MOV R0, R4 \n"
115 " BL sub_FFD0FD5C \n"
116 " TST R0, #1 \n"
117 " MOV R5, R0 \n"
118 " BNE loc_FFC59300 \n"
119 " BL sub_FFC69634 \n"
120 " STR R0, [R4, #0x18] \n"
121 " MOV R0, R4 \n"
122 " BL sub_FFD10CCC \n"
123 " MOV R0, R4 \n"
124 " BL sub_FFD1106C \n"
125 " MOV R5, R0 \n"
126 " LDR R0, [R4, #0x18] \n"
127 " BL sub_FFC6986C \n"
128 
129 "loc_FFC59300:\n"
130 " BL sub_FFC59A54 \n"
131 " MOV R2, R4 \n"
132 " MOV R1, #9 \n"
133 " MOV R0, R5 \n"
134 
135 "loc_FFC59310:\n"
136 " BL sub_FFC578AC \n"
137 " B loc_FFC593F0 \n"
138 
139 "loc_FFC59318:\n"
140 " BL sub_FFC59C74 \n"
141 " B loc_FFC592B8 \n"
142 
143 "loc_FFC59320:\n"
144 " LDR R0, [R7, #0x4C] \n"
145 " BL sub_FFC5A01C \n"
146 " B loc_FFC593F0 \n"
147 
148 "loc_FFC5932C:\n"
149 " BL sub_FFC5A2CC \n"
150 " B loc_FFC593F0 \n"
151 
152 "loc_FFC59334:\n"
153 " BL sub_FFC5A360 \n"
154 " B loc_FFC593F0 \n"
155 
156 "loc_FFC5933C:\n"
157 " BL sub_FFD0FF88 \n"
158 " B loc_FFC593F0 \n"
159 
160 "loc_FFC59344:\n"
161 " BL sub_FFD10180 \n"
162 " B loc_FFC593F0 \n"
163 
164 "loc_FFC5934C:\n"
165 " BL sub_FFD10214 \n"
166 " B loc_FFC593F0 \n"
167 
168 "loc_FFC59354:\n"
169 " BL sub_FFD102D4 \n"
170 " B loc_FFC593F0 \n"
171 
172 "loc_FFC5935C:\n"
173 " MOV R0, #0 \n"
174 " BL sub_FFD104CC \n"
175 " B loc_FFC593F0 \n"
176 
177 "loc_FFC59368:\n"
178 " BL sub_FFD1061C \n"
179 " B loc_FFC593F0 \n"
180 
181 "loc_FFC59370:\n"
182 " BL sub_FFD106AC \n"
183 " B loc_FFC593F0 \n"
184 
185 "loc_FFC59378:\n"
186 " BL sub_FFD1076C \n"
187 " B loc_FFC593F0 \n"
188 
189 "loc_FFC59380:\n"
190 " BL sub_FFC59E58 \n"
191 " B loc_FFC593F0 \n"
192 
193 "loc_FFC59388:\n"
194 " BL sub_FFC59E94 \n"
195 " BL sub_FFC26C7C \n"
196 " B loc_FFC593F0 \n"
197 
198 "loc_FFC59394:\n"
199 " BL sub_FFD103A0 \n"
200 " B loc_FFC593F0 \n"
201 
202 "loc_FFC5939C:\n"
203 " BL sub_FFD103E4 \n"
204 " B loc_FFC593F0 \n"
205 
206 "loc_FFC593A4:\n"
207 " BL sub_FFC5BF9C \n"
208 " B loc_FFC593F0 \n"
209 
210 "loc_FFC593AC:\n"
211 " BL sub_FFC5C01C \n"
212 " B loc_FFC593F0 \n"
213 
214 "loc_FFC593B4:\n"
215 " BL sub_FFC5C078 \n"
216 " BL sub_FFC5C038 \n"
217 " B loc_FFC593F0 \n"
218 
219 "loc_FFC593C0:\n"
220 " LDRH R0, [R7, #0x8C] \n"
221 " CMP R0, #4 \n"
222 " LDRNEH R0, [R7] \n"
223 " SUBNE R12, R0, #0x8200 \n"
224 " SUBNES R12, R12, #0x2A \n"
225 " BNE loc_FFC593F0 \n"
226 " BL sub_FFC5C01C \n"
227 " BL sub_FFC5C3BC \n"
228 " B loc_FFC593F0 \n"
229 
230 "loc_FFC593E4:\n"
231 " LDR R1, =0x70B \n"
232 " LDR R0, =0xFFC58DA8 /*'SsShootTask.c'*/ \n"
233 " BL _DebugAssert \n"
234 
235 "loc_FFC593F0:\n"
236 " LDR R0, [SP] \n"
237 " LDR R1, [R0, #4] \n"
238 " LDR R0, [R6] \n"
239 " BL sub_FFC28814 /*_SetEventFlag*/ \n"
240 " LDR R4, [SP] \n"
241 " LDR R0, [R4, #8] \n"
242 " CMP R0, #0 \n"
243 " LDREQ R1, =0x132 \n"
244 " LDREQ R0, =0xFFC58DA8 /*'SsShootTask.c'*/ \n"
245 " BLEQ _DebugAssert \n"
246 " MOV R0, #0 \n"
247 " STR R0, [R4, #8] \n"
248 " B loc_FFC591A8 \n"
249 );
250 }