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

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