root/platform/ixusw_sd430/sub/110a/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.10A   // Found @ 0xff81ccbc, "GM1.10A" @ 0xff81ccc9
   6 //   Firmware build timestamp: Apr 24 2006 17:03:09
   7 //   Canon DIGITAL IXUS WIRELESS
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12529# (0x30f1) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x000c5d80
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x00018c70 copied from 0xffc33020 (  95088 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 //NHSTUB(EnterToCompensationEVF               ,0xff951ab0) //  1 87%        == 0xff951ab0
  22 NHSTUB(ExitFromCompensationEVF                ,0xff95324c) //  2 90%
  23 //NHSTUB(GetDrive_FreeClusters                ,0xff872a08) //1103        *** != 0xff86b75c
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffb751d8) //  1 96%
  25 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffb75778) //  3 92%
  26 NHSTUB(GetParameterData                       ,0xff96a31c) //  1 96%
  27 NHSTUB(GetSystemTime                          ,0xff81761c) //  1 96%
  28 NHSTUB(PutInNdFilter                          ,0xffb7ff84) //  1 92%
  29 // ALT: NHSTUB(PutInNdFilter, 0xffb81b10) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffb81b58) // 1 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffb81b10) // 2 25/2
  32 // ALT: NHSTUB(PutInNdFilter, 0xffb81b58) // 2 25/2
  33 NHSTUB(PutOutNdFilter                         ,0xffb7ffcc) //  1 94%
  34 //NHSTUB(Remove                               ,0xff8c6fc4) //  3 52%
  35 //NHSTUB(Restart                              ,0xff8252a4) //  1 96%    *** != 0xff8252a0
  36 //NHSTUB(SetParameterData                     ,0xff96a23c) //  1 96%        == 0xff96a23c
  37 NHSTUB(UnsetZoomForMovie                      ,0xff9a7ce0) //  1 89%
  38 NHSTUB(add_ptp_handler                        ,0xffa62090) //  1 96%
  39 // ERROR: free is not found.                               //--- ---    *** != 0xffc1d8f8
  40 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff82aaac
  41 //NHSTUB(kbd_pwr_off                          ,0xff82b05c) //  1 83%    *** != 0xff82afb0
  42 // ALT: NHSTUB(kbd_pwr_off, 0xff82b078) // 1 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xff82c050) // 1 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xff82c06c) // 1 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xff82b078) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff82bcf8) // 3 5/1
  47 // ALT: NHSTUB(kbd_pwr_off, 0xff82bd14) // 3 5/1
  48 // ALT: NHSTUB(kbd_pwr_off, 0xff82be00) // 3 5/1
  49 // ALT: NHSTUB(kbd_pwr_off, 0xff82be1c) // 3 5/1
  50 // ALT: NHSTUB(kbd_pwr_off, 0xff82beec) // 3 5/1
  51 // ALT: NHSTUB(kbd_pwr_off, 0xff82bf08) // 3 5/1
  52 //NHSTUB(kbd_pwr_on                           ,0xff82af70) //  1 55%        == 0xff82af70
  53 // ALT: NHSTUB(kbd_pwr_on, 0xff927840) // 1 5/4
  54 // ALT: NHSTUB(kbd_pwr_on, 0xffb6b760) // 1 5/4
  55 // ALT: NHSTUB(kbd_pwr_on, 0xffb6b78c) // 1 5/4
  56 NHSTUB(malloc                                 ,0xffc1d8ec) //  1 53%
  57 NHSTUB(taskIdListGet                          ,0xffc2c248) //  1 82%
  58 NHSTUB(localtime                              ,0xffc15040) //  1 93%
  59 //NHSTUB(Mount_FileSystem                     ,0xff8724d0) //  1 90%        == 0xff8724d0
  60 NHSTUB(MakeAFScan                             ,0xff9542fc) //  1 96%
  61 
  62 // Check of modemap from 'platform/CAMERA/shooting.c':
  63 // Firmware modemap table found @ff965810 -> ff965810
  64 // Mode 1 in firmware but not in current modemap
  65 // Mode 4 in firmware but not in current modemap
  66 // Strange mode 0x0001000e in firmware, found in modemap as 14 (MODE_VIDEO_STD)
  67 // Strange mode 0x0001000f in firmware but not in current modemap
  68 // Strange mode 0x00010010 in firmware but not in current modemap
  69 // Strange mode 0x00010011 in firmware but not in current modemap
  70 
  71 // Values below can be overridden in 'stubs_min.S':
  72 //DEF(levent_table                            ,0xff95ec74) // Found @0xff95ec74,          stubs_min = 0xff95ec74 (0xff95ec74)
  73 //DEF(FlashParamsTable                        ,0xff967a54) // Found @0xff967a54, ** != ** stubs_min = 0xff9670d0 (0xff9670d0)
  74 DEF(fileio_semaphore                        ,0x00002a78) // Found @0xff87084c
  75 DEF(exmem_alloc_table                       ,0x00001e08) // Found @0xff814640
  76 DEF(exmem_types_table                       ,0xff814458) // Found @0xff814458
  77 DEF_CONST(exmem_type_count                  ,0x0000000d)
  78 DEF(imager_active                           ,0x00005718) // Found @0xff8ca4d8 (0x5718 + 0)
  79 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff969568
  80 
  81 // Values below go in 'lib.c':
  82 //int get_flash_params_count(void) { return 0x63; }                          // Found @0xff96a388
  83 
  84 // Values below go in 'platform_camera.h':
  85 //#define PARAM_CAMERA_NAME 3 // Found @0xff9672c0
  86 
  87 // Misc stuff
  88 
  89 // EXMEM types:
  90 // EXMEM_RAMDISK   0
  91 // EXMEM_COM       1
  92 // EXMEM_COMTMP    2
  93 // EXMEM_FORMATTER 3
  94 // EXMEM_SHADING   4
  95 // EXMEM_FAMODE    5
  96 // EXMEM_FIRMUP    6
  97 // EXMEM_FILESTORE 7
  98 // EXMEM_MOVIE_REC 8
  99 // EXMEM_MOVIE_PLY 9
 100 // EXMEM_WIDE      10
 101 // EXMEM_NARROW    11
 102 // EXMEM_PCEVF     12
 103 
 104 // LED table init @ 0xff830bf4
 105 // LED #1: 0xc0220088, offset 0x344
 106 // LED #2: 0xc0220018, offset 0x4
 107 // LED #3: 0xc022001c, offset 0x44
 108 // LED #4: 0xc02200b0, offset 0x84
 109 // LED #5: 0xc02200b8, offset 0xc4
 110 // LED #6: 0xc02200b4, offset 0x204
 111 // LED #7: 0xc02200bc, offset 0x244
 112 
 113 
 114 // For capt_seq.c
 115 DEF(_nrflag,0x6fe0) // Found @ ff956104 (0x6fe0)
 116 //static long *nrflag = (long*)(0x6fe0);       // Found @ ff956104
 117 
 118 // Stubs below matched 100%.
 119 //    Name                                     Address                Comp to stubs_entry_2.S
 120 NHSTUB(AllocateUncacheableMemory              ,0xff8173e4) //  1
 121 NHSTUB(Close                                  ,0xff8731a4) //120
 122 NHSTUB(CreateBinarySemaphore                  ,0xff823374) //115
 123 NHSTUB(CreateTask                             ,0xff823d64) //120
 124 NHSTUB(DebugAssert                            ,0xff8162b4) //1100
 125 NHSTUB(DeleteFile_Fut                         ,0xff86c394) //  1
 126 NHSTUB(DoAELock                               ,0xff94fb28) //120
 127 //NHSTUB(DoAFLock                             ,0xff94f9b8) //120            == 0xff94f9b8
 128 NHSTUB(ExecuteEventProcedure                  ,0xff8192fc) //  1
 129 NHSTUB(ExitTask                               ,0xff824124) //120
 130 NHSTUB(Fclose_Fut                             ,0xff86c4d4) //120
 131 NHSTUB(Feof_Fut                               ,0xff86c6e8) //  1
 132 NHSTUB(Fflush_Fut                             ,0xff86c720) //  1
 133 NHSTUB(Fgets_Fut                              ,0xff86c658) //  1
 134 NHSTUB(Fopen_Fut                              ,0xff86c498) //120
 135 NHSTUB(Fread_Fut                              ,0xff86c5b8) //120
 136 NHSTUB(FreeUncacheableMemory                  ,0xff817418) //  1
 137 NHSTUB(Fseek_Fut                              ,0xff86c6a0) //120
 138 NHSTUB(Fwrite_Fut                             ,0xff86c608) //120
 139 NHSTUB(GetBatteryTemperature                  ,0xff8300c4) //102
 140 NHSTUB(GetCCDTemperature                      ,0xff8300b0) //102
 141 NHSTUB(GetCurrentAvValue                      ,0xffb7fe00) //120
 142 NHSTUB(GetCurrentShutterSpeed                 ,0xffb7fab0) //120
 143 //NHSTUB(GetDrive_ClusterSize                 ,0xff872990) //119            == 0xff872990
 144 //NHSTUB(GetDrive_TotalClusters               ,0xff8729cc) //119            == 0xff8729cc
 145 NHSTUB(GetOpticalTemperature                  ,0xff83009c) //120
 146 NHSTUB(GetPropertyCase                        ,0xff827c9c) //  1
 147 NHSTUB(GetZoomLensCurrentPoint                ,0xffb66078) //120
 148 //NHSTUB(GetZoomLensCurrentPosition           ,0xffb6608c) //102            == 0xffb6608c
 149 //NHSTUB(GiveSemaphore                        ,0xff82395c) //120            == 0xff82395c
 150 NHSTUB(IsStrobeChargeCompleted                ,0xff902ca0) //  1
 151 NHSTUB(LEDDrive                               ,0xff830658) //120
 152 NHSTUB(LocalTime                              ,0xff81693c) //115
 153 NHSTUB(LockMainPower                          ,0xff965588) //120
 154 NHSTUB(MakeDirectory_Fut                      ,0xff86c420) //  1
 155 NHSTUB(MoveFocusLensToDistance                ,0xffb8219c) //102
 156 NHSTUB(MoveZoomLensWithPoint                  ,0xffb65f58) //120
 157 NHSTUB(Open                                   ,0xff87317c) //120
 158 NHSTUB(PT_PlaySound                           ,0xff95d118) //  1
 159 NHSTUB(PostLogicalEventForNotPowerType        ,0xff9615f8) //120
 160 NHSTUB(PostLogicalEventToUI                   ,0xff961684) //120
 161 NHSTUB(Read                                   ,0xff873238) //120
 162 NHSTUB(RefreshPhysicalScreen                  ,0xff9846d8) //120
 163 NHSTUB(RenameFile_Fut                         ,0xff86c314) //  1
 164 NHSTUB(SetAE_ShutterSpeed                     ,0xffb85250) //102
 165 NHSTUB(SetAutoShutdownTime                    ,0xff965480) //120
 166 NHSTUB(SetCurrentCaptureModeType              ,0xff99caf0) //120
 167 NHSTUB(SetDate                                ,0xffb86da8) //120
 168 NHSTUB(SetFileAttributes                      ,0xff87335c) //  1
 169 NHSTUB(SetLogicalEventActive                  ,0xff963624) //1104
 170 NHSTUB(SetPropertyCase                        ,0xff827b80) //  1
 171 //NHSTUB(SetScriptMode                        ,0xff96368c) //120            == 0xff96368c
 172 NHSTUB(SleepTask                              ,0xff823c78) //120
 173 NHSTUB(TakeSemaphore                          ,0xff823774) //1101
 174 NHSTUB(TurnOffBackLight                       ,0xff9b3df4) //  1
 175 NHSTUB(TurnOnBackLight                        ,0xff9b3dc8) //  1
 176 NHSTUB(TurnOnDisplay                          ,0xff927490) //120
 177 NHSTUB(TurnOffDisplay                         ,0xff9274a0) //120
 178 NHSTUB(UnlockAE                               ,0xff94fb48) //120
 179 //NHSTUB(UnlockAF                             ,0xff94fa20) //120            == 0xff94fa20
 180 NHSTUB(UnlockMainPower                        ,0xff96563c) //120
 181 NHSTUB(UpdateMBROnFlash                       ,0xff8726c8) //  1
 182 //NHSTUB(VbattGet                             ,0xff82f0f4) //120            == 0xff82f0f4
 183 NHSTUB(Write                                  ,0xff873244) //120
 184 NHSTUB(WriteSDCard                            ,0xff881a84) //  1
 185 NHSTUB(_log                                   ,0xffac932c) //111
 186 NHSTUB(_log10                                 ,0xffbb98c0) //121
 187 NHSTUB(_pow                                   ,0xffbb9db0) //121
 188 NHSTUB(_sqrt                                  ,0xffacb378) //  1
 189 // ALT: NHSTUB(_sqrt, 0xffbbe0fc) // 1 24/0
 190 NHSTUB(apex2us                                ,0xff8b02a8) //  1
 191 NHSTUB(close                                  ,0xffc1a8ac) //109
 192 NHSTUB(exmem_alloc                            ,0xff815090) //122
 193 NHSTUB(exmem_ualloc                           ,0xff814f44) //122
 194 NHSTUB(exmem_ufree                            ,0xff815014) //122
 195 NHSTUB(get_nd_value                           ,0xffb6e5cc) //115
 196 NHSTUB(get_current_nd_value                   ,0xffb6e550) //122
 197 //NHSTUB(kbd_p1_f                             ,0xff829c94) //  1            == 0xff829c94
 198 //NHSTUB(kbd_p1_f_cont                        ,0xff829ca0) //109            == 0xff829ca0
 199 //NHSTUB(kbd_p2_f                             ,0xff82a078) //  1            == 0xff82a078
 200 NHSTUB(lseek                                  ,0xffc1a9f0) //  1
 201 NHSTUB(memcmp                                 ,0xffc14420) //120
 202 NHSTUB(memcpy                                 ,0xffc1445c) //120
 203 NHSTUB(memset                                 ,0xffc144d4) //120
 204 NHSTUB(mkdir                                  ,0xff87338c) //  1
 205 NHSTUB(open                                   ,0xffc1aef0) //109
 206 NHSTUB(closedir                               ,0xffc1684c) //  1
 207 NHSTUB(qsort                                  ,0xffc13c80) //  1
 208 NHSTUB(rand                                   ,0xffc13ca4) //  1
 209 NHSTUB(realloc                                ,0xffbb0c18) //115
 210 NHSTUB(srand                                  ,0xffc13cc8) //  1
 211 NHSTUB(stat                                   ,0xffc16914) //  1
 212 NHSTUB(strcat                                 ,0xffc144f4) //  1
 213 NHSTUB(strchr                                 ,0xffc14520) //  1
 214 NHSTUB(strcmp                                 ,0xffc14544) //120
 215 NHSTUB(strcpy                                 ,0xffc146d8) //120
 216 NHSTUB(strftime                               ,0xffc15d60) //  1
 217 NHSTUB(strlen                                 ,0xffc1483c) //120
 218 NHSTUB(strncmp                                ,0xffc148a0) //  1
 219 NHSTUB(strncpy                                ,0xffc148e4) //  1
 220 NHSTUB(strrchr                                ,0xffc14968) //  1
 221 NHSTUB(strtol                                 ,0xffc140bc) //  1
 222 NHSTUB(isdigit                                ,0xffc107f0) //  1
 223 NHSTUB(isspace                                ,0xffc10868) //  1
 224 NHSTUB(isalpha                                ,0xffc107c0) //  1
 225 NHSTUB(isupper                                ,0xffc10880) //  1
 226 NHSTUB(islower                                ,0xffc10820) //  1
 227 NHSTUB(ispunct                                ,0xffc10850) //  1
 228 NHSTUB(isxdigit                               ,0xffc10898) //  1
 229 NHSTUB(toupper                                ,0xffc108c0) //  1
 230 NHSTUB(tolower                                ,0xffc108b0) //  1
 231 NHSTUB(taskLock                               ,0xffc2c904) //  1
 232 NHSTUB(taskUnlock                             ,0xffc2c9ac) //  1
 233 NHSTUB(taskName                               ,0xffc2c140) //  1
 234 NHSTUB(errnoOfTaskGet                         ,0xffc17018) //  1
 235 NHSTUB(readdir                                ,0xffc16818) //  1
 236 NHSTUB(strtoul                                ,0xffc14264) //  1
 237 NHSTUB(strpbrk                                ,0xffc1492c) //  1
 238 NHSTUB(utime                                  ,0xffc169a8) //  1
 239 NHSTUB(mktime                                 ,0xffc15208) //  1
 240 NHSTUB(opendir                                ,0xffc16880) //  1
 241 NHSTUB(memchr                                 ,0xffc143ec) //  1
 242 NHSTUB(memPartInfoGet                         ,0xffc1dd0c) //  1
 243 NHSTUB(iosDrvInstall                          ,0xffc1bd90) //  1
 244 NHSTUB(iosDevAdd                              ,0xffc1bacc) //  1
 245 NHSTUB(iosDevDelete                           ,0xffc1baa4) //  1
 246 NHSTUB(GetCurrentTargetDistance               ,0xffb81f0c) //  1
 247 NHSTUB(taskCreateHookAdd                      ,0xffc2154c) //  1
 248 NHSTUB(taskDeleteHookAdd                      ,0xffc21488) //  1
 249 NHSTUB(Unmount_FileSystem                     ,0xff872574) //  1
 250 NHSTUB(taskSuspend                            ,0xffc2c350) //  1
 251 NHSTUB(taskResume                             ,0xffc2c524) //  1
 252 NHSTUB(time                                   ,0xffc15d8c) //  1
 253 NHSTUB(vsprintf                               ,0xffc1816c) //115
 254 NHSTUB(EngDrvRead                             ,0xff883d10) //102
 255 NHSTUB(PTM_GetCurrentItem                     ,0xff968134) //102
 256 NHSTUB(CancelHPTimer                          ,0xff8184e0) //119
 257 NHSTUB(SetHPTimerAfterNow                     ,0xff81806c) //119
 258 NHSTUB(MFOn                                   ,0xff950660) //120
 259 NHSTUB(MFOff                                  ,0xff950690) //120
 260 NHSTUB(GetAdChValue                           ,0xff82c7c0) //120
 261 NHSTUB(get_ptp_buf_size                       ,0xffa4d10c) //122
 262 NHSTUB(get_ptp_file_buf                       ,0xffa72c74) //121

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