CHDK_DE Vorschauversion  Trunk Rev. 5428
 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, =0x253B4 \n"
36 " SUB SP, SP, #4 \n"
37 " B loc_FF86AC70 \n"
38 
39 "loc_FF86AC4C:\n"
40 " TST R3, #4 \n"
41 " BEQ loc_FF86AC6C \n"
42 " LDR R0, [R4] \n"
43 " BL sub_FF822574 /*_ClearEventFlag*/ \n"
44 " LDR R0, [R4] \n"
45 " MOV R1, #8 \n"
46 " BL sub_FF8223D8 /*_SetEventFlag*/ \n"
47 " B loc_FF86AC70 \n"
48 
49 "loc_FF86AC6C:\n"
50 " BL sub_FF86AB84_my \n" // --> Patched. Old value = 0xFF86AB84.
51 
52 "loc_FF86AC70:\n"
53 " MOV R1, #7 \n"
54 " LDR R0, [R4] \n"
55 " MOV R2, #0 \n"
56 " BL sub_FF8223B8 /*_WaitForAnyEventFlag*/ \n"
57 " CMP R0, #0 \n"
58 " MOV R1, SP \n"
59 " BEQ loc_FF86AC9C \n"
60 " LDR R0, =0xFF86AAD8 /*'dwFWrite.c'*/ \n"
61 " MOV R1, #0x274 \n"
62 " BL _DebugAssert \n"
63 " B loc_FF86ACB4 \n"
64 
65 "loc_FF86AC9C:\n"
66 " LDR R0, [R4] \n"
67 " BL sub_FF8225C4 /*_GetEventFlagValue*/ \n"
68 " LDR R3, [SP] \n"
69 " TST R3, #2 \n"
70 " MOV R1, #5 \n"
71 " BEQ loc_FF86AC4C \n"
72 
73 "loc_FF86ACB4:\n"
74 " LDR R3, =0x253B8 \n"
75 " LDR R0, [R3] \n"
76 " BL _GiveSemaphore \n"
77 " BL _ExitTask \n"
78 " ADD SP, SP, #4 \n"
79 " LDMFD SP!, {R4,PC} \n"
80 " MOV PC, LR \n"
81 );
82 }