CHDK_DE Vorschauversion  Trunk Rev. 5249
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
mount.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

Definiert in Zeile 4 der Datei mount.c.

4  {
5  asm volatile(
6  "STMFD SP!, {R4,LR}\n"
7 
8  "BL _Unmount_FileSystem\n" // +
9 
10  "BL sub_FFB3B500\n"
11  "SUBS R4, R0, #0\n"
12  "MOV R0, #0x5000\n"
13  "MOV R1, #0\n"
14  "ADD R0, R0, #6\n"
15  "BEQ loc_FF9D32CC\n"
16  "BL sub_FF9A42AC\n" // PostLogicalEventToUI
17  "loc_FF9D32CC:\n"
18 
19  //"BL sub_FFB3B52C\n" // orginal
20  "BL sub_FFB3B52C_my\n" // + --->
21 
22  "MOV R0, #0x5000\n"
23  "CMP R4, #0\n"
24  "MOV R1, R4\n"
25  "ADD R0, R0, #6\n"
26  "LDMNEFD SP!, {R4,PC}\n"
27  "LDMFD SP!, {R4,LR}\n"
28  );
29 
30  //debug_led(1); // DEBUG help (check if code gets executed)
31 
32  asm volatile(
33  "B sub_FF9A42AC\n" // PostLogicalEventToUI
34  );
35 }