root/platform/s2is/sub/100g/stubs_entry.S

/* [<][>][^][v][top][bottom][index][help] */
   1 // !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
   2 #include "stubs_asm.h"
   3 
   4 // Camera info:
   5 //   Firmware Ver GM1.00G   // Found @ 0xff81ada0, "GM1.00G" @ 0xff81adad
   6 //   Firmware build timestamp: Dec 19 2005 18:54:40
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.03MB, should be 7.94MB
   9 //   Could not find Camera name - possible corrupt firmware dump
  10 
  11 // Values for makefile.inc
  12 //   DIGIC = 20# DIGIC II
  13 //   MAXRAMADDR = 0x01ffffff
  14 //   MEMISOSTART = 0x0006ef70
  15 
  16 // Detected address ranges:
  17 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  18 // RAM data 0x00001900 - 0x0000f4e0 copied from 0xffb090b0 (  56288 bytes)
  19 
  20 // Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
  21 //    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
  22 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xff967eb4
  23 //NHSTUB(ExitFromCompensationEVF              ,0xff96b440) //  1 70%    *** != 0xff967f08
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffa8e778) //  1 87%
  25 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffa8ed00
  26 NHSTUB(GetParameterData                       ,0xff987d44) //  1 76%
  27 //NHSTUB(GetPropertyCase                      ,0xff825d04) //  2 71%    *** != 0xff825d08
  28 NHSTUB(GetSystemTime                          ,0xff814b98) //  1 96%
  29 //NHSTUB(GetZoomLensCurrentPoint              ,0xffa87f6c) //120        *** != 0xffaa85b0
  30 //NHSTUB(GetZoomLensCurrentPosition           ,0xffa87f80) //102        *** != 0xffaa85c4
  31 NHSTUB(PutInNdFilter                          ,0xffaa6ae4) //  1 92%
  32 // ALT: NHSTUB(PutInNdFilter, 0xffaa6b2c) // 1 25/2
  33 // ALT: NHSTUB(PutInNdFilter, 0xffaa6ef4) // 1 25/2
  34 // ALT: NHSTUB(PutInNdFilter, 0xffaa8688) // 1 25/2
  35 // ALT: NHSTUB(PutInNdFilter, 0xffaa86d0) // 1 25/2
  36 // ALT: NHSTUB(PutInNdFilter, 0xffaa6b2c) // 2 25/2
  37 // ALT: NHSTUB(PutInNdFilter, 0xffaa6ef4) // 2 25/2
  38 // ALT: NHSTUB(PutInNdFilter, 0xffaa8688) // 2 25/2
  39 // ALT: NHSTUB(PutInNdFilter, 0xffaa86d0) // 2 25/2
  40 NHSTUB(PutOutNdFilter                         ,0xffaa6f3c) //  1 94%
  41 //NHSTUB(Remove                               ,0xff8d2698) //  3 52%    *** != 0xff87710c
  42 //NHSTUB(Restart                              ,0xff823de4) //  1 84%    *** != 0xff823de8
  43 NHSTUB(SetCurrentCaptureModeType              ,0xff9aea98) //  1 73%
  44 NHSTUB(SetFileAttributes                      ,0xff877258) //  1 58%
  45 //NHSTUB(SetParameterData                     ,0xff987d40) //  1 66%    *** != 0xff987c70
  46 // ERROR: SetPropertyCase is not found.                    //--- ---    *** != 0xff825c00
  47 NHSTUB(UpdateMBROnFlash                       ,0xff87620c) //  1 96%
  48 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0x00000000
  49 NHSTUB(add_ptp_handler                        ,0xffa4b9ac) //  1 96%
  50 // ERROR: free is not found.                               //--- ---    *** != 0xffaf7318
  51 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0xff829470
  52 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff829484
  53 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0xff829364
  54 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff829e58
  55 //NHSTUB(kbd_pwr_off                          ,0xff82b0d4) //  1 83%    *** != 0xff82ae84
  56 // ALT: NHSTUB(kbd_pwr_off, 0xff82b0f0) // 1 5/1
  57 // ALT: NHSTUB(kbd_pwr_off, 0xff82ae84) // 3 5/1
  58 // ALT: NHSTUB(kbd_pwr_off, 0xff82aea0) // 3 5/1
  59 // ALT: NHSTUB(kbd_pwr_off, 0xff82af70) // 3 5/1
  60 // ALT: NHSTUB(kbd_pwr_off, 0xff82af8c) // 3 5/1
  61 NHSTUB(kbd_pwr_on                             ,0xff94003c) //  1 55%
  62 // ALT: NHSTUB(kbd_pwr_on, 0xff940068) // 1 5/4
  63 NHSTUB(malloc                                 ,0xffaf730c) //  1 53%
  64 NHSTUB(mkdir                                  ,0xff877288) //  1 61%
  65 // ALT: NHSTUB(mkdir, 0xff877348) // 1 19/12
  66 NHSTUB(taskIdListGet                          ,0xffb02470) //  1 82%
  67 NHSTUB(localtime                              ,0xffaeea60) //  1 93%
  68 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff875ff0
  69 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  70 
  71 // Check of modemap from 'platform/CAMERA/shooting.c':
  72 // Firmware modemap table found @ff9834dc -> ff9834dc
  73 // Strange mode 0x00020011 in firmware but not in current modemap
  74 // Strange mode 0x00030012 in firmware but not in current modemap
  75 
  76 // Values below can be overridden in 'stubs_min.S':
  77 DEF(levent_table                            ,0xff97d690) // Found @0xff97d690
  78 DEF(FlashParamsTable                        ,0xff985604) // Found @0xff985604
  79 DEF(fileio_semaphore                        ,0x00003448) // Found @0xff874420
  80 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812278
  81 DEF(exmem_types_table                       ,0xff8120d0) // Found @0xff8120d0
  82 DEF_CONST(exmem_type_count                  ,0x0000000c)
  83 DEF(imager_active                           ,0x00003a70) // Found @0xff8d6ea4 (0x3a70 + 0)
  84 DEF_CONST(uiprop_count                      ,0x0000004f) // Found @0xff9872fc
  85 
  86 // Values below go in 'lib.c':
  87 //int get_flash_params_count(void) { return 0x55; }                          // Found @0xff987db0
  88 
  89 // Values below go in 'platform_camera.h':
  90 //#define PARAM_CAMERA_NAME 2 // Found @0xff984f7c
  91 
  92 // Misc stuff
  93 
  94 // EXMEM types:
  95 // EXMEM_RAMDISK   0
  96 // EXMEM_COM       1
  97 // EXMEM_FORMATTER 2
  98 // EXMEM_SHADING   3
  99 // EXMEM_FAMODE    4
 100 // EXMEM_FIRMUP    5
 101 // EXMEM_FILESTORE 6
 102 // EXMEM_MOVIE_REC 7
 103 // EXMEM_MOVIE_PLY 8
 104 // EXMEM_WIDE      9
 105 // EXMEM_NARROW    10
 106 // EXMEM_PCEVF     11
 107 
 108 // LED table init @ 0xff82ecb0
 109 // LED #1: 0xc022008c, offset 0x104
 110 // LED #2: 0xc0220088, offset 0x144
 111 // LED #3: 0xc02200fc, offset 0x1c4
 112 
 113 // Stubs below matched 100%.
 114 //    Name                                     Address                Comp to stubs_entry_2.S
 115 NHSTUB(AllocateUncacheableMemory              ,0xff814810) //  1
 116 NHSTUB(Close                                  ,0xff877100) //120
 117 NHSTUB(CreateBinarySemaphore                  ,0xff82176c) //115
 118 NHSTUB(CreateTask                             ,0xff82239c) //120
 119 NHSTUB(DebugAssert                            ,0xff813d58) //1100
 120 NHSTUB(DeleteFile_Fut                         ,0xff86f980) //  1
 121 NHSTUB(DoAELock                               ,0xff967fd0) //120
 122 NHSTUB(DoAFLock                               ,0xff967cd4) //120
 123 NHSTUB(ExecuteEventProcedure                  ,0xff816ab4) //  1
 124 NHSTUB(ExitTask                               ,0xff82275c) //120
 125 NHSTUB(Fclose_Fut                             ,0xff86fac0) //  1
 126 NHSTUB(Feof_Fut                               ,0xff86fcd4) //  1
 127 NHSTUB(Fflush_Fut                             ,0xff86fd0c) //  1
 128 NHSTUB(Fgets_Fut                              ,0xff86fc44) //  1
 129 NHSTUB(Fopen_Fut                              ,0xff86fa84) //  1
 130 NHSTUB(Fread_Fut                              ,0xff86fba4) //  1
 131 NHSTUB(FreeUncacheableMemory                  ,0xff814844) //  1
 132 NHSTUB(Fseek_Fut                              ,0xff86fc8c) //  1
 133 NHSTUB(Fwrite_Fut                             ,0xff86fbf4) //  1
 134 NHSTUB(GetBatteryTemperature                  ,0xff82e368) //102
 135 NHSTUB(GetCCDTemperature                      ,0xff82e354) //102
 136 NHSTUB(GetCurrentAvValue                      ,0xffaa6ad0) //120
 137 NHSTUB(GetCurrentShutterSpeed                 ,0xffaa6724) //120
 138 NHSTUB(GetUsableMaxAv                         ,0xffaa6cfc) //120
 139 NHSTUB(GetUsableMinAv                         ,0xffaa6cd8) //120
 140 NHSTUB(GetDrive_ClusterSize                   ,0xff87652c) //119
 141 NHSTUB(GetDrive_FreeClusters                  ,0xff8765c4) //1103
 142 NHSTUB(GetDrive_TotalClusters                 ,0xff876588) //119
 143 NHSTUB(GetOpticalTemperature                  ,0xff82e340) //120
 144 NHSTUB(GiveSemaphore                          ,0xff821d54) //120
 145 NHSTUB(IsStrobeChargeCompleted                ,0xff912c6c) //  1
 146 NHSTUB(LEDDrive                               ,0xff82e880) //120
 147 NHSTUB(LocalTime                              ,0xff8144d8) //115
 148 NHSTUB(LockMainPower                          ,0xff983254) //120
 149 NHSTUB(MakeDirectory_Fut                      ,0xff86fa0c) //  1
 150 NHSTUB(MoveFocusLensToDistance                ,0xffaa8cbc) //102
 151 NHSTUB(MoveZoomLensWithPoint                  ,0xffa87d8c) //120
 152 NHSTUB(Open                                   ,0xff8770f4) //120
 153 NHSTUB(PT_PlaySound                           ,0xff97baa4) //  1
 154 NHSTUB(PostLogicalEventForNotPowerType        ,0xff97fee4) //120
 155 NHSTUB(PostLogicalEventToUI                   ,0xff97ff70) //120
 156 NHSTUB(Read                                   ,0xff877160) //120
 157 NHSTUB(RefreshPhysicalScreen                  ,0xff998640) //120
 158 NHSTUB(RenameFile_Fut                         ,0xff86f900) //  1
 159 NHSTUB(SetAE_ShutterSpeed                     ,0xffaabb98) //102
 160 NHSTUB(SetAutoShutdownTime                    ,0xff98314c) //120
 161 NHSTUB(SetLogicalEventActive                  ,0xff9816f4) //1104
 162 NHSTUB(SetScriptMode                          ,0xff981758) //120
 163 NHSTUB(SleepTask                              ,0xff8221fc) //120
 164 NHSTUB(TakeSemaphore                          ,0xff821b6c) //1101
 165 NHSTUB(TurnOffBackLight                       ,0xff9cbc64) //  1
 166 NHSTUB(TurnOnBackLight                        ,0xff9cbc38) //  1
 167 NHSTUB(TurnOnDisplay                          ,0xff93cddc) //120
 168 NHSTUB(TurnOffDisplay                         ,0xff93cdec) //120
 169 NHSTUB(UnlockAE                               ,0xff968024) //120
 170 NHSTUB(UnlockAF                               ,0xff967db0) //120
 171 NHSTUB(UnlockMainPower                        ,0xff983308) //120
 172 NHSTUB(VbattGet                               ,0xff82d570) //120
 173 NHSTUB(Write                                  ,0xff87716c) //120
 174 NHSTUB(_log                                   ,0xffae084c) //121
 175 NHSTUB(_log10                                 ,0xffae0ef4) //121
 176 NHSTUB(_pow                                   ,0xffae13e4) //121
 177 NHSTUB(_sqrt                                  ,0xffae5730) //  1
 178 NHSTUB(apex2us                                ,0xff8bbbb4) //  1
 179 NHSTUB(close                                  ,0xffaf42cc) //109
 180 NHSTUB(exmem_ualloc                           ,0xff812a74) //122
 181 NHSTUB(exmem_ufree                            ,0xff812ac0) //122
 182 NHSTUB(get_nd_value                           ,0xffa7ec04) //120
 183 NHSTUB(get_current_nd_value                   ,0xffa7ebf0) //120
 184 NHSTUB(lseek                                  ,0xffaf4410) //  1
 185 NHSTUB(memcmp                                 ,0xffaede40) //120
 186 NHSTUB(memcpy                                 ,0xffaede7c) //120
 187 NHSTUB(memset                                 ,0xffaedef4) //120
 188 NHSTUB(open                                   ,0xffaf4910) //  1
 189 NHSTUB(closedir                               ,0xffaf026c) //  1
 190 NHSTUB(qsort                                  ,0xffaed6a0) //  1
 191 NHSTUB(rand                                   ,0xffaed6c4) //  1
 192 NHSTUB(realloc                                ,0xffad7340) //115
 193 NHSTUB(srand                                  ,0xffaed6e8) //  1
 194 NHSTUB(stat                                   ,0xffaf0334) //  1
 195 NHSTUB(strcat                                 ,0xffaedf14) //  1
 196 NHSTUB(strchr                                 ,0xffaedf40) //  1
 197 NHSTUB(strcmp                                 ,0xffaedf64) //120
 198 NHSTUB(strcpy                                 ,0xffaee0f8) //120
 199 NHSTUB(strftime                               ,0xffaef780) //  1
 200 NHSTUB(strlen                                 ,0xffaee25c) //120
 201 NHSTUB(strncmp                                ,0xffaee2c0) //  1
 202 NHSTUB(strncpy                                ,0xffaee304) //  1
 203 NHSTUB(strrchr                                ,0xffaee388) //  1
 204 NHSTUB(strtol                                 ,0xffaedadc) //  1
 205 NHSTUB(isdigit                                ,0xffaea210) //  1
 206 NHSTUB(isspace                                ,0xffaea288) //  1
 207 NHSTUB(isalpha                                ,0xffaea1e0) //  1
 208 NHSTUB(isupper                                ,0xffaea2a0) //  1
 209 NHSTUB(islower                                ,0xffaea240) //  1
 210 NHSTUB(ispunct                                ,0xffaea270) //  1
 211 NHSTUB(isxdigit                               ,0xffaea2b8) //  1
 212 NHSTUB(toupper                                ,0xffaea2e0) //  1
 213 NHSTUB(tolower                                ,0xffaea2d0) //  1
 214 NHSTUB(taskLock                               ,0xffb02b2c) //  1
 215 NHSTUB(taskUnlock                             ,0xffb02bd4) //  1
 216 NHSTUB(taskName                               ,0xffb02368) //  1
 217 NHSTUB(errnoOfTaskGet                         ,0xffaf0a38) //  1
 218 NHSTUB(readdir                                ,0xffaf0238) //  1
 219 NHSTUB(strtoul                                ,0xffaedc84) //  1
 220 NHSTUB(strpbrk                                ,0xffaee34c) //  1
 221 NHSTUB(utime                                  ,0xffaf03c8) //  1
 222 NHSTUB(mktime                                 ,0xffaeec28) //  1
 223 NHSTUB(opendir                                ,0xffaf02a0) //  1
 224 NHSTUB(memchr                                 ,0xffaede0c) //  1
 225 NHSTUB(memPartInfoGet                         ,0xffaf772c) //  1
 226 NHSTUB(iosDrvInstall                          ,0xffaf57b0) //  1
 227 NHSTUB(iosDevAdd                              ,0xffaf54ec) //  1
 228 NHSTUB(iosDevDelete                           ,0xffaf54c4) //  1
 229 NHSTUB(GetCurrentTargetDistance               ,0xffaa8a2c) //  1
 230 NHSTUB(taskCreateHookAdd                      ,0xffafa98c) //  1
 231 NHSTUB(taskDeleteHookAdd                      ,0xffafa8c8) //  1
 232 NHSTUB(Unmount_FileSystem                     ,0xff876060) //  1
 233 NHSTUB(taskSuspend                            ,0xffb02578) //  1
 234 NHSTUB(taskResume                             ,0xffb0274c) //  1
 235 NHSTUB(time                                   ,0xffaef7ac) //  1
 236 NHSTUB(vsprintf                               ,0xffaf1b8c) //115
 237 NHSTUB(EngDrvRead                             ,0xff88b2a4) //102
 238 NHSTUB(PTM_GetCurrentItem                     ,0xff985c3c) //102
 239 NHSTUB(CancelHPTimer                          ,0xff815b98) //119
 240 NHSTUB(SetHPTimerAfterNow                     ,0xff815724) //119
 241 NHSTUB(GetAdChValue                           ,0xff82b848) //120

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