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

gehe zum Quellcode dieser Datei

Funktionen

void JogDial_task_my (void)
 
void taskCreateHook (int *p)
 
void taskCreateHook2 (int *p)
 
void CreateTask_spytask ()
 
void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Variablen

const char *const new_sa = &_end
 

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 30 der Datei boot.c.

30  {
31  asm volatile (
32  "LDR R1, =0xC0410000\n"
33  "MOV R0, #0\n"
34  "STR R0, [R1]\n"
35  "MOV R1, #0x78\n"
36  "MCR p15, 0, R1,c1,c0\n"
37  "MOV R1, #0\n"
38  "MCR p15, 0, R1,c7,c10, 4\n"
39  "MCR p15, 0, R1,c7,c5\n"
40  "MCR p15, 0, R1,c7,c6\n"
41  "MOV R0, #0x3D\n"
42  "MCR p15, 0, R0,c6,c0\n"
43  "MOV R0, #0xC000002F\n"
44  "MCR p15, 0, R0,c6,c1\n"
45  "MOV R0, #0x35\n"
46  "MCR p15, 0, R0,c6,c2\n"
47  "MOV R0, #0x40000035\n"
48  "MCR p15, 0, R0,c6,c3\n"
49  "MOV R0, #0x80000017\n"
50  "MCR p15, 0, R0,c6,c4\n"
51  "LDR R0, =0xFF80002D\n"
52  "MCR p15, 0, R0,c6,c5\n"
53  "MOV R0, #0x34\n"
54  "MCR p15, 0, R0,c2,c0\n"
55  "MOV R0, #0x34\n"
56  "MCR p15, 0, R0,c2,c0, 1\n"
57  "MOV R0, #0x34\n"
58  "MCR p15, 0, R0,c3,c0\n"
59  "LDR R0, =0x3333330\n"
60  "MCR p15, 0, R0,c5,c0, 2\n"
61  "LDR R0, =0x3333330\n"
62  "MCR p15, 0, R0,c5,c0, 3\n"
63  "MRC p15, 0, R0,c1,c0\n"
64  "ORR R0, R0, #0x1000\n"
65  "ORR R0, R0, #4\n"
66  "ORR R0, R0, #1\n"
67  "MCR p15, 0, R0,c1,c0\n"
68  "MOV R1, #0x80000006\n"
69  "MCR p15, 0, R1,c9,c1\n"
70  "MOV R1, #6\n"
71  "MCR p15, 0, R1,c9,c1, 1\n"
72  "MRC p15, 0, R1,c1,c0\n"
73  "ORR R1, R1, #0x50000\n"
74  "MCR p15, 0, R1,c1,c0\n"
75  "LDR R2, =0xC0200000\n"
76  "MOV R1, #1\n"
77  "STR R1, [R2,#0x10C]\n"
78  "MOV R1, #0xFF\n"
79  "STR R1, [R2,#0xC]\n"
80  "STR R1, [R2,#0x1C]\n"
81  "STR R1, [R2,#0x2C]\n"
82  "STR R1, [R2,#0x3C]\n"
83  "STR R1, [R2,#0x4C]\n"
84  "STR R1, [R2,#0x5C]\n"
85  "STR R1, [R2,#0x6C]\n"
86  "STR R1, [R2,#0x7C]\n"
87  "STR R1, [R2,#0x8C]\n"
88  "STR R1, [R2,#0x9C]\n"
89  "STR R1, [R2,#0xAC]\n"
90  "STR R1, [R2,#0xBC]\n"
91  "STR R1, [R2,#0xCC]\n"
92  "STR R1, [R2,#0xDC]\n"
93  "STR R1, [R2,#0xEC]\n"
94  "STR R1, [R2,#0xFC]\n"
95  "LDR R1, =0xC0400008\n"
96  "LDR R2, =0x430005\n"
97  "STR R2, [R1]\n"
98  "MOV R1, #1\n"
99  "LDR R2, =0xC0243100\n"
100  "STR R2, [R1]\n"
101  "LDR R2, =0xC0242010\n"
102  "LDR R1, [R2]\n"
103  "ORR R1, R1, #1\n"
104  "STR R1, [R2]\n"
105  "LDR R0, =0xFFBE2C64\n"
106  "LDR R1, =0x1900\n"
107  "LDR R3, =0x11934\n"
108  "loc_FF81013C:\n"
109  "CMP R1, R3\n"
110  "LDRCC R2, [R0],#4\n"
111  "STRCC R2, [R1],#4\n"
112  "BCC loc_FF81013C\n"
113  "LDR R1, =0xC2D08\n"
114  "MOV R2, #0\n"
115  "loc_FF810154:\n"
116  "CMP R3, R1\n"
117  "STRCC R2, [R3],#4\n"
118  "BCC loc_FF810154\n"
119  "B sub_FF8101A0_my\n" //---------->
120  );
121 };
void CreateTask_spytask ( )

Definiert in Zeile 25 der Datei boot.c.

25  {
26  _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);
27 };
void JogDial_task_my ( void  )
void taskCreateHook ( int *  p)

Definiert in Zeile 9 der Datei boot.c.

9  {
10  p-=17;
11  if (p[0]==0xFF86CB80) p[0]=(int)capt_seq_task;
12  if (p[0]==0xFF821764) p[0]=(int)mykbd_task;
13  if (p[0]==0xFF8892BC) p[0]=(int)init_file_modules_task;
14  if (p[0]==0xFF84DAF0) p[0]=(int)JogDial_task_my;
15  if (p[0]==0xFF867D90) p[0]=(int)movie_record_task;
16  if (p[0]==0xFF8B3E4C) p[0]=(int)exp_drv_task;
17 }
void taskCreateHook2 ( int *  p)

Definiert in Zeile 19 der Datei boot.c.

19  {
20  p-=17;
21  if (p[0]==0xFF8892BC) p[0]=(int)init_file_modules_task;
22  if (p[0]==0xFF8B3E4C) p[0]=(int)exp_drv_task;
23 }

Variablen-Dokumentation

const char* const new_sa = &_end

Definiert in Zeile 5 der Datei boot.c.