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

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define offsetof(TYPE, MEMBER)   ((int) &((TYPE *)0)->MEMBER)
 
#define GREEN_LED   0xC0220120
 
#define AF_LED   0xC0223030
 

Funktionen

void CreateTask_spytask ()
 
int debug_blink (int save_R0)
 
void __attribute__ ((naked, noinline))
 *-------------------------------------------------------------------— Mehr ...
 

Variablen

const char *const new_sa = &_end
 
short * jog_position
 *-------------------------------------------------------------------— Mehr ...
 

Makro-Dokumentation

#define AF_LED   0xC0223030

Definiert in Zeile 25 der Datei boot_hdr.c.

#define GREEN_LED   0xC0220120

Definiert in Zeile 24 der Datei boot_hdr.c.

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

Definiert in Zeile 6 der Datei boot_hdr.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

ASM1989 -> In sx200:FF857190 //"Mounter.c"

ASM1989 -> In sx200:FF81B284 // DebugAssert

Definiert in Zeile 44 der Datei boot_hdr.c.

44  {
45  asm volatile (
46  " STMFD SP!, {R0-R9,LR}\n"
47 );
48  int i, j;
49  for (j=0; j<n; j++)
50  {
51  *((volatile int *) GREEN_LED) = 0x46; // Turn on LED
52  for (i=0; i<0x200000; i++) { asm volatile ( "nop \n" ); }
53 
54  *((volatile int *) GREEN_LED) = 0x44; // Turn off LED
55  for (i=0; i<0x400000; i++) { asm volatile ( "nop \n" ); }
56  }
57  for (i=0; i<0x900000; i++) { asm volatile ( "nop \n" ); }
58  asm volatile (
59  " LDMFD SP!, {R0-R9,PC}\n"
60  );
61 }
void CreateTask_spytask ( )

Definiert in Zeile 13 der Datei boot_hdr.c.

14 {
15  _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0);
16 }
int debug_blink ( int  save_R0)

Definiert in Zeile 28 der Datei boot_hdr.c.

28  {
29  int i;
30  *((volatile int *) AF_LED) = 0x46; // Turn on LED
31  for (i=0; i<800000; i++) // Wait a while
32  {
33  asm volatile ( "nop\n" );
34  }
35 
36  *((volatile int *) AF_LED) = 0x44; // Turn off LED
37  for (i=0; i<800000; i++) // Wait a while
38  {
39  asm volatile ( "nop\n" );
40  }
41  return save_R0;
42 };

Variablen-Dokumentation

short* jog_position

*-------------------------------------------------------------------—

Definiert in Zeile 21 der Datei boot_hdr.c.

const char* const new_sa = &_end

Definiert in Zeile 8 der Datei boot_hdr.c.