CHDK_DE Vorschauversion  Trunk Rev. 5251
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
stubs_tasks.c-Dateireferenz

gehe zum Quellcode dieser Datei

Funktionen

void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

*-------------------------------------------------------------------—

!!

IS_ERROR( hSoundHandle )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

IS_ERROR( RetCode )

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

"MOV R3, #0\n" "STR R3, [R9]\n"

TODO! below is from sd400

__MovieRecorder_c__100

__MovieRecorder_c__100

Definiert in Zeile 5 der Datei stubs_tasks.c.

5  {
6 asm volatile (
7 " LDR R1, =0xC0410000 \n"
8 " MOV R0, #0 \n"
9 " STR R0, [R1] \n"
10 " MOV R1, #0x78 \n"
11 " MCR p15, 0, R1, c1, c0 \n"
12 " MOV R1, #0 \n"
13 " MCR p15, 0, R1, c7, c10, 4 \n"
14 " MCR p15, 0, R1, c7, c5 \n"
15 " MCR p15, 0, R1, c7, c6 \n"
16 " MOV R0, #0x3D \n"
17 " MCR p15, 0, R0, c6, c0 \n"
18 " MOV R0, #0xC000002F \n"
19 " MCR p15, 0, R0, c6, c1 \n"
20 " MOV R0, #0x35 \n"
21 " MCR p15, 0, R0, c6, c2 \n"
22 " MOV R0, #0x40000035 \n"
23 " MCR p15, 0, R0, c6, c3 \n"
24 " MOV R0, #0x80000017 \n"
25 " MCR p15, 0, R0, c6, c4 \n"
26 " LDR R0, =0xFF80002D \n"
27 " MCR p15, 0, R0, c6, c5 \n"
28 " MOV R0, #0x34 \n"
29 " MCR p15, 0, R0, c2, c0 \n"
30 " MOV R0, #0x34 \n"
31 " MCR p15, 0, R0, c2, c0, 1 \n"
32 " MOV R0, #0x34 \n"
33 " MCR p15, 0, R0, c3, c0 \n"
34 " LDR R0, =0x3333330 \n"
35 " MCR p15, 0, R0, c5, c0, 2 \n"
36 " LDR R0, =0x3333330 \n"
37 " MCR p15, 0, R0, c5, c0, 3 \n"
38 " MRC p15, 0, R0, c1, c0 \n"
39 " ORR R0, R0, #0x1000 \n"
40 " ORR R0, R0, #4 \n"
41 " ORR R0, R0, #1 \n"
42 " MCR p15, 0, R0, c1, c0 \n"
43 " MOV R1, #0x80000006 \n"
44 " MCR p15, 0, R1, c9, c1 \n"
45 " MOV R1, #6 \n"
46 " MCR p15, 0, R1, c9, c1, 1 \n"
47 " MRC p15, 0, R1, c1, c0 \n"
48 " ORR R1, R1, #0x50000 \n"
49 " MCR p15, 0, R1, c1, c0 \n"
50 " LDR R2, =0xC0200000 \n"
51 " MOV R1, #1 \n"
52 " STR R1, [R2, #0x10C] \n"
53 " MOV R1, #0xFF \n"
54 " STR R1, [R2, #0xC] \n"
55 " STR R1, [R2, #0x1C] \n"
56 " STR R1, [R2, #0x2C] \n"
57 " STR R1, [R2, #0x3C] \n"
58 " STR R1, [R2, #0x4C] \n"
59 " STR R1, [R2, #0x5C] \n"
60 " STR R1, [R2, #0x6C] \n"
61 " STR R1, [R2, #0x7C] \n"
62 " STR R1, [R2, #0x8C] \n"
63 " STR R1, [R2, #0x9C] \n"
64 " STR R1, [R2, #0xAC] \n"
65 " STR R1, [R2, #0xBC] \n"
66 " STR R1, [R2, #0xCC] \n"
67 " STR R1, [R2, #0xDC] \n"
68 " STR R1, [R2, #0xEC] \n"
69 " STR R1, [R2, #0xFC] \n"
70 " LDR R1, =0xC0400008 \n"
71 " LDR R2, =0x430005 \n"
72 " STR R2, [R1] \n"
73 " MOV R1, #1 \n"
74 " LDR R2, =0xC0243100 \n"
75 " STR R2, [R1] \n"
76 " LDR R2, =0xC0242010 \n"
77 " LDR R1, [R2] \n"
78 " ORR R1, R1, #1 \n"
79 " STR R1, [R2] \n"
80 " LDR R0, =0xFFC9A254 \n"
81 " LDR R1, =0x1900 \n"
82 " LDR R3, =0x10FE4 \n"
83 "loc_FF81013C:\n"
84 " CMP R1, R3 \n"
85 " LDRCC R2, [R0], #4 \n"
86 " STRCC R2, [R1], #4 \n"
87 " BCC loc_FF81013C \n"
88 " LDR R1, =0x16EE30 \n"
89 " MOV R2, #0 \n"
90 "loc_FF810154:\n"
91 " CMP R3, R1 \n"
92 " STRCC R2, [R3], #4 \n"
93 " BCC loc_FF810154 \n"
94 " B sub_FF810354 \n"
95  );
96 }