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 /*---------------------------------------------------------------------- 11 CreateTask_spytask 12 -----------------------------------------------------------------------*/ 13 void CreateTask_spytask() 14 { 15 _CreateTask("SpyTask", 0x19, 0x2000, core_spytask, 0); 16 } 17 18 /*---------------------------------------------------------------------- 19 boot() 20 21 Main entry point for the CHDK code 22 -----------------------------------------------------------------------*/