root/platform/g15/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 
  20 /*----------------------------------------------------------------------
  21     spytask
  22 -----------------------------------------------------------------------*/
  23 void spytask(long ua, long ub, long uc, long ud, long ue, long uf)
  24 {
  25     (void)ua; (void)ub; (void)uc; (void)ud; (void)ue; (void)uf;
  26     core_spytask();
  27 }
  28 
  29 /*----------------------------------------------------------------------
  30     CreateTask_spytask
  31 -----------------------------------------------------------------------*/
  32 void CreateTask_spytask()
  33 {
  34     _CreateTask("SpyTask", 0x19, 0x2000, spytask, 0);
  35 }
  36 
  37 ///*----------------------------------------------------------------------
  38 // Pointer to stack location where jogdial task records previous and current
  39 // jogdial positions
  40 short *jog_position;
  41 
  42 /*----------------------------------------------------------------------
  43     boot()
  44 
  45     Main entry point for the CHDK code
  46 -----------------------------------------------------------------------*/

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