root/platform/ixus55_sd450/sub/100d/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.00D   // Found @ 0xff81a484, "GM1.00D" @ 0xff81a491
   6 //   Firmware build timestamp: Dec 19 2005 19:46:17
   7 //   Canon DIGITAL IXUS 55
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12543# (0x30ff) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x000a87d0
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x00010300 copied from 0xffaeb6a0 (  59904 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                 ,0xff94c3ac) //  1 64%
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff94c478) //  1 73%    *** != 0xff94c40c
  23 NHSTUB(GetFocusLensSubjectDistance            ,0xffa7e174) //  1 96%
  24 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa7e714) //  3 92%
  25 NHSTUB(GetSystemTime                          ,0xff814de8) //  1 96%
  26 NHSTUB(PutInNdFilter                          ,0xffa88e2c) //  1 92%
  27 // ALT: NHSTUB(PutInNdFilter, 0xffa8a9b8) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffa8aa00) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffa8a9b8) // 2 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffa8aa00) // 2 25/2
  31 NHSTUB(PutOutNdFilter                         ,0xffa88e74) //  1 94%
  32 //NHSTUB(Remove                               ,0xff8c2424) //  3 52%
  33 NHSTUB(UnsetZoomForMovie                      ,0xff996f1c) //  1 89%
  34 NHSTUB(add_ptp_handler                        ,0xffa3d524) //  1 96%
  35 // ERROR: free is not found.                               //--- ---    *** != 0xffad6e2c
  36 NHSTUB(kbd_pwr_off                            ,0xff8277c8) //  1 83%
  37 // ALT: NHSTUB(kbd_pwr_off, 0xff8277e4) // 1 5/1
  38 // ALT: NHSTUB(kbd_pwr_off, 0xff8287ac) // 1 5/1
  39 // ALT: NHSTUB(kbd_pwr_off, 0xff8287c8) // 1 5/1
  40 // ALT: NHSTUB(kbd_pwr_off, 0xff8277e4) // 3 5/1
  41 // ALT: NHSTUB(kbd_pwr_off, 0xff828454) // 3 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xff828470) // 3 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xff82855c) // 3 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xff828578) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xff828648) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff828664) // 3 5/1
  47 NHSTUB(kbd_pwr_on                             ,0xff8276dc) //  1 55%
  48 // ALT: NHSTUB(kbd_pwr_on, 0xff922a1c) // 1 5/4
  49 // ALT: NHSTUB(kbd_pwr_on, 0xff922a48) // 1 5/4
  50 // ALT: NHSTUB(kbd_pwr_on, 0xff922b84) // 1 5/4
  51 // ALT: NHSTUB(kbd_pwr_on, 0xffa746fc) // 1 5/4
  52 // ALT: NHSTUB(kbd_pwr_on, 0xffa74728) // 1 5/4
  53 NHSTUB(malloc                                 ,0xffad6e20) //  1 53%
  54 NHSTUB(taskIdListGet                          ,0xffae4a64) //  1 82%
  55 NHSTUB(localtime                              ,0xfface574) //  1 93%
  56 NHSTUB(Mount_FileSystem                       ,0xff86d8fc) //  1 90%
  57 NHSTUB(MakeAFScan                             ,0xff94e9ac) //  1 96%
  58 
  59 // Check of modemap from 'platform/CAMERA/shooting.c':
  60 // Firmware modemap table found @ff95ff1c -> ff95ff1c
  61 // Strange mode 0x0001000f in firmware, found in modemap as 15 (MODE_VIDEO_STD)
  62 // Strange mode 0x00010010 in firmware but not in current modemap
  63 // Strange mode 0x00010011 in firmware but not in current modemap
  64 // Strange mode 0x00010012 in firmware but not in current modemap
  65 
  66 // Values below can be overridden in 'stubs_min.S':
  67 //DEF(levent_table                            ,0xff959098) // Found @0xff959098,          stubs_min = 0xff959098 (0xFF959098)
  68 //DEF(FlashParamsTable                        ,0xff962180) // Found @0xff962180,          stubs_min = 0xff962180 (0xFF962180)
  69 DEF(fileio_semaphore                        ,0x00002828) // Found @0xff86bd20
  70 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff811fe4
  71 DEF(exmem_types_table                       ,0xff811d44) // Found @0xff811d44
  72 DEF_CONST(exmem_type_count                  ,0x0000000d)
  73 DEF(imager_active                           ,0x000054c8) // Found @0xff8c5938 (0x54c8 + 0)
  74 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff963a1c
  75 
  76 // Values below go in 'lib.c':
  77 //int get_flash_params_count(void) { return 0x5e; }                          // Found @0xff96483c
  78 
  79 // Values below go in 'platform_camera.h':
  80 //#define PARAM_CAMERA_NAME 3 // Found @0xff961a54
  81 
  82 // Misc stuff
  83 
  84 // EXMEM types:
  85 // EXMEM_RAMDISK   0
  86 // EXMEM_COM       1
  87 // EXMEM_COMTMP    2
  88 // EXMEM_FORMATTER 3
  89 // EXMEM_SHADING   4
  90 // EXMEM_FAMODE    5
  91 // EXMEM_FIRMUP    6
  92 // EXMEM_FILESTORE 7
  93 // EXMEM_MOVIE_REC 8
  94 // EXMEM_MOVIE_PLY 9
  95 // EXMEM_WIDE      10
  96 // EXMEM_NARROW    11
  97 // EXMEM_PCEVF     12
  98 
  99 // LED table init @ 0xff82d0cc
 100 // LED #1: 0xc02200d8, offset 0x4
 101 // LED #2: 0xc02200dc, offset 0x44
 102 // LED #3: 0xc02200e0, offset 0x84
 103 // LED #4: 0xc02200e8, offset 0xc4
 104 // LED #5: 0xc02200e4, offset 0x204
 105 // LED #6: 0xc02200ec, offset 0x244
 106 
 107 
 108 // For capt_seq.c
 109 DEF(_nrflag,0x6d6c) // Found @ ff9507b8 (0x6d6c)
 110 //static long *nrflag = (long*)(0x6d6c);       // Found @ ff9507b8
 111 
 112 // Stubs below matched 100%.
 113 //    Name                                     Address                Comp to stubs_entry_2.S
 114 NHSTUB(AllocateUncacheableMemory              ,0xff814bb0) //  1
 115 NHSTUB(Close                                  ,0xff86e648) //120
 116 NHSTUB(CreateBinarySemaphore                  ,0xff820b18) //115
 117 NHSTUB(CreateTask                             ,0xff821508) //120
 118 NHSTUB(DebugAssert                            ,0xff813a80) //1100
 119 NHSTUB(DeleteFile_Fut                         ,0xff867afc) //  1
 120 NHSTUB(DoAELock                               ,0xff94a6a0) //120
 121 NHSTUB(DoAFLock                               ,0xff94a558) //120
 122 NHSTUB(ExecuteEventProcedure                  ,0xff816ac8) //  1
 123 NHSTUB(ExitTask                               ,0xff8218c8) //120
 124 NHSTUB(Fclose_Fut                             ,0xff867c3c) //120
 125 NHSTUB(Feof_Fut                               ,0xff867e50) //  1
 126 NHSTUB(Fflush_Fut                             ,0xff867e88) //  1
 127 NHSTUB(Fgets_Fut                              ,0xff867dc0) //  1
 128 NHSTUB(Fopen_Fut                              ,0xff867c00) //120
 129 NHSTUB(Fread_Fut                              ,0xff867d20) //120
 130 NHSTUB(FreeUncacheableMemory                  ,0xff814be4) //  1
 131 NHSTUB(Fseek_Fut                              ,0xff867e08) //120
 132 NHSTUB(Fwrite_Fut                             ,0xff867d70) //120
 133 NHSTUB(GetBatteryTemperature                  ,0xff82c6d4) //102
 134 NHSTUB(GetCCDTemperature                      ,0xff82c6c0) //102
 135 NHSTUB(GetCurrentAvValue                      ,0xffa88ca8) //120
 136 NHSTUB(GetCurrentShutterSpeed                 ,0xffa88958) //120
 137 NHSTUB(GetDrive_ClusterSize                   ,0xff86de24) //119
 138 NHSTUB(GetDrive_FreeClusters                  ,0xff86de9c) //1103
 139 NHSTUB(GetDrive_TotalClusters                 ,0xff86de60) //119
 140 NHSTUB(GetOpticalTemperature                  ,0xff82c6ac) //120
 141 NHSTUB(GetParameterData                       ,0xff9647d0) //  1
 142 NHSTUB(GetPropertyCase                        ,0xff82447c) //  1
 143 NHSTUB(GetZoomLensCurrentPoint                ,0xffa6f014) //120
 144 NHSTUB(GetZoomLensCurrentPosition             ,0xffa6f028) //102
 145 NHSTUB(GiveSemaphore                          ,0xff821100) //120
 146 NHSTUB(IsStrobeChargeCompleted                ,0xff8fe0c0) //  1
 147 NHSTUB(LEDDrive                               ,0xff82cc2c) //120
 148 NHSTUB(LocalTime                              ,0xff814108) //115
 149 NHSTUB(LockMainPower                          ,0xff95fc94) //120
 150 NHSTUB(MakeDirectory_Fut                      ,0xff867b88) //  1
 151 NHSTUB(MoveFocusLensToDistance                ,0xffa8b044) //102
 152 NHSTUB(MoveZoomLensWithPoint                  ,0xffa6eef4) //120
 153 NHSTUB(Open                                   ,0xff86e620) //120
 154 NHSTUB(PT_PlaySound                           ,0xff957554) //  1
 155 NHSTUB(PostLogicalEventForNotPowerType        ,0xff95bcdc) //120
 156 NHSTUB(PostLogicalEventToUI                   ,0xff95bd68) //120
 157 NHSTUB(Read                                   ,0xff86e6dc) //120
 158 NHSTUB(RefreshPhysicalScreen                  ,0xff975184) //120
 159 NHSTUB(RenameFile_Fut                         ,0xff867a7c) //  1
 160 NHSTUB(Restart                                ,0xff822ab8) //  1
 161 NHSTUB(SetAE_ShutterSpeed                     ,0xffa8e0f8) //102
 162 NHSTUB(SetAutoShutdownTime                    ,0xff95fb8c) //120
 163 NHSTUB(SetCurrentCaptureModeType              ,0xff98c398) //120
 164 NHSTUB(SetDate                                ,0xffa8fc50) //120
 165 NHSTUB(SetFileAttributes                      ,0xff86e800) //  1
 166 NHSTUB(SetLogicalEventActive                  ,0xff95dd38) //1104
 167 NHSTUB(SetParameterData                       ,0xff9646f0) //  1
 168 NHSTUB(SetPropertyCase                        ,0xff824360) //  1
 169 NHSTUB(SetScriptMode                          ,0xff95dd9c) //120
 170 NHSTUB(SleepTask                              ,0xff82141c) //120
 171 NHSTUB(TakeSemaphore                          ,0xff820f18) //1101
 172 NHSTUB(TurnOffBackLight                       ,0xff9a276c) //  1
 173 NHSTUB(TurnOnBackLight                        ,0xff9a2740) //  1
 174 NHSTUB(TurnOnDisplay                          ,0xff9228b4) //120
 175 NHSTUB(TurnOffDisplay                         ,0xff9228c4) //120
 176 NHSTUB(UnlockAE                               ,0xff94a6c0) //120
 177 NHSTUB(UnlockAF                               ,0xff94a598) //120
 178 NHSTUB(UnlockMainPower                        ,0xff95fd48) //120
 179 NHSTUB(UpdateMBROnFlash                       ,0xff86db5c) //  1
 180 NHSTUB(VbattGet                               ,0xff82b704) //120
 181 NHSTUB(Write                                  ,0xff86e6e8) //120
 182 NHSTUB(WriteSDCard                            ,0xff87cf14) //  1
 183 NHSTUB(_log                                   ,0xffac0360) //121
 184 NHSTUB(_log10                                 ,0xffac0a08) //121
 185 NHSTUB(_pow                                   ,0xffac0ef8) //121
 186 NHSTUB(_sqrt                                  ,0xffac5244) //  1
 187 NHSTUB(apex2us                                ,0xff8ab6fc) //  1
 188 NHSTUB(close                                  ,0xffad3de0) //109
 189 NHSTUB(exmem_ualloc                           ,0xff8127e0) //122
 190 NHSTUB(exmem_ufree                            ,0xff81282c) //122
 191 NHSTUB(get_nd_value                           ,0xffa77568) //115
 192 NHSTUB(get_current_nd_value                   ,0xffa774ec) //122
 193 NHSTUB(kbd_p1_f                               ,0xff82647c) //  1
 194 NHSTUB(kbd_p1_f_cont                          ,0xff826488) //109
 195 NHSTUB(kbd_p2_f                               ,0xff826860) //  1
 196 NHSTUB(kbd_read_keys_r2                       ,0xff827260) //  1
 197 NHSTUB(lseek                                  ,0xffad3f24) //  1
 198 NHSTUB(memcmp                                 ,0xffacd954) //120
 199 NHSTUB(memcpy                                 ,0xffacd990) //120
 200 NHSTUB(memset                                 ,0xffacda08) //120
 201 NHSTUB(mkdir                                  ,0xff86e830) //  1
 202 NHSTUB(open                                   ,0xffad4424) //109
 203 NHSTUB(closedir                               ,0xffacfd80) //  1
 204 NHSTUB(qsort                                  ,0xffacd1b4) //  1
 205 NHSTUB(rand                                   ,0xffacd1d8) //  1
 206 NHSTUB(realloc                                ,0xffab8498) //115
 207 NHSTUB(srand                                  ,0xffacd1fc) //  1
 208 NHSTUB(stat                                   ,0xffacfe48) //  1
 209 NHSTUB(strcat                                 ,0xffacda28) //  1
 210 NHSTUB(strchr                                 ,0xffacda54) //  1
 211 NHSTUB(strcmp                                 ,0xffacda78) //120
 212 NHSTUB(strcpy                                 ,0xffacdc0c) //120
 213 NHSTUB(strftime                               ,0xffacf294) //  1
 214 NHSTUB(strlen                                 ,0xffacdd70) //120
 215 NHSTUB(strncmp                                ,0xffacddd4) //  1
 216 NHSTUB(strncpy                                ,0xffacde18) //  1
 217 NHSTUB(strrchr                                ,0xffacde9c) //  1
 218 NHSTUB(strtol                                 ,0xffacd5f0) //  1
 219 NHSTUB(isdigit                                ,0xffac9d24) //  1
 220 NHSTUB(isspace                                ,0xffac9d9c) //  1
 221 NHSTUB(isalpha                                ,0xffac9cf4) //  1
 222 NHSTUB(isupper                                ,0xffac9db4) //  1
 223 NHSTUB(islower                                ,0xffac9d54) //  1
 224 NHSTUB(ispunct                                ,0xffac9d84) //  1
 225 NHSTUB(isxdigit                               ,0xffac9dcc) //  1
 226 NHSTUB(toupper                                ,0xffac9df4) //  1
 227 NHSTUB(tolower                                ,0xffac9de4) //  1
 228 NHSTUB(taskLock                               ,0xffae5120) //  1
 229 NHSTUB(taskUnlock                             ,0xffae51c8) //  1
 230 NHSTUB(taskName                               ,0xffae495c) //  1
 231 NHSTUB(errnoOfTaskGet                         ,0xffad054c) //  1
 232 NHSTUB(readdir                                ,0xffacfd4c) //  1
 233 NHSTUB(strtoul                                ,0xffacd798) //  1
 234 NHSTUB(strpbrk                                ,0xffacde60) //  1
 235 NHSTUB(utime                                  ,0xffacfedc) //  1
 236 NHSTUB(mktime                                 ,0xfface73c) //  1
 237 NHSTUB(opendir                                ,0xffacfdb4) //  1
 238 NHSTUB(memchr                                 ,0xffacd920) //  1
 239 NHSTUB(memPartInfoGet                         ,0xffad7240) //  1
 240 NHSTUB(iosDrvInstall                          ,0xffad52c4) //  1
 241 NHSTUB(iosDevAdd                              ,0xffad5000) //  1
 242 NHSTUB(iosDevDelete                           ,0xffad4fd8) //  1
 243 NHSTUB(GetCurrentTargetDistance               ,0xffa8adb4) //  1
 244 NHSTUB(taskCreateHookAdd                      ,0xffada4a0) //  1
 245 NHSTUB(taskDeleteHookAdd                      ,0xffada3dc) //  1
 246 NHSTUB(Unmount_FileSystem                     ,0xff86da04) //  1
 247 NHSTUB(taskSuspend                            ,0xffae4b6c) //  1
 248 NHSTUB(taskResume                             ,0xffae4d40) //  1
 249 NHSTUB(time                                   ,0xffacf2c0) //  1
 250 NHSTUB(vsprintf                               ,0xffad16a0) //115
 251 NHSTUB(EngDrvRead                             ,0xff87f174) //102
 252 NHSTUB(PTM_GetCurrentItem                     ,0xff96284c) //102
 253 NHSTUB(CancelHPTimer                          ,0xff815cac) //119
 254 NHSTUB(SetHPTimerAfterNow                     ,0xff815838) //119
 255 NHSTUB(MFOn                                   ,0xff94b02c) //120
 256 NHSTUB(MFOff                                  ,0xff94b05c) //120
 257 NHSTUB(GetAdChValue                           ,0xff828f1c) //120
 258 NHSTUB(get_ptp_buf_size                       ,0xffa2e990) //122
 259 NHSTUB(get_ptp_file_buf                       ,0xffa4e954) //121

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