root/platform/g16/sub/101b/stubs_entry_2.S

/* [<][>][^][v][top][bottom][index][help] */
   1 // G16 1.01b
   2 
   3 #include "stubs_asm.h"
   4 
   5 // BEWARE: thumb functions NEED the thumb bit set in the below list (i.e odd addresses only (0x00000001) )
   6 
   7 #define NULL_SUB 0x    /*0xfc0210b9*/
   8 
   9 NHSTUB(apex2us                                ,0xfc3379cf ) // Shutter.c asserts in sub_fc2e0ca2, similar to sx280 sub_fc2a63d6 and g7x sub_fc16e57e
  10 NHSTUB(CancelHPTimer                          ,0xfc1587cd ) // at 0xfc103e76, in section with "LcdSequence.c" , after TakeSemaphoreStrictly calls
  11 NHSTUB(EnterToCompensationEVF                 ,0xfc254cad ) // search for "ExpOn"
  12 NHSTUB(ExitFromCompensationEVF                ,0xfc254ce9 ) // search for "ExpOff"
  13 NHSTUB(ExpCtrlTool_StartContiAE               ,0xfc242939 ) // search for "ExpCtrl.c" followed by "StartContiAE"
  14 NHSTUB(ExpCtrlTool_StopContiAE                ,0xfc2429cf ) // search for "ExpCtrl.c" followed by "StopContiAE"
  15 NHSTUB(Feof_Fut                               ,0xfc2b03cd ) // next after after Fseek a jump table
  16 NHSTUB(Fflush_Fut                             ,0xfc2b03f5 ) // directly after Feof_Fut in ROM
  17 NHSTUB(GetDrive_TotalClusters                 ,0xfc309375 ) // function immediately before GetDrive_FreeClusters in ROM
  18 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xfc2c7819 ) // in "FocusLensController.c" just before a call to GetFocusLensSubjectDistance
  19 NHSTUB(GetImageFolder                         ,0xfc2abc79 ) //?matches SX60 - close on G7x or SX280 - search routines with "CobjMngr.c" and compare each find to code for SX60
  20 NHSTUB(MakeSDCardBootable                     ,0xfc309783 ) // in function before ref to "SCRIPT" @0xfc3092ae                                              
  21 NHSTUB(realloc                                ,0xfc4c5b1d ) // called just before string "fatal error - scanner input buffer overflow"                                              
  22 NHSTUB(reboot_fw_update                       ,0xfc3905b1 ) // look for "FirmUpgrade.c"                                              
  23 NHSTUB(RefreshPhysicalScreen                  ,0xfc15a39f ) // look for "Reduce ScreenUnLock"
  24 NHSTUB(RenameFile_Fut                         ,0xfc2b017d ) // found after a call to PrepareDirectory_1
  25 NHSTUB(Restart                                ,0xfc0b59b5 ) // one of the calls to StopRedirectUART_FW
  26 NHSTUB(SetFileAttributes                      ,0xfc309b01 ) // function following SetFileTimeStamp in ROM
  27 NHSTUB(SetFileTimeStamp                       ,0xfc309aed ) // from ref to 0x12cea600 @0xfc309ab0, similar to g7x & sx280hs
  28 NHSTUB(SetHPTimerAfterNow                     ,0xfc158735 ) // call before "BattAdjust.c"
  29 NHSTUB(SetParameterData                       ,0xfc0ccdf1 ) // same as PTM_BackupUIProperty_FW
  30 NHSTUB(WriteSDCard                            ,0xfc10e52d ) // above the first occurance of the string "Mounter.c"
  31 NHSTUB(err_init_task                          ,0xfc523860 ) // search for "\n-- %s() error in init_task() -"
  32 NHSTUB(get_dial_hw_position                   ,0xfc42faf7 ) // match to g7x address  ( search for 0xd9850000 until you find a match )
  33 NHSTUB(LogCameraEvent                         ,0xfc308567 )
  34 NHSTUB(captseq_raw_addr_init                  ,0xfc155329 ) // from code hooked in capt_seq.c
  35 NHSTUB(SetZoomActuatorSpeedPercent            ,NULL_SUB)   // most recent cams don't support this
  36 
  37 //******* values below need to be checked *************
  38 //NHSTUB(refresh_bitmap_buf_from                ,NULL_SUB)
  39 
  40 // 1.01B done 
  41 

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