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

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define LED_PR   0xC0220138
 
#define offsetof(TYPE, MEMBER)   ((int) &((TYPE *)0)->MEMBER)
 

Funktionen

void task_FileWrite ()
 
void __attribute__ ((naked, noinline))
 
void JogDial_task_my (void)
 
void taskHook (context_t **context)
 
void CreateTask_spytask ()
 

Variablen

const char *const new_sa = &_end
 

Makro-Dokumentation

#define LED_PR   0xC0220138

Definiert in Zeile 11 der Datei boot.c.

#define offsetof (   TYPE,
  MEMBER 
)    ((int) &((TYPE *)0)->MEMBER)

Definiert in Zeile 33 der Datei boot.c.

Dokumentation der Funktionen

void __attribute__ ( (naked, noinline)  )

!!

Definiert in Zeile 12 der Datei boot.c.

13 {
14  volatile long *p=(void*)LED_PR;
15  int i;
16  int cnt =100;
17  for(;cnt>0;cnt--){
18  p[0]=0x46;
19 
20  for(i=0;i<0x200000;i++){
21  asm ("nop\n");
22  asm ("nop\n");
23  }
24  p[0]=0x44;
25  for(i=0;i<0x200000;i++){
26  asm ("nop\n");
27  asm ("nop\n");
28  }
29  }
30  shutdown();
31 }
void CreateTask_spytask ( )

Definiert in Zeile 53 der Datei boot.c.

53  {
54  _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);
55 };
void JogDial_task_my ( void  )
void task_FileWrite ( )
void taskHook ( context_t **  context)

Definiert in Zeile 39 der Datei boot.c.

39  {
40 
41 task_t *tcb=(task_t*)((char*)context-offsetof(task_t, context));
42 
43 if(!_strcmp(tcb->name, "PhySw")) tcb->entry = (void*)mykbd_task; //JHARP - Verified name - Sept 5, 2010
44 if(!_strcmp(tcb->name, "CaptSeqTask")) tcb->entry = (void*)capt_seq_task; //JHARP - Verified name - Sept 5, 2010
45 if(!_strcmp(tcb->name, "InitFileModules")) tcb->entry = (void*)init_file_modules_task; //JHARP - Verified name - Sept 5, 2010
46 if(!_strcmp(tcb->name, "MovieRecord")) tcb->entry = (void*)movie_record_task; //JHARP - Verified name - Sept 5, 2010
47 if(!_strcmp(tcb->name, "ExpDrvTask")) tcb->entry = (void*)exp_drv_task; //JHARP - Verified name - Sept 5, 2010
48 if(!_strcmp(tcb->name, "RotarySw")) tcb->entry = (void*)JogDial_task_my; //JHARP - Must verify the code in use - Sept 5, 2010
49  if(tcb->entry == (void*)task_FileWrite) tcb->entry = (void*)filewritetask;
50 
51 }

Variablen-Dokumentation

const char* const new_sa = &_end

Definiert in Zeile 37 der Datei boot.c.