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

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