CHDK_DE Vorschauversion  Trunk Rev. 5272
 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 R6, =0x5170 \n"
18 
19 "loc_FFC4AE8C:\n"
20 " LDR R0, [R6, #8] \n"
21 " MOV R2, #0 \n"
22 " MOV R1, SP \n"
23 " BL sub_FFC1693C /*_ReceiveMessageQueue*/ \n"
24 " TST R0, #1 \n"
25 " BEQ loc_FFC4AEB8 \n"
26 " LDR R1, =0x539 \n"
27 " LDR R0, =0xFFC4AA98 /*'SsShootTask.c'*/ \n"
28 " BL _DebugAssert \n"
29 " BL _ExitTask \n"
30 " LDMFD SP!, {R3-R7,PC} \n"
31 
32 "loc_FFC4AEB8:\n"
33 " LDR R0, [SP] \n"
34 " LDR R1, [R0] \n"
35 " CMP R1, #0x1D \n"
36 " ADDLS PC, PC, R1, LSL#2 \n"
37 " B loc_FFC4B084 \n"
38 " B loc_FFC4AF44 \n"
39 " B loc_FFC4AF4C \n"
40 " B loc_FFC4AF54 \n"
41 " B loc_FFC4AF68 \n"
42 " B loc_FFC4AF60 \n"
43 " B loc_FFC4AF70 \n"
44 " B loc_FFC4AF78 \n"
45 " B loc_FFC4AF84 \n"
46 " B loc_FFC4AFDC \n"
47 " B loc_FFC4AF68 \n"
48 " B loc_FFC4AFE4 \n"
49 " B loc_FFC4AFF4 \n"
50 " B loc_FFC4AFFC \n"
51 " B loc_FFC4B004 \n"
52 " B loc_FFC4B00C \n"
53 " B loc_FFC4B014 \n"
54 " B loc_FFC4B01C \n"
55 " B loc_FFC4B024 \n"
56 " B loc_FFC4B030 \n"
57 " B loc_FFC4B038 \n"
58 " B loc_FFC4B040 \n"
59 " B loc_FFC4B048 \n"
60 " B loc_FFC4B050 \n"
61 " B loc_FFC4B05C \n"
62 " B loc_FFC4B064 \n"
63 " B loc_FFC4B06C \n"
64 " B loc_FFC4B074 \n"
65 " B loc_FFC4B07C \n"
66 " B loc_FFC4B090 \n"
67 " B loc_FFC4B090 \n"
68 
69 "loc_FFC4AF44:\n"
70 " BL sub_FFC4B710 \n"
71 " BL shooting_expo_param_override\n" // +
72 " B loc_FFC4AF7C \n"
73 
74 "loc_FFC4AF4C:\n"
75 " BL sub_FFC4B1AC_my \n" // --> Patched. Old value = 0xFFC4B1AC.
76 " B loc_FFC4B090 \n"
77 
78 "loc_FFC4AF54:\n"
79 " MOV R0, #1 \n"
80 " BL sub_FFC4B8AC \n"
81 " B loc_FFC4B090 \n"
82 
83 "loc_FFC4AF60:\n"
84 " BL sub_FFC4B390 \n"
85 " B loc_FFC4B090 \n"
86 
87 "loc_FFC4AF68:\n"
88 " BL sub_FFC4B6F0 \n"
89 " B loc_FFC4B090 \n"
90 
91 "loc_FFC4AF70:\n"
92 " BL sub_FFC4B6F8 \n"
93 " B loc_FFC4B090 \n"
94 
95 "loc_FFC4AF78:\n"
96 " BL sub_FFC4B7CC \n"
97 
98 "loc_FFC4AF7C:\n"
99 " BL sub_FFC491F4 \n"
100 " B loc_FFC4B090 \n"
101 
102 "loc_FFC4AF84:\n"
103 " LDR R4, [R0, #0xC] \n"
104 " BL sub_FFC4B700 \n"
105 " MOV R0, R4 \n"
106 " BL sub_FFD0B4C8 \n"
107 " TST R0, #1 \n"
108 " MOV R5, R0 \n"
109 " BNE loc_FFC4AFC4 \n"
110 " BL sub_FFC5923C \n"
111 " STR R0, [R4, #0x18] \n"
112 " MOV R0, R4 \n"
113 " BL sub_FFD0C2B8 \n"
114 " MOV R0, R4 \n"
115 " BL sub_FFD0C76C \n"
116 " MOV R5, R0 \n"
117 " LDR R0, [R4, #0x18] \n"
118 " BL sub_FFC59450 \n"
119 
120 "loc_FFC4AFC4:\n"
121 " BL sub_FFC4B6F0 \n"
122 " MOV R2, R4 \n"
123 " MOV R1, #9 \n"
124 " MOV R0, R5 \n"
125 " BL sub_FFC495D0 \n"
126 " B loc_FFC4B090 \n"
127 
128 "loc_FFC4AFDC:\n"
129 " BL sub_FFC4B82C \n"
130 " B loc_FFC4AF7C \n"
131 
132 "loc_FFC4AFE4:\n"
133 " LDR R0, =0x18CB0 \n"
134 " LDR R0, [R0, #0x4C] \n"
135 " BL sub_FFC4BBC4 \n"
136 " B loc_FFC4B090 \n"
137 
138 "loc_FFC4AFF4:\n"
139 " BL sub_FFC4BE6C \n"
140 " B loc_FFC4B090 \n"
141 
142 "loc_FFC4AFFC:\n"
143 " BL sub_FFC4BEF8 \n"
144 " B loc_FFC4B090 \n"
145 
146 "loc_FFC4B004:\n"
147 " BL sub_FFD0B6EC \n"
148 " B loc_FFC4B090 \n"
149 
150 "loc_FFC4B00C:\n"
151 " BL sub_FFD0B8D4 \n"
152 " B loc_FFC4B090 \n"
153 
154 "loc_FFC4B014:\n"
155 " BL sub_FFD0B964 \n"
156 " B loc_FFC4B090 \n"
157 
158 "loc_FFC4B01C:\n"
159 " BL sub_FFD0BA0C \n"
160 " B loc_FFC4B090 \n"
161 
162 "loc_FFC4B024:\n"
163 " MOV R0, #0 \n"
164 " BL sub_FFD0BBB0 \n"
165 " B loc_FFC4B090 \n"
166 
167 "loc_FFC4B030:\n"
168 " BL sub_FFD0BCF0 \n"
169 " B loc_FFC4B090 \n"
170 
171 "loc_FFC4B038:\n"
172 " BL sub_FFD0BD84 \n"
173 " B loc_FFC4B090 \n"
174 
175 "loc_FFC4B040:\n"
176 " BL sub_FFD0BE48 \n"
177 " B loc_FFC4B090 \n"
178 
179 "loc_FFC4B048:\n"
180 " BL sub_FFC4BA14 \n"
181 " B loc_FFC4B090 \n"
182 
183 "loc_FFC4B050:\n"
184 " BL sub_FFC4BA40 \n"
185 " BL sub_FFC14170 \n"
186 " B loc_FFC4B090 \n"
187 
188 "loc_FFC4B05C:\n"
189 " BL sub_FFD0BAC8 \n"
190 " B loc_FFC4B090 \n"
191 
192 "loc_FFC4B064:\n"
193 " BL sub_FFD0BB0C \n"
194 " B loc_FFC4B090 \n"
195 
196 "loc_FFC4B06C:\n"
197 " BL sub_FFC4D3A4 \n"
198 " B loc_FFC4B090 \n"
199 
200 "loc_FFC4B074:\n"
201 " BL sub_FFC4D3C0 \n"
202 " B loc_FFC4B090 \n"
203 
204 "loc_FFC4B07C:\n"
205 " BL sub_FFC4D3D0 \n"
206 " B loc_FFC4B090 \n"
207 
208 "loc_FFC4B084:\n"
209 " LDR R1, =0x65E \n"
210 " LDR R0, =0xFFC4AA98 /*'SsShootTask.c'*/ \n"
211 " BL _DebugAssert \n"
212 
213 "loc_FFC4B090:\n"
214 " LDR R0, [SP] \n"
215 " LDR R1, [R0, #4] \n"
216 " LDR R0, [R6, #4] \n"
217 " BL sub_FFC166AC /*_SetEventFlag*/ \n"
218 " LDR R4, [SP] \n"
219 " LDR R0, [R4, #8] \n"
220 " CMP R0, #0 \n"
221 " LDREQ R1, =0x11D \n"
222 " LDREQ R0, =0xFFC4AA98 /*'SsShootTask.c'*/ \n"
223 " BLEQ _DebugAssert \n"
224 " MOV R0, #0 \n"
225 " STR R0, [R4, #8] \n"
226 " B loc_FFC4AE8C \n"
227 );
228 }