root/platform/g7/sub/100j/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.00J   // Found @ 0xff81a738, "GM1.00J" @ 0xff81a745
   6 //   Firmware build timestamp: Apr 18 2007 17:31:07
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.68MB, should be 7.94MB
   9 //   Could not find Camera name - possible corrupt firmware dump
  10 
  11 // Values for makefile.inc
  12 //   DIGIC = 30# DIGIC III
  13 //   MAXRAMADDR = 0x03ffffff
  14 //   MEMISOSTART = 0x000a7910
  15 
  16 // Detected address ranges:
  17 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  18 // RAM data 0x00001900 - 0x0000ef10 copied from 0xffbb1b50 (  54800 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 NHSTUB(EnterToCompensationEVF                 ,0xff99b204) //  2 87%
  23 //NHSTUB(ExitFromCompensationEVF              ,0xff99f0c0) //  2 66%    *** != 0xff99b244
  24 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f11c) // 2 20/10
  25 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f1d8) // 2 20/10
  26 NHSTUB(GetFocusLensSubjectDistance            ,0xffb3d8c4) //  1 83%
  27 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffb3de30) //  2 92%
  28 NHSTUB(GetPropertyCase                        ,0xff8258d4) //  2 92%
  29 NHSTUB(GetSystemTime                          ,0xff8150d8) //  1 96%
  30 NHSTUB(PutInNdFilter                          ,0xffb50660) //  1 92%
  31 NHSTUB(PutOutNdFilter                         ,0xffb506a8) //  1 94%
  32 //NHSTUB(Restart                              ,0xff823ac0) //  1 92%    *** != 0xff823abc
  33 NHSTUB(UnsetZoomForMovie                      ,0xff9f6c4c) //  1 89%
  34 //NHSTUB(WriteSDCard                          ,0xff88bcd0) //  2 93%    *** != 0xff88be6c
  35 NHSTUB(add_ptp_handler                        ,0xffaef0d4) //  1 96%
  36 // ERROR: free is not found.                               //--- ---    *** != 0xffb9eccc
  37 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff828e70
  38 NHSTUB(kbd_pwr_off                            ,0xff82ab3c) //  1 83%
  39 // ALT: NHSTUB(kbd_pwr_off, 0xff82ab58) // 1 5/1
  40 NHSTUB(kbd_pwr_on                             ,0xff96715c) //  1 55%
  41 // ALT: NHSTUB(kbd_pwr_on, 0xff967188) // 1 5/4
  42 NHSTUB(malloc                                 ,0xffb9ecc0) //  1 53%
  43 NHSTUB(taskIdListGet                          ,0xffbab8e8) //  1 82%
  44 NHSTUB(localtime                              ,0xffb978fc) //  1 93%
  45 NHSTUB(Mount_FileSystem                       ,0xff87be74) //  1 90%
  46 NHSTUB(MakeAFScan                             ,0xff9a0560) //  2 79%
  47 
  48 // Check of modemap from 'platform/CAMERA/shooting.c':
  49 // Firmware modemap table found @ff9b6358 -> ff9b6358
  50 // Mode  8222 in firmware but not in current modemap
  51 // Mode  8223 in firmware but not in current modemap
  52 
  53 // Values below can be overridden in 'stubs_min.S':
  54 DEF(levent_table                            ,0xff9ae87c) // Found @0xff9ae87c
  55 DEF(FlashParamsTable                        ,0xff9b8db4) // Found @0xff9b8db4
  56 DEF(fileio_semaphore                        ,0x00002984) // Found @0xff87a218
  57 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xff811f28
  58 DEF(exmem_types_table                       ,0xff811d3c) // Found @0xff811d3c
  59 DEF_CONST(exmem_type_count                  ,0x0000000e)
  60 DEF(imager_active                           ,0x00005a60) // Found @0xff8eb40c (0x5a60 + 0)
  61 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xff9bac64
  62 DEF(cameracon_state                         ,0x00007ba4) // Found @0xff9e177c
  63 
  64 // Values below go in 'lib.c':
  65 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xff9bbe74
  66 
  67 // Values below go in 'platform_camera.h':
  68 //#define PARAM_CAMERA_NAME 4 // Found @0xff9b8554
  69 
  70 // Misc stuff
  71 
  72 // EXMEM types:
  73 // EXMEM_RAMDISK   0
  74 // EXMEM_COM       1
  75 // EXMEM_COMTMP    2
  76 // EXMEM_FORMATTER 3
  77 // EXMEM_SHADING   4
  78 // EXMEM_FAMODE    5
  79 // EXMEM_FIRMUP    6
  80 // EXMEM_DVLPWORK  7
  81 // EXMEM_FILESTORE 8
  82 // EXMEM_MOVIE_REC 9
  83 // EXMEM_MOVIE_PLY 10
  84 // EXMEM_WIDE      11
  85 // EXMEM_NARROW    12
  86 // EXMEM_PCEVF     13
  87 
  88 // LED table init @ 0xff82f464
  89 // LED #1: 0xc0220068, offset 0xc4
  90 // LED #2: 0xc022006c, offset 0x204
  91 // LED #3: 0xc0220094, offset 0x244
  92 // LED #4: 0xc02200b0, offset 0x384
  93 
  94 // Stubs below matched 100%.
  95 //    Name                                     Address                Comp to stubs_entry_2.S
  96 NHSTUB(AllocateUncacheableMemory              ,0xff814ea0) //  1
  97 NHSTUB(Close                                  ,0xff87cb4c) //120
  98 NHSTUB(CreateBinarySemaphore                  ,0xff821be4) //115
  99 NHSTUB(CreateTask                             ,0xff822594) //120
 100 NHSTUB(DebugAssert                            ,0xff813d70) //1100
 101 NHSTUB(DeleteFile_Fut                         ,0xff875a0c) //  1
 102 NHSTUB(DeleteSemaphore                        ,0xff821dd8) //120
 103 NHSTUB(DoAELock                               ,0xff99b2a4) //120
 104 NHSTUB(DoAFLock                               ,0xff99afd0) //120
 105 NHSTUB(ExecuteEventProcedure                  ,0xff816d3c) //  1
 106 NHSTUB(ExitTask                               ,0xff822954) //120
 107 NHSTUB(Fclose_Fut                             ,0xff875b80) //120
 108 NHSTUB(Feof_Fut                               ,0xff875d7c) //  3
 109 NHSTUB(Fflush_Fut                             ,0xff875db8) //  3
 110 NHSTUB(Fgets_Fut                              ,0xff875ce4) //  3
 111 NHSTUB(Fopen_Fut                              ,0xff875b40) //120
 112 NHSTUB(Fread_Fut                              ,0xff875c3c) //120
 113 NHSTUB(FreeUncacheableMemory                  ,0xff814ed4) //  1
 114 NHSTUB(Fseek_Fut                              ,0xff875d30) //120
 115 NHSTUB(Fwrite_Fut                             ,0xff875c90) //120
 116 NHSTUB(GetBatteryTemperature                  ,0xff82eb20) //102
 117 NHSTUB(GetCCDTemperature                      ,0xff82eb0c) //102
 118 NHSTUB(GetCurrentAvValue                      ,0xffb501d0) //120
 119 NHSTUB(GetCurrentShutterSpeed                 ,0xffb4fe24) //120
 120 NHSTUB(GetUsableMaxAv                         ,0xffb5048c) //120
 121 NHSTUB(GetUsableMinAv                         ,0xffb50468) //120
 122 NHSTUB(GetDrive_ClusterSize                   ,0xff87c338) //119
 123 NHSTUB(GetDrive_FreeClusters                  ,0xff87c3b0) //1103
 124 NHSTUB(GetDrive_TotalClusters                 ,0xff87c374) //119
 125 NHSTUB(GetOpticalTemperature                  ,0xff82eaf8) //120
 126 NHSTUB(GetParameterData                       ,0xff9bbe08) //  2
 127 NHSTUB(GetZoomLensCurrentPoint                ,0xffb29cc8) //120
 128 NHSTUB(GetZoomLensCurrentPosition             ,0xffb29cdc) //102
 129 NHSTUB(GiveSemaphore                          ,0xff82218c) //120
 130 NHSTUB(IsStrobeChargeCompleted                ,0xff939f98) //  2
 131 NHSTUB(LEDDrive                               ,0xff82f078) //120
 132 NHSTUB(LocalTime                              ,0xff8143f8) //115
 133 NHSTUB(LockMainPower                          ,0xff9b60f8) //120
 134 NHSTUB(MakeDirectory_Fut                      ,0xff875ac0) //  3
 135 NHSTUB(MoveFocusLensToDistance                ,0xffb52988) //102
 136 NHSTUB(MoveZoomLensWithPoint                  ,0xffb29ba8) //120
 137 NHSTUB(Open                                   ,0xff87cb24) //120
 138 NHSTUB(PT_PlaySound                           ,0xff9aca78) //  1
 139 NHSTUB(PostLogicalEventForNotPowerType        ,0xff9b1988) //120
 140 NHSTUB(PostLogicalEventToUI                   ,0xff9b1a04) //120
 141 NHSTUB(Read                                   ,0xff87cbe0) //120
 142 NHSTUB(RefreshPhysicalScreen                  ,0xff9ce31c) //120
 143 NHSTUB(RenameFile_Fut                         ,0xff875964) //  3
 144 NHSTUB(SetAE_ShutterSpeed                     ,0xffb5565c) //102
 145 NHSTUB(SetAutoShutdownTime                    ,0xff9b5ffc) //120
 146 NHSTUB(SetCurrentCaptureModeType              ,0xff9e9e80) //120
 147 NHSTUB(SetDate                                ,0xffb5792c) //120
 148 NHSTUB(SetFileAttributes                      ,0xff87cd74) //  1
 149 NHSTUB(SetLogicalEventActive                  ,0xff9b3924) //1104
 150 NHSTUB(SetParameterData                       ,0xff9bbd28) //  2
 151 NHSTUB(SetPropertyCase                        ,0xff825784) //  2
 152 NHSTUB(SetScriptMode                          ,0xff9b398c) //120
 153 NHSTUB(SleepTask                              ,0xff8224a8) //120
 154 NHSTUB(TakeSemaphore                          ,0xff821fa4) //1101
 155 NHSTUB(TurnOffBackLight                       ,0xffa12ef4) //  2
 156 NHSTUB(TurnOnBackLight                        ,0xffa12ec4) //  2
 157 NHSTUB(TurnOnDisplay                          ,0xff9648dc) //120
 158 NHSTUB(TurnOffDisplay                         ,0xff9648ec) //120
 159 NHSTUB(UnlockAE                               ,0xff99b2c4) //120
 160 NHSTUB(UnlockAF                               ,0xff99b044) //120
 161 NHSTUB(UnlockMainPower                        ,0xff9b6190) //120
 162 NHSTUB(UpdateMBROnFlash                       ,0xff87c06c) //  1
 163 NHSTUB(VbattGet                               ,0xff82d9bc) //120
 164 NHSTUB(Write                                  ,0xff87cbec) //120
 165 NHSTUB(_log                                   ,0xffb910c4) //121
 166 NHSTUB(_log10                                 ,0xffb8cf80) //121
 167 NHSTUB(_pow                                   ,0xffb8d108) //121
 168 NHSTUB(_sqrt                                  ,0xffb8f2f8) //  1
 169 NHSTUB(apex2us                                ,0xff8c8a28) //  1
 170 NHSTUB(close                                  ,0xffb9bc80) //109
 171 NHSTUB(exmem_alloc                            ,0xff812a04) //122
 172 NHSTUB(exmem_ualloc                           ,0xff812834) //122
 173 NHSTUB(exmem_ufree                            ,0xff812904) //122
 174 NHSTUB(get_nd_value                           ,0xffb371d0) //122
 175 NHSTUB(get_current_nd_value                   ,0xffb37178) //122
 176 NHSTUB(get_current_deltasv                    ,0xff8c9f20) //122
 177 NHSTUB(GetCurrentDriveBaseSvValue             ,0xff8d5178) //107
 178 NHSTUB(kbd_p1_f                               ,0xff828014) //  1
 179 NHSTUB(kbd_p1_f_cont                          ,0xff828020) //109
 180 NHSTUB(kbd_p2_f                               ,0xff8283f0) //  1
 181 NHSTUB(lseek                                  ,0xffb9bdc4) //  1
 182 NHSTUB(memcmp                                 ,0xffb96cdc) //120
 183 NHSTUB(memcpy                                 ,0xffb96d18) //120
 184 NHSTUB(memset                                 ,0xffb96d90) //120
 185 NHSTUB(mkdir                                  ,0xff87cda4) //  1
 186 NHSTUB(open                                   ,0xffb9c2c4) //109
 187 NHSTUB(closedir                               ,0xffb99108) //  1
 188 NHSTUB(qsort                                  ,0xffb9653c) //  1
 189 NHSTUB(rand                                   ,0xffb96560) //  1
 190 NHSTUB(realloc                                ,0xffb870c0) //115
 191 NHSTUB(srand                                  ,0xffb96584) //  1
 192 NHSTUB(stat                                   ,0xffb991d0) //  1
 193 NHSTUB(strcat                                 ,0xffb96db0) //  1
 194 NHSTUB(strchr                                 ,0xffb96ddc) //  1
 195 NHSTUB(strcmp                                 ,0xffb96e00) //120
 196 NHSTUB(strcpy                                 ,0xffb96f94) //120
 197 NHSTUB(strftime                               ,0xffb9861c) //  1
 198 NHSTUB(strlen                                 ,0xffb970f8) //120
 199 NHSTUB(strncmp                                ,0xffb9715c) //  1
 200 NHSTUB(strncpy                                ,0xffb971a0) //  1
 201 NHSTUB(strrchr                                ,0xffb97224) //  1
 202 NHSTUB(strtol                                 ,0xffb96978) //  1
 203 NHSTUB(isdigit                                ,0xffb930ac) //  1
 204 NHSTUB(isspace                                ,0xffb93124) //  1
 205 NHSTUB(isalpha                                ,0xffb9307c) //  1
 206 NHSTUB(isupper                                ,0xffb9313c) //  1
 207 NHSTUB(islower                                ,0xffb930dc) //  1
 208 NHSTUB(ispunct                                ,0xffb9310c) //  1
 209 NHSTUB(isxdigit                               ,0xffb93154) //  1
 210 NHSTUB(toupper                                ,0xffb9317c) //  1
 211 NHSTUB(tolower                                ,0xffb9316c) //  1
 212 NHSTUB(taskLock                               ,0xffbabfa4) //  1
 213 NHSTUB(taskUnlock                             ,0xffbac04c) //  1
 214 NHSTUB(taskName                               ,0xffbab7e0) //  1
 215 NHSTUB(errnoOfTaskGet                         ,0xffb998d4) //  1
 216 NHSTUB(readdir                                ,0xffb990d4) //  1
 217 NHSTUB(strtoul                                ,0xffb96b20) //  1
 218 NHSTUB(strpbrk                                ,0xffb971e8) //  1
 219 NHSTUB(utime                                  ,0xffb99264) //  1
 220 NHSTUB(mktime                                 ,0xffb97ac4) //  1
 221 NHSTUB(opendir                                ,0xffb9913c) //  1
 222 NHSTUB(memchr                                 ,0xffb96ca8) //  1
 223 NHSTUB(memPartInfoGet                         ,0xffb9f0e0) //  1
 224 NHSTUB(iosDrvInstall                          ,0xffb9d164) //  1
 225 NHSTUB(iosDevAdd                              ,0xffb9cea0) //  1
 226 NHSTUB(iosDevDelete                           ,0xffb9ce78) //  1
 227 NHSTUB(GetCurrentTargetDistance               ,0xffb526e8) //  1
 228 NHSTUB(taskCreateHookAdd                      ,0xffba1920) //  1
 229 NHSTUB(taskDeleteHookAdd                      ,0xffba185c) //  1
 230 NHSTUB(Unmount_FileSystem                     ,0xff87bf18) //  1
 231 NHSTUB(taskSuspend                            ,0xffbab9f0) //  1
 232 NHSTUB(taskResume                             ,0xffbabbc4) //  1
 233 NHSTUB(time                                   ,0xffb98648) //  1
 234 NHSTUB(vsprintf                               ,0xffb9aa28) //115
 235 NHSTUB(EngDrvRead                             ,0xff88e5bc) //102
 236 NHSTUB(PTM_GetCurrentItem                     ,0xff9b936c) //102
 237 NHSTUB(CancelHPTimer                          ,0xff815f9c) //119
 238 NHSTUB(SetHPTimerAfterNow                     ,0xff815b28) //119
 239 NHSTUB(MFOn                                   ,0xff99c09c) //120
 240 NHSTUB(MFOff                                  ,0xff99c0d0) //120
 241 NHSTUB(GetAdChValue                           ,0xff82ac74) //120
 242 NHSTUB(get_ptp_buf_size                       ,0xffae2808) //122
 243 NHSTUB(get_ptp_file_buf                       ,0xffaffdb4) //121

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