CHDK_DE Vorschauversion  Trunk Rev. 5218
 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, =0x1217C \n"
18 " LDR R6, =0x2820 \n"
19 
20 "loc_FFC4906C:\n"
21 " LDR R0, [R6, #4] \n"
22 " MOV R2, #0 \n"
23 " MOV R1, SP \n"
24 " BL sub_FFC16370 /*_ReceiveMessageQueue*/ \n"
25 " TST R0, #1 \n"
26 " BEQ loc_FFC49098 \n"
27 " LDR R1, =0x588 \n"
28 " LDR R0, =0xFFC48C68 /*'SsShootTask.c'*/ \n"
29 " BL _DebugAssert \n"
30 " BL _ExitTask \n"
31 " LDMFD SP!, {R3-R7,PC} \n"
32 
33 "loc_FFC49098:\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_FFC49294 \n"
39 " B loc_FFC49124 \n"
40 " B loc_FFC4912C \n"
41 " B loc_FFC49154 \n"
42 " B loc_FFC49168 \n"
43 " B loc_FFC49160 \n"
44 " B loc_FFC49170 \n"
45 " B loc_FFC49178 \n"
46 " B loc_FFC49184 \n"
47 " B loc_FFC491DC \n"
48 " B loc_FFC49168 \n"
49 " B loc_FFC491E4 \n"
50 " B loc_FFC491F0 \n"
51 " B loc_FFC491F8 \n"
52 " B loc_FFC49200 \n"
53 " B loc_FFC49208 \n"
54 " B loc_FFC49210 \n"
55 " B loc_FFC49218 \n"
56 " B loc_FFC49220 \n"
57 " B loc_FFC4922C \n"
58 " B loc_FFC49234 \n"
59 " B loc_FFC4923C \n"
60 " B loc_FFC49244 \n"
61 " B loc_FFC4924C \n"
62 " B loc_FFC49258 \n"
63 " B loc_FFC49260 \n"
64 " B loc_FFC49268 \n"
65 " B loc_FFC49270 \n"
66 " B loc_FFC49278 \n"
67 " B loc_FFC49284 \n"
68 " B loc_FFC492A0 \n"
69 
70 "loc_FFC49124:\n"
71 " BL sub_FFC4993C \n"
72 " BL shooting_expo_param_override\n" // +
73 " B loc_FFC4917C \n"
74 
75 "loc_FFC4912C:\n"
76 " MOV R0, #0xC \n"
77 " BL sub_FFC4D434 \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_FFC491D4 \n"
84 " BL sub_FFC493BC_my \n" // --> Patched. Old value = 0xFFC493BC.
85 " B loc_FFC492A0 \n"
86 
87 "loc_FFC49154:\n"
88 " MOV R0, #1 \n"
89 " BL sub_FFC49B48 \n"
90 " B loc_FFC492A0 \n"
91 
92 "loc_FFC49160:\n"
93 " BL sub_FFC495A0 \n"
94 " B loc_FFC492A0 \n"
95 
96 "loc_FFC49168:\n"
97 " BL sub_FFC4991C \n"
98 " B loc_FFC492A0 \n"
99 
100 "loc_FFC49170:\n"
101 " BL sub_FFC49924 \n"
102 " B loc_FFC492A0 \n"
103 
104 "loc_FFC49178:\n"
105 " BL sub_FFC49A68 \n"
106 
107 "loc_FFC4917C:\n"
108 " BL sub_FFC47158 \n"
109 " B loc_FFC492A0 \n"
110 
111 "loc_FFC49184:\n"
112 " LDR R4, [R0, #0xC] \n"
113 " BL sub_FFC4992C \n"
114 " MOV R0, R4 \n"
115 " BL sub_FFCFB4E8 \n"
116 " TST R0, #1 \n"
117 " MOV R5, R0 \n"
118 " BNE loc_FFC491C4 \n"
119 " BL sub_FFC5958C \n"
120 " STR R0, [R4, #0x18] \n"
121 " MOV R0, R4 \n"
122 " BL sub_FFCFC384 \n"
123 " MOV R0, R4 \n"
124 " BL sub_FFCFC758 \n"
125 " MOV R5, R0 \n"
126 " LDR R0, [R4, #0x18] \n"
127 " BL sub_FFC597A0 \n"
128 
129 "loc_FFC491C4:\n"
130 " BL sub_FFC4991C \n"
131 " MOV R2, R4 \n"
132 " MOV R1, #9 \n"
133 " MOV R0, R5 \n"
134 
135 "loc_FFC491D4:\n"
136 " BL sub_FFC475A0 \n"
137 " B loc_FFC492A0 \n"
138 
139 "loc_FFC491DC:\n"
140 " BL sub_FFC49AC8 \n"
141 " B loc_FFC4917C \n"
142 
143 "loc_FFC491E4:\n"
144 " LDR R0, [R7, #0x4C] \n"
145 " BL sub_FFC49E58 \n"
146 " B loc_FFC492A0 \n"
147 
148 "loc_FFC491F0:\n"
149 " BL sub_FFC4A100 \n"
150 " B loc_FFC492A0 \n"
151 
152 "loc_FFC491F8:\n"
153 " BL sub_FFC4A194 \n"
154 " B loc_FFC492A0 \n"
155 
156 "loc_FFC49200:\n"
157 " BL sub_FFCFB708 \n"
158 " B loc_FFC492A0 \n"
159 
160 "loc_FFC49208:\n"
161 " BL sub_FFCFB8E8 \n"
162 " B loc_FFC492A0 \n"
163 
164 "loc_FFC49210:\n"
165 " BL sub_FFCFB978 \n"
166 " B loc_FFC492A0 \n"
167 
168 "loc_FFC49218:\n"
169 " BL sub_FFCFBA20 \n"
170 " B loc_FFC492A0 \n"
171 
172 "loc_FFC49220:\n"
173 " MOV R0, #0 \n"
174 " BL sub_FFCFBBDC \n"
175 " B loc_FFC492A0 \n"
176 
177 "loc_FFC4922C:\n"
178 " BL sub_FFCFBD14 \n"
179 " B loc_FFC492A0 \n"
180 
181 "loc_FFC49234:\n"
182 " BL sub_FFCFBDA4 \n"
183 " B loc_FFC492A0 \n"
184 
185 "loc_FFC4923C:\n"
186 " BL sub_FFCFBE64 \n"
187 " B loc_FFC492A0 \n"
188 
189 "loc_FFC49244:\n"
190 " BL sub_FFC49CB0 \n"
191 " B loc_FFC492A0 \n"
192 
193 "loc_FFC4924C:\n"
194 " BL sub_FFC49CDC \n"
195 " BL sub_FFC14634 \n"
196 " B loc_FFC492A0 \n"
197 
198 "loc_FFC49258:\n"
199 " BL sub_FFCFBADC \n"
200 " B loc_FFC492A0 \n"
201 
202 "loc_FFC49260:\n"
203 " BL sub_FFCFBB20 \n"
204 " B loc_FFC492A0 \n"
205 
206 "loc_FFC49268:\n"
207 " BL sub_FFC4BCA0 \n"
208 " B loc_FFC492A0 \n"
209 
210 "loc_FFC49270:\n"
211 " BL sub_FFC4BCFC \n"
212 " B loc_FFC492A0 \n"
213 
214 "loc_FFC49278:\n"
215 " BL sub_FFC4BD58 \n"
216 " BL sub_FFC4BD18 \n"
217 " B loc_FFC492A0 \n"
218 
219 "loc_FFC49284:\n"
220 " LDRH R0, [R7, #0x90] \n"
221 " CMP R0, #4 \n"
222 " BLNE sub_FFC4BFC4 \n"
223 " B loc_FFC492A0 \n"
224 
225 "loc_FFC49294:\n"
226 " LDR R1, =0x6C9 \n"
227 " LDR R0, =0xFFC48C68 /*'SsShootTask.c'*/ \n"
228 " BL _DebugAssert \n"
229 
230 "loc_FFC492A0:\n"
231 " LDR R0, [SP] \n"
232 " LDR R1, [R0, #4] \n"
233 " LDR R0, [R6] \n"
234 " BL sub_FFC514E4 /*_SetEventFlag*/ \n"
235 " LDR R4, [SP] \n"
236 " LDR R0, [R4, #8] \n"
237 " CMP R0, #0 \n"
238 " LDREQ R1, =0x12B \n"
239 " LDREQ R0, =0xFFC48C68 /*'SsShootTask.c'*/ \n"
240 " BLEQ _DebugAssert \n"
241 " MOV R0, #0 \n"
242 " STR R0, [R4, #8] \n"
243 " B loc_FFC4906C \n"
244 );
245 }