root/platform/ixus30_sd200/sub/100k/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 Version 1.00K   // Found @ 0xff81e41c, "1.00K" @ 0xff81e42d
   6 //   Firmware build timestamp: Sep  9 2004 21:36:16
   7 //   Canon DIGITAL IXUS 30
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12480# (0x30c0) Found @ 0xffd7014e
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x00072d40
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x000103e0 copied from 0xffad74a0 (  60128 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(AllocateUncacheableMemory              ,0xff815288) //  1 65%
  22 // ERROR: Close is not found.                              //--- ---    *** != 0xffac265c
  23 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xff93df9c
  24 // ERROR: ExecuteEventProcedure is not found.              //--- ---    *** != 0xff81756c
  25 // ERROR: ExitFromCompensationEVF is not found.            //--- ---    *** != 0xff93dfdc
  26 // ERROR: FreeUncacheableMemory is not found.              //--- ---    *** != 0xff8152bc
  27 // ERROR: GetFocusLensSubjectDistance is not found.        //--- ---    *** != 0xffa5f808
  28 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffa5fe7c
  29 // ERROR: GetParameterData is not found.                   //--- ---    *** != 0xff958b44
  30 NHSTUB(GetSystemTime                          ,0xff815638) //  1 96%
  31 // ALT: NHSTUB(GetSystemTime, 0xfff05c38) // 1 26/1
  32 // ALT: NHSTUB(GetSystemTime, 0xfff05c38) // 2 26/1
  33 //NHSTUB(GetZoomLensCurrentPoint              ,0xffa51f18) //120        *** != 0xffa50fe8
  34 // ERROR: Open is not found.                               //--- ---    *** != 0xffac2ca0
  35 // ERROR: PT_PlaySound is not found.                       //--- ---    *** != 0xff94f078
  36 NHSTUB(PutInNdFilter                          ,0xffa69184) //  1 92%
  37 // ALT: NHSTUB(PutInNdFilter, 0xffa6a834) // 1 25/2
  38 // ALT: NHSTUB(PutInNdFilter, 0xffa6a87c) // 1 25/2
  39 // ALT: NHSTUB(PutInNdFilter, 0xffa6a834) // 2 25/2
  40 // ALT: NHSTUB(PutInNdFilter, 0xffa6a87c) // 2 25/2
  41 NHSTUB(PutOutNdFilter                         ,0xffa691cc) //  1 94%
  42 // ERROR: Read is not found.                               //--- ---    *** != 0xffac26bc
  43 //NHSTUB(Remove                               ,0xff8c04cc) //  3 52%    *** != 0xff871694
  44 //NHSTUB(Restart                              ,0xff824f50) //  1 80%    *** != 0xff824f58
  45 // ERROR: SetCurrentCaptureModeType is not found.          //--- ---    *** != 0x00000000
  46 NHSTUB(SetFileAttributes                      ,0xff8717e0) //  1 58%
  47 // ALT: NHSTUB(SetFileAttributes, 0xfff1bc4c) // 1 17/12
  48 //NHSTUB(SetLogicalEventActive                ,0xff955978) //  3 62%    *** != 0x00000000
  49 // ERROR: SetParameterData is not found.                   //--- ---    *** != 0xff95a258
  50 // ERROR: SetScriptMode is not found.                      //--- ---    *** != 0xff9559e0
  51 NHSTUB(UpdateMBROnFlash                       ,0xff8704d0) //  1 96%
  52 // ERROR: VbattGet is not found.                           //--- ---    *** != 0xffa5ba68
  53 // ERROR: Write is not found.                              //--- ---    *** != 0xffac272c
  54 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0x00000000
  55 NHSTUB(add_ptp_handler                        ,0xffa138bc) //  1 96%
  56 // ERROR: free is not found.                               //--- ---    *** != 0xffac56a8
  57 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0x00000000
  58 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff830ab4
  59 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0x00000000
  60 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0x00000000
  61 //NHSTUB(kbd_pwr_off                          ,0xffa4199c) //  1 83%    *** != 0xffa4155c
  62 // ALT: NHSTUB(kbd_pwr_off, 0xffa419b8) // 1 5/1
  63 // ALT: NHSTUB(kbd_pwr_off, 0xfff30af0) // 1 5/1
  64 // ALT: NHSTUB(kbd_pwr_off, 0xfff30b0c) // 1 5/1
  65 // ALT: NHSTUB(kbd_pwr_off, 0xfff30ff8) // 1 5/1
  66 // ALT: NHSTUB(kbd_pwr_off, 0xfff31014) // 1 5/1
  67 // ALT: NHSTUB(kbd_pwr_off, 0xffa4155c) // 3 5/1
  68 // ALT: NHSTUB(kbd_pwr_off, 0xffa41578) // 3 5/1
  69 // ALT: NHSTUB(kbd_pwr_off, 0xffa41648) // 3 5/1
  70 // ALT: NHSTUB(kbd_pwr_off, 0xffa41664) // 3 5/1
  71 // ALT: NHSTUB(kbd_pwr_off, 0xffa41744) // 3 5/1
  72 // ALT: NHSTUB(kbd_pwr_off, 0xffa41760) // 3 5/1
  73 // ALT: NHSTUB(kbd_pwr_off, 0xfff30bb8) // 3 5/1
  74 // ALT: NHSTUB(kbd_pwr_off, 0xfff30bd4) // 3 5/1
  75 // ALT: NHSTUB(kbd_pwr_off, 0xfff30ca4) // 3 5/1
  76 // ALT: NHSTUB(kbd_pwr_off, 0xfff30cc0) // 3 5/1
  77 // ALT: NHSTUB(kbd_pwr_off, 0xfff30da0) // 3 5/1
  78 // ALT: NHSTUB(kbd_pwr_off, 0xfff30dbc) // 3 5/1
  79 NHSTUB(kbd_pwr_on                             ,0xffa57374) //  1 55%
  80 // ALT: NHSTUB(kbd_pwr_on, 0xffa573a0) // 1 5/4
  81 NHSTUB(malloc                                 ,0xffac569c) //  1 53%
  82 // ALT: NHSTUB(malloc, 0xfff5997c) // 1 15/13
  83 // ALT: NHSTUB(malloc, 0xfff5997c) // 2 15/13
  84 NHSTUB(mkdir                                  ,0xff871810) //  1 61%
  85 // ALT: NHSTUB(mkdir, 0xff8718d0) // 1 19/12
  86 // ALT: NHSTUB(mkdir, 0xfff1bc7c) // 1 19/12
  87 // ALT: NHSTUB(mkdir, 0xfff1bd3c) // 1 19/12
  88 NHSTUB(taskIdListGet                          ,0xffad0948) //  1 82%
  89 // ALT: NHSTUB(taskIdListGet, 0xfff73b14) // 1 24/5
  90 NHSTUB(localtime                              ,0xffabcc84) //  1 93%
  91 // ALT: NHSTUB(localtime, 0xfff50f64) // 1 27/2
  92 // ERROR: memPartInfoGet is not found.                     //--- ---    *** != 0x00000000
  93 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff8702e4
  94 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  95 
  96 // Check of modemap from 'platform/CAMERA/shooting.c':
  97 
  98 // Values below can be overridden in 'stubs_min.S':
  99 //DEF(levent_table                            ,0xff9512ac) // Found @0xff9512ac,          stubs_min = 0xff9512ac (0xff9512ac)
 100 //DEF(FlashParamsTable                        ,0xff957ef4) // Found @0xff957ef4,          stubs_min = 0xff957ef4 (0xff957ef4)
 101 DEF(fileio_semaphore                        ,0x00002e78) // Found @0xff86e884
 102 DEF(exmem_alloc_table                       ,0x00001c38) // Found @0xff813218
 103 DEF(exmem_types_table                       ,0xff812f70) // Found @0xff812f70
 104 DEF_CONST(exmem_type_count                  ,0x0000000a)
 105 DEF(imager_active                           ,0x00003314) // Found @0xff8c49fc (0x3314 + 0)
 106 DEF_CONST(uiprop_count                      ,0x00000037) // Found @0xff959abc
 107 
 108 // Values below go in 'lib.c':
 109 
 110 // Values below go in 'platform_camera.h':
 111 //#define CAM_3ARG_DebugAssert 1
 112 
 113 // Misc stuff
 114 
 115 // EXMEM types:
 116 // EXMEM_RAMDISK   0
 117 // EXMEM_COM       1
 118 // EXMEM_FORMATTER 2
 119 // EXMEM_SHADING   3
 120 // EXMEM_FAMODE    4
 121 // EXMEM_FILESTORE 5
 122 // EXMEM_MOVIE_REC 6
 123 // EXMEM_MOVIE_PLY 7
 124 // EXMEM_WIDE      8
 125 // EXMEM_NARROW    9
 126 
 127 // Stubs below matched 100%.
 128 //    Name                                     Address                Comp to stubs_entry_2.S
 129 NHSTUB(CreateBinarySemaphore                  ,0xff822b58) //115
 130 NHSTUB(CreateTask                             ,0xff823784) //120
 131 NHSTUB(DebugAssert                            ,0xff814c10) //1100
 132 NHSTUB(DeleteFile_Fut                         ,0xff8699b4) //  1
 133 // ALT: NHSTUB(DeleteFile_Fut, 0xfff17058) // 1 10/0
 134 NHSTUB(DoAELock                               ,0xff93e058) //120
 135 NHSTUB(DoAFLock                               ,0xff93de38) //120
 136 NHSTUB(ExitTask                               ,0xff823b44) //120
 137 NHSTUB(Fclose_Fut                             ,0xff869af4) //  1
 138 NHSTUB(Feof_Fut                               ,0xff869d08) //  1
 139 // ALT: NHSTUB(Feof_Fut, 0xfff1732c) // 1 10/0
 140 NHSTUB(Fflush_Fut                             ,0xff869d40) //  1
 141 NHSTUB(Fgets_Fut                              ,0xff869c78) //  1
 142 // ALT: NHSTUB(Fgets_Fut, 0xfff1729c) // 1 15/0
 143 NHSTUB(Fopen_Fut                              ,0xff869ab8) //  1
 144 NHSTUB(Fread_Fut                              ,0xff869bd8) //  1
 145 // ALT: NHSTUB(Fread_Fut, 0xfff171fc) // 1 25/0
 146 NHSTUB(Fseek_Fut                              ,0xff869cc0) //  1
 147 // ALT: NHSTUB(Fseek_Fut, 0xfff172e4) // 1 24/0
 148 NHSTUB(Fwrite_Fut                             ,0xff869c28) //  1
 149 // ALT: NHSTUB(Fwrite_Fut, 0xfff1724c) // 1 26/0
 150 NHSTUB(GetBatteryTemperature                  ,0xffa486ac) //102
 151 NHSTUB(GetCCDTemperature                      ,0xffa48698) //102
 152 NHSTUB(GetCurrentAvValue                      ,0xffa690a4) //120
 153 NHSTUB(GetCurrentShutterSpeed                 ,0xffa68e1c) //120
 154 NHSTUB(GetDrive_ClusterSize                   ,0xff8707ec) //119
 155 NHSTUB(GetDrive_FreeClusters                  ,0xff87086c) //1103
 156 NHSTUB(GetDrive_TotalClusters                 ,0xff87082c) //119
 157 NHSTUB(GetOpticalTemperature                  ,0xffa48684) //120
 158 // ERROR: GetPropertyCase is not found.                    //--- ---        Overridden
 159 NHSTUB(GetZoomLensCurrentPosition             ,0xffa51f24) //102
 160 NHSTUB(GiveSemaphore                          ,0xff823144) //120
 161 NHSTUB(IsStrobeChargeCompleted                ,0xff9417d0) //115
 162 NHSTUB(LEDDrive                               ,0xffa62dbc) //120
 163 NHSTUB(LocalTime                              ,0xff814bc4) //115
 164 NHSTUB(LockMainPower                          ,0xff955f58) //120
 165 NHSTUB(MakeDirectory_Fut                      ,0xff869a40) //  1
 166 // ALT: NHSTUB(MakeDirectory_Fut, 0xfff170e4) // 1 25/0
 167 NHSTUB(MoveFocusLensToDistance                ,0xffa6ae90) //102
 168 NHSTUB(MoveZoomLensWithPoint                  ,0xffa51e1c) //120
 169 NHSTUB(PostLogicalEventForNotPowerType        ,0xff953808) //120
 170 NHSTUB(PostLogicalEventToUI                   ,0xff953894) //120
 171 NHSTUB(RefreshPhysicalScreen                  ,0xff96c30c) //120
 172 NHSTUB(RenameFile_Fut                         ,0xff869934) //  1
 173 // ALT: NHSTUB(RenameFile_Fut, 0xfff16fd8) // 1 27/0
 174 NHSTUB(SetAE_ShutterSpeed                     ,0xffa6d214) //102
 175 NHSTUB(SetAutoShutdownTime                    ,0xff955e48) //120
 176 // ERROR: SetPropertyCase is not found.                    //--- ---        Overridden
 177 NHSTUB(SleepTask                              ,0xff8235e4) //120
 178 NHSTUB(TakeSemaphore                          ,0xff822f5c) //1101
 179 NHSTUB(TurnOffBackLight                       ,0xff99e350) //  1
 180 NHSTUB(TurnOnBackLight                        ,0xff99e324) //  1
 181 NHSTUB(TurnOnDisplay                          ,0xff924fec) //120
 182 NHSTUB(TurnOffDisplay                         ,0xff925014) //120
 183 NHSTUB(UnlockAE                               ,0xff93e0ac) //120
 184 NHSTUB(UnlockAF                               ,0xff93de98) //120
 185 NHSTUB(UnlockMainPower                        ,0xff956014) //120
 186 NHSTUB(_log                                   ,0xffaae9b0) //121
 187 NHSTUB(_log10                                 ,0xffaaf058) //121
 188 NHSTUB(_pow                                   ,0xffaaf548) //  1
 189 // ALT: NHSTUB(_pow, 0xfff41064) // 1 25/0
 190 NHSTUB(_sqrt                                  ,0xffab3894) //  1
 191 // ALT: NHSTUB(_sqrt, 0xfff45834) // 1 24/0
 192 NHSTUB(apex2us                                ,0xff8a9f58) //  1
 193 NHSTUB(close                                  ,0xffac265c) //  1
 194 // ALT: NHSTUB(close, 0xfff5693c) // 1 29/0
 195 NHSTUB(exmem_ualloc                           ,0xff813a1c) //122
 196 NHSTUB(exmem_ufree                            ,0xff813a68) //122
 197 NHSTUB(get_nd_value                           ,0xffa4a37c) //120
 198 NHSTUB(get_current_nd_value                   ,0xffa4a368) //120
 199 NHSTUB(lseek                                  ,0xffac27a0) //  1
 200 // ALT: NHSTUB(lseek, 0xfff56a80) // 1 28/0
 201 NHSTUB(memcmp                                 ,0xffabc064) //120
 202 NHSTUB(memcpy                                 ,0xffabc0a0) //  1
 203 // ALT: NHSTUB(memcpy, 0xfff50380) // 1 23/0
 204 NHSTUB(memset                                 ,0xffabc118) //120
 205 NHSTUB(open                                   ,0xffac2ca0) //  1
 206 // ALT: NHSTUB(open, 0xfff56f80) // 1 26/0
 207 NHSTUB(closedir                               ,0xffabe490) //  1
 208 // ALT: NHSTUB(closedir, 0xfff52770) // 1 26/0
 209 NHSTUB(qsort                                  ,0xffabb8c4) //  1
 210 // ALT: NHSTUB(qsort, 0xfff4fba4) // 1 13/0
 211 NHSTUB(rand                                   ,0xffabb8e8) //  1
 212 // ALT: NHSTUB(rand, 0xfff4fbc8) // 1 8/0
 213 NHSTUB(srand                                  ,0xffabb90c) //  1
 214 // ALT: NHSTUB(srand, 0xfff4fbec) // 1 4/0
 215 NHSTUB(stat                                   ,0xffabe558) //  1
 216 // ALT: NHSTUB(stat, 0xfff52838) // 1 24/0
 217 NHSTUB(strcat                                 ,0xffabc138) //  1
 218 // ALT: NHSTUB(strcat, 0xfff50418) // 1 8/0
 219 NHSTUB(strchr                                 ,0xffabc164) //  1
 220 // ALT: NHSTUB(strchr, 0xfff50444) // 1 7/0
 221 NHSTUB(strcmp                                 ,0xffabc188) //120
 222 NHSTUB(strcpy                                 ,0xffabc31c) //120
 223 NHSTUB(strftime                               ,0xffabd9a4) //  1
 224 // ALT: NHSTUB(strftime, 0xfff51c84) // 1 6/0
 225 NHSTUB(strlen                                 ,0xffabc480) //120
 226 NHSTUB(strncmp                                ,0xffabc4e4) //  1
 227 // ALT: NHSTUB(strncmp, 0xfff507c4) // 1 11/0
 228 NHSTUB(strncpy                                ,0xffabc528) //  1
 229 // ALT: NHSTUB(strncpy, 0xfff50808) // 1 24/0
 230 NHSTUB(strrchr                                ,0xffabc5ac) //  1
 231 // ALT: NHSTUB(strrchr, 0xfff5088c) // 1 8/0
 232 NHSTUB(strtol                                 ,0xffabbd00) //  1
 233 // ALT: NHSTUB(strtol, 0xfff4ffe0) // 1 26/0
 234 NHSTUB(isdigit                                ,0xffab8374) //  1
 235 // ALT: NHSTUB(isdigit, 0xfff4c654) // 1 4/0
 236 NHSTUB(isspace                                ,0xffab83ec) //  1
 237 // ALT: NHSTUB(isspace, 0xfff4c6cc) // 1 4/0
 238 NHSTUB(isalpha                                ,0xffab8344) //  1
 239 // ALT: NHSTUB(isalpha, 0xfff4c624) // 1 4/0
 240 NHSTUB(isupper                                ,0xffab8404) //  1
 241 // ALT: NHSTUB(isupper, 0xfff4c6e4) // 1 4/0
 242 NHSTUB(islower                                ,0xffab83a4) //  1
 243 // ALT: NHSTUB(islower, 0xfff4c684) // 1 4/0
 244 NHSTUB(ispunct                                ,0xffab83d4) //  1
 245 // ALT: NHSTUB(ispunct, 0xfff4c6b4) // 1 4/0
 246 NHSTUB(isxdigit                               ,0xffab841c) //  1
 247 // ALT: NHSTUB(isxdigit, 0xfff4c6fc) // 1 4/0
 248 NHSTUB(toupper                                ,0xffab8444) //  1
 249 // ALT: NHSTUB(toupper, 0xfff4c724) // 1 4/0
 250 NHSTUB(tolower                                ,0xffab8434) //  1
 251 // ALT: NHSTUB(tolower, 0xfff4c714) // 1 4/0
 252 NHSTUB(taskLock                               ,0xffad1004) //  1
 253 // ALT: NHSTUB(taskLock, 0xfff741d0) // 1 31/0
 254 NHSTUB(taskUnlock                             ,0xffad10ac) //  1
 255 // ALT: NHSTUB(taskUnlock, 0xfff74278) // 1 31/0
 256 NHSTUB(taskName                               ,0xffad0840) //  1
 257 // ALT: NHSTUB(taskName, 0xfff73a0c) // 1 25/0
 258 NHSTUB(errnoOfTaskGet                         ,0xffabec5c) //  1
 259 // ALT: NHSTUB(errnoOfTaskGet, 0xfff52f3c) // 1 15/0
 260 NHSTUB(readdir                                ,0xffabe45c) //  1
 261 // ALT: NHSTUB(readdir, 0xfff5273c) // 1 11/0
 262 NHSTUB(strtoul                                ,0xffabbea8) //  1
 263 // ALT: NHSTUB(strtoul, 0xfff50188) // 1 26/0
 264 NHSTUB(strpbrk                                ,0xffabc570) //  1
 265 // ALT: NHSTUB(strpbrk, 0xfff50850) // 1 19/0
 266 NHSTUB(utime                                  ,0xffabe5ec) //  1
 267 // ALT: NHSTUB(utime, 0xfff528cc) // 1 26/0
 268 NHSTUB(mktime                                 ,0xffabce4c) //  1
 269 // ALT: NHSTUB(mktime, 0xfff5112c) // 1 28/0
 270 NHSTUB(opendir                                ,0xffabe4c4) //  1
 271 // ALT: NHSTUB(opendir, 0xfff527a4) // 1 29/0
 272 NHSTUB(memchr                                 ,0xffabc030) //  1
 273 // ALT: NHSTUB(memchr, 0xfff50310) // 1 19/0
 274 NHSTUB(iosDrvInstall                          ,0xffac3b40) //  1
 275 // ALT: NHSTUB(iosDrvInstall, 0xfff57e20) // 1 30/0
 276 NHSTUB(iosDevAdd                              ,0xffac387c) //  1
 277 // ALT: NHSTUB(iosDevAdd, 0xfff57b5c) // 1 28/0
 278 NHSTUB(iosDevDelete                           ,0xffac3854) //  1
 279 // ALT: NHSTUB(iosDevDelete, 0xfff57b34) // 1 28/0
 280 NHSTUB(GetCurrentTargetDistance               ,0xffa6ac00) //  1
 281 NHSTUB(taskCreateHookAdd                      ,0xffac87e8) //  1
 282 // ALT: NHSTUB(taskCreateHookAdd, 0xfff5df1c) // 1 29/0
 283 NHSTUB(taskDeleteHookAdd                      ,0xffac8724) //  1
 284 // ALT: NHSTUB(taskDeleteHookAdd, 0xfff5de58) // 1 28/0
 285 NHSTUB(Unmount_FileSystem                     ,0xff870344) //  1
 286 // ALT: NHSTUB(Unmount_FileSystem, 0xfff1aab4) // 1 18/0
 287 NHSTUB(taskSuspend                            ,0xffad0a50) //  1
 288 // ALT: NHSTUB(taskSuspend, 0xfff73c1c) // 1 31/0
 289 NHSTUB(taskResume                             ,0xffad0c24) //  1
 290 // ALT: NHSTUB(taskResume, 0xfff73df0) // 1 31/0
 291 //NHSTUB(time                                 ,0xffabd9d0) //  1            Overridden
 292 // ALT: NHSTUB(time, 0xfff51cb0) // 1 25/0
 293 NHSTUB(vsprintf                               ,0xffabfdb0) //  1
 294 // ALT: NHSTUB(vsprintf, 0xfff54090) // 1 13/0
 295 NHSTUB(EngDrvRead                             ,0xff885974) //102
 296 NHSTUB(PTM_GetCurrentItem                     ,0xff9588c4) //102
 297 NHSTUB(CancelHPTimer                          ,0xff8166d4) //119
 298 NHSTUB(SetHPTimerAfterNow                     ,0xff816260) //119
 299 NHSTUB(GetAdChValue                           ,0xffa4238c) //120

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