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

gehe zum Quellcode dieser Datei

Datenstrukturen

struct  cam_ptp_data_chunk
 
struct  fwt_data_struct
 

Makrodefinitionen

#define MAX_CHUNKS_FOR_JPEG   3
 
#define CAM_HAS_COMPLETEFILEWRITE_REPLACEMENT   1
 

Funktionen

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

Makro-Dokumentation

#define CAM_HAS_COMPLETEFILEWRITE_REPLACEMENT   1

Definiert in Zeile 26 der Datei filewrite.c.

#define MAX_CHUNKS_FOR_JPEG   3

Definiert in Zeile 12 der Datei filewrite.c.

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 32 der Datei filewrite.c.

32  {
33 asm volatile (
34 " STMFD SP!, {R4,LR} \n"
35 " LDR R4, =0x1C63C \n"
36 " SUB SP, SP, #4 \n"
37 " B loc_FF8687F0 \n"
38 
39 "loc_FF8687CC:\n"
40 " TST R3, #4 \n"
41 " BEQ loc_FF8687EC \n"
42 " LDR R0, [R4] \n"
43 " BL sub_FF820EBC /*_ClearEventFlag*/ \n"
44 " LDR R0, [R4] \n"
45 " MOV R1, #8 \n"
46 " BL sub_FF820D20 /*_SetEventFlag*/ \n"
47 " B loc_FF8687F0 \n"
48 
49 "loc_FF8687EC:\n"
50 " BL sub_FF868704_my \n" // --> Patched. Old value = 0xFF868704.
51 
52 "loc_FF8687F0:\n"
53 " MOV R1, #7 \n"
54 " LDR R0, [R4] \n"
55 " MOV R2, #0 \n"
56 " BL sub_FF820D00 /*_WaitForAnyEventFlag*/ \n"
57 " CMP R0, #0 \n"
58 " MOV R1, SP \n"
59 " BEQ loc_FF868820 \n"
60 " MOV R1, #0x268 \n"
61 " LDR R0, =0xFF86865C /*'dwFWrite.c'*/ \n"
62 " ADD R1, R1, #3 \n"
63 " BL _DebugAssert \n"
64 " B loc_FF868838 \n"
65 
66 "loc_FF868820:\n"
67 " LDR R0, [R4] \n"
68 " BL sub_FF820F0C /*_GetEventFlagValue*/ \n"
69 " LDR R3, [SP] \n"
70 " TST R3, #2 \n"
71 " MOV R1, #5 \n"
72 " BEQ loc_FF8687CC \n"
73 
74 "loc_FF868838:\n"
75 " LDR R3, =0x1C640 \n"
76 " LDR R0, [R3] \n"
77 " BL _GiveSemaphore \n"
78 " BL _ExitTask \n"
79 " ADD SP, SP, #4 \n"
80 " LDMFD SP!, {R4,PC} \n"
81 " MOV PC, LR \n"
82 );
83 }