root/platform/sx50hs/sub/boot_hdr.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. spytask
  2. CreateTask_spytask

   1 #include "lolevel.h"
   2 #include "platform.h"
   3 #include "core.h"
   4 #include "dryos31.h"
   5 
   6 #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
   7 
   8 const char * const new_sa = &_end;
   9 
  10 // Forward declarations
  11 extern volatile int jogdial_stopped;
  12 void JogDial_task_my(void);
  13 
  14 extern void task_CaptSeq();
  15 extern void task_InitFileModules();
  16 extern void task_RotaryEncoder();
  17 extern void task_MovieRecord();
  18 extern void task_ExpDrv();
  19 extern void task_FileWrite();
  20 
  21 /*----------------------------------------------------------------------
  22     spytask
  23 -----------------------------------------------------------------------*/
  24 void spytask(long ua, long ub, long uc, long ud, long ue, long uf)
  25 {
  26     (void)ua; (void)ub; (void)uc; (void)ud; (void)ue; (void)uf;
  27     core_spytask();
  28 }
  29 
  30 /*----------------------------------------------------------------------
  31     CreateTask_spytask
  32 -----------------------------------------------------------------------*/
  33 void CreateTask_spytask()
  34 {
  35     _CreateTask("SpyTask", 0x19, 0x2000, spytask, 0);
  36 }
  37 
  38 ///*----------------------------------------------------------------------
  39 // Pointer to stack location where jogdial task records previous and current
  40 // jogdial positions
  41 short *jog_position;
  42 
  43 /*----------------------------------------------------------------------
  44     boot()
  45 
  46     Main entry point for the CHDK code
  47 -----------------------------------------------------------------------*/

/* [<][>][^][v][top][bottom][index][help] */