root/platform/ixus70_sd1000/sub/101b/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.01B   // Found @ 0xff818028, "GM1.01B" @ 0xff818035
   6 //   Firmware build timestamp: May 14 2007 09:48:23
   7 //   Canon DIGITAL IXUS 70
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 30# DIGIC III
  11 //   PLATFORMID = 12623# (0x314f) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x000bef70
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000e300 copied from 0xffb87fa0 (  51712 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                 ,0xffafaae0) //  3 96%
  22 NHSTUB(FreeUncacheableMemory                  ,0xff81e5d8) //  1 90%
  23 //NHSTUB(GetCurrentAvValue                    ,0xffa50268) //120        *** != 0xffad9e94
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffad2fb4) //  1 90%
  25 NHSTUB(GetParameterData                       ,0xffb39c60) //  1 86%
  26 NHSTUB(GetPropertyCase                        ,0xff81bc98) //  2 89%
  27 NHSTUB(GetSystemTime                          ,0xff8136ec) //  1 96%
  28 NHSTUB(PutInNdFilter                          ,0xffa5044c) //  1 92%
  29 NHSTUB(PutOutNdFilter                         ,0xffa50494) //  1 94%
  30 NHSTUB(Restart                                ,0xff81b74c) //  1 96%
  31 NHSTUB(SetParameterData                       ,0xffb39b80) //  1 86%
  32 NHSTUB(UnsetZoomForMovie                      ,0xff834a74) //  1 89%
  33 //NHSTUB(WriteSDCard                          ,0xffaac1ec) //  3 74%    *** != 0xffaac394
  34 // ALT: NHSTUB(WriteSDCard, 0xffaac394) // 3 23/8
  35 NHSTUB(add_ptp_handler                        ,0xff9e469c) //  1 96%
  36 // ERROR: free is not found.                               //--- ---    *** != 0xff9201cc
  37 NHSTUB(kbd_p2_f                               ,0xffa2f61c) //  1 56%
  38 //NHSTUB(kbd_pwr_off                          ,0xffa2e504) //  1 83%    *** != 0xffa30c58
  39 // ALT: NHSTUB(kbd_pwr_off, 0xffa2e520) // 1 5/1
  40 // ALT: NHSTUB(kbd_pwr_off, 0xffa30ca0) // 1 5/1
  41 // ALT: NHSTUB(kbd_pwr_off, 0xffa30cbc) // 1 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xffa30ca0) // 3 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xffa30cbc) // 3 5/1
  44 //NHSTUB(kbd_pwr_on                           ,0xffa27648) //  1 55%    *** != 0xffa30c18
  45 // ALT: NHSTUB(kbd_pwr_on, 0xffa27674) // 1 5/4
  46 // ALT: NHSTUB(kbd_pwr_on, 0xffa27b74) // 1 5/4
  47 NHSTUB(malloc                                 ,0xff9201c0) //  1 53%
  48 NHSTUB(mkdir                                  ,0xffa9a270) //  1 51%
  49 // ALT: NHSTUB(mkdir, 0xffa9a344) // 1 16/15
  50 NHSTUB(taskIdListGet                          ,0xff92a308) //  1 82%
  51 NHSTUB(utime                                  ,0xffb5279c) //  1 57%
  52 NHSTUB(localtime                              ,0xff918fd8) //  1 93%
  53 NHSTUB(Mount_FileSystem                       ,0xffa9932c) //  3 93%
  54 NHSTUB(MakeAFScan                             ,0xffb00050) //  2 79%
  55 
  56 // Check of modemap from 'platform/CAMERA/shooting.c':
  57 // Firmware modemap table found @ffb3bda8 -> ffb3bda8
  58 // No problems found with modemap table.
  59 
  60 // Values below can be overridden in 'stubs_min.S':
  61 //DEF(levent_table                            ,0xffb2f238) // Found @0xffb2f238,          stubs_min = 0xffb2f238 (0xFFB2F238)
  62 //DEF(FlashParamsTable                        ,0xffb3e43c) // Found @0xffb3e43c,          stubs_min = 0xffb3e43c (0xFFB3E43C)
  63 DEF(fileio_semaphore                        ,0x0000a110) // Found @0xffa9c6cc
  64 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xff81d99c
  65 DEF(exmem_types_table                       ,0xff81d7bc) // Found @0xff81d7bc
  66 DEF_CONST(exmem_type_count                  ,0x00000011)
  67 DEF(imager_active                           ,0x00006d78) // Found @0xff9a93f8 (0x6d78 + 0)
  68 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffb38d60
  69 
  70 // Values below go in 'lib.c':
  71 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffb39ccc
  72 
  73 // Values below go in 'platform_camera.h':
  74 //#define PARAM_CAMERA_NAME 4 // Found @0xffb3dbcc
  75 
  76 // Misc stuff
  77 
  78 // EXMEM types:
  79 // EXMEM_RAMDISK   0
  80 // EXMEM_COM       1
  81 // EXMEM_COMTMP    2
  82 // EXMEM_FORMATTER 3
  83 // EXMEM_SHADING   4
  84 // EXMEM_FAMODE    5
  85 // EXMEM_FIRMUP    6
  86 // EXMEM_DVLPWORK  7
  87 // EXMEM_EVF       8
  88 // EXMEM_SCRIPT    9
  89 // EXMEM_FILESTORE 10
  90 // EXMEM_MOVIE_REC 11
  91 // EXMEM_MOVIE_PLY 12
  92 // EXMEM_WIDE      13
  93 // EXMEM_NARROW    14
  94 // EXMEM_CRAW_REC  15
  95 // EXMEM_PCEVF     16
  96 
  97 // LED table init @ 0xffa2ef20
  98 // LED #1: 0xc02200cc, offset 0x4
  99 // LED #2: 0xc02200c8, offset 0x44
 100 // LED #3: 0xc02200d0, offset 0x84
 101 // LED #4: 0xc02200d4, offset 0xc4
 102 // LED #5: 0xc02200c4, offset 0x204
 103 // LED #6: 0xc02200c0, offset 0x244
 104 
 105 // Stubs below matched 100%.
 106 //    Name                                     Address                Comp to stubs_entry_2.S
 107 NHSTUB(AllocateUncacheableMemory              ,0xff81e5a4) //  1
 108 NHSTUB(Close                                  ,0xffa9a008) //120
 109 NHSTUB(CreateBinarySemaphore                  ,0xffb13d78) //115
 110 NHSTUB(CreateTask                             ,0xffb14790) //120
 111 NHSTUB(DebugAssert                            ,0xffb2069c) //1100
 112 NHSTUB(DeleteFile_Fut                         ,0xffa955dc) //  1
 113 NHSTUB(DoAELock                               ,0xffafac6c) //120
 114 NHSTUB(DoAFLock                               ,0xffafa738) //120
 115 NHSTUB(ExecuteEventProcedure                  ,0xff814a58) //  1
 116 NHSTUB(ExitFromCompensationEVF                ,0xffafab64) //  3
 117 NHSTUB(ExitTask                               ,0xffb14b50) //120
 118 NHSTUB(Fclose_Fut                             ,0xffa95750) //120
 119 NHSTUB(Feof_Fut                               ,0xffa9594c) //  3
 120 NHSTUB(Fflush_Fut                             ,0xffa95988) //  3
 121 NHSTUB(Fgets_Fut                              ,0xffa958b4) //  3
 122 NHSTUB(Fopen_Fut                              ,0xffa95710) //120
 123 NHSTUB(Fread_Fut                              ,0xffa9580c) //120
 124 NHSTUB(Fseek_Fut                              ,0xffa95900) //120
 125 NHSTUB(Fwrite_Fut                             ,0xffa95860) //120
 126 //NHSTUB(GetBatteryTemperature                ,0xffa344e4) //102            == 0xffa344e4
 127 NHSTUB(GetCCDTemperature                      ,0xffa344d0) //102
 128 NHSTUB(GetCurrentShutterSpeed                 ,0xffa4ff24) //120
 129 NHSTUB(GetDrive_ClusterSize                   ,0xffa997f4) //119
 130 NHSTUB(GetDrive_FreeClusters                  ,0xffa9986c) //1103
 131 NHSTUB(GetDrive_TotalClusters                 ,0xffa99830) //119
 132 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffad34a8) //  3
 133 NHSTUB(GetOpticalTemperature                  ,0xffa344bc) //120
 134 NHSTUB(GetZoomLensCurrentPoint                ,0xffae5ee4) //120
 135 NHSTUB(GetZoomLensCurrentPosition             ,0xffae5ef8) //102
 136 NHSTUB(GiveSemaphore                          ,0xffb1435c) //120
 137 NHSTUB(IsStrobeChargeCompleted                ,0xff9a43a8) //  2
 138 NHSTUB(LEDDrive                               ,0xffa2eb34) //120
 139 NHSTUB(LocalTime                              ,0xffb20f68) //115
 140 NHSTUB(LockMainPower                          ,0xffb36b74) //120
 141 NHSTUB(MakeDirectory_Fut                      ,0xffa95690) //  3
 142 NHSTUB(MoveFocusLensToDistance                ,0xffa52a78) //102
 143 NHSTUB(MoveIrisWithAv                         ,0xffad9e2c) //120
 144 NHSTUB(MoveZoomLensWithPoint                  ,0xffae5dbc) //120
 145 NHSTUB(Open                                   ,0xffa99fe0) //120
 146 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffb0b7a8) //120
 147 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffb0b76c) //120
 148 NHSTUB(PT_PlaySound                           ,0xffb0b26c) //  3
 149 NHSTUB(PostLogicalEventForNotPowerType        ,0xffb327a4) //120
 150 NHSTUB(PostLogicalEventToUI                   ,0xffb32820) //120
 151 NHSTUB(Read                                   ,0xffa9a09c) //120
 152 NHSTUB(RefreshPhysicalScreen                  ,0xff90bc18) //120
 153 NHSTUB(RenameFile_Fut                         ,0xffa95534) //  3
 154 NHSTUB(SetAE_ShutterSpeed                     ,0xffa55aac) //102
 155 NHSTUB(SetAutoShutdownTime                    ,0xffb36a78) //120
 156 NHSTUB(SetCurrentCaptureModeType              ,0xff828fc4) //120
 157 NHSTUB(SetDate                                ,0xffa57ee8) //120
 158 NHSTUB(SetFileAttributes                      ,0xffa9a1f0) //  3
 159 NHSTUB(SetLogicalEventActive                  ,0xffb34680) //1104
 160 NHSTUB(SetPropertyCase                        ,0xff81bb60) //  3
 161 //NHSTUB(SetScriptMode                        ,0xffb346e4) //120            == 0xffb346e4
 162 NHSTUB(SleepTask                              ,0xffb146a4) //120
 163 NHSTUB(TakeSemaphore                          ,0xffb14154) //1101
 164 NHSTUB(TurnOffBackLight                       ,0xff8462d4) //  2
 165 NHSTUB(TurnOnBackLight                        ,0xff8462a4) //  2
 166 NHSTUB(TurnOnDisplay                          ,0xffa243ec) //120
 167 NHSTUB(TurnOffDisplay                         ,0xffa243fc) //120
 168 NHSTUB(UnlockAE                               ,0xffafacbc) //120
 169 NHSTUB(UnlockAF                               ,0xffafa7b8) //120
 170 NHSTUB(UnlockMainPower                        ,0xffb36c0c) //120
 171 NHSTUB(UpdateMBROnFlash                       ,0xffa99528) //  1
 172 NHSTUB(VbattGet                               ,0xffa2ccd8) //120
 173 NHSTUB(Write                                  ,0xffa9a0a8) //120
 174 NHSTUB(_log                                   ,0xff912db4) //121
 175 NHSTUB(_log10                                 ,0xff90fb5c) //121
 176 NHSTUB(_pow                                   ,0xff90fcdc) //121
 177 NHSTUB(_sqrt                                  ,0xff911b9c) //  1
 178 NHSTUB(apex2us                                ,0xff931648) //  1
 179 NHSTUB(close                                  ,0xff91d180) //109
 180 NHSTUB(exmem_alloc                            ,0xff81e480) //102
 181 NHSTUB(exmem_ualloc                           ,0xff81e2b0) //102
 182 NHSTUB(exmem_ufree                            ,0xff81e380) //102
 183 NHSTUB(get_nd_value                           ,0xffadeb28) //115
 184 NHSTUB(get_current_nd_value                   ,0xffadeb14) //122
 185 NHSTUB(kbd_p1_f                               ,0xffa2f1ec) //  1
 186 NHSTUB(kbd_p1_f_cont                          ,0xffa2f1f8) //109
 187 NHSTUB(kbd_read_keys_r2                       ,0xffa30724) //  3
 188 NHSTUB(lseek                                  ,0xff91d2c4) //  1
 189 NHSTUB(memcmp                                 ,0xff9183b8) //120
 190 NHSTUB(memcpy                                 ,0xff9183f4) //120
 191 NHSTUB(memset                                 ,0xff91846c) //120
 192 NHSTUB(open                                   ,0xff91d7c4) //109
 193 NHSTUB(closedir                               ,0xffb52640) //  1
 194 NHSTUB(qsort                                  ,0xff917c18) //  1
 195 NHSTUB(rand                                   ,0xff917c3c) //  1
 196 NHSTUB(realloc                                ,0xffb202a8) //115
 197 NHSTUB(srand                                  ,0xff917c60) //  1
 198 NHSTUB(stat                                   ,0xffb52708) //  1
 199 NHSTUB(strcat                                 ,0xff91848c) //  1
 200 NHSTUB(strchr                                 ,0xff9184b8) //  1
 201 NHSTUB(strcmp                                 ,0xff9184dc) //120
 202 NHSTUB(strcpy                                 ,0xff918670) //120
 203 NHSTUB(strftime                               ,0xff919cf8) //  1
 204 NHSTUB(strlen                                 ,0xff9187d4) //120
 205 NHSTUB(strncmp                                ,0xff918838) //  1
 206 NHSTUB(strncpy                                ,0xff91887c) //  1
 207 NHSTUB(strrchr                                ,0xff918900) //  1
 208 NHSTUB(strtol                                 ,0xff918054) //  1
 209 NHSTUB(isdigit                                ,0xff914788) //  1
 210 NHSTUB(isspace                                ,0xff914800) //  1
 211 NHSTUB(isalpha                                ,0xff914758) //  1
 212 NHSTUB(isupper                                ,0xff914818) //  1
 213 NHSTUB(islower                                ,0xff9147b8) //  1
 214 NHSTUB(ispunct                                ,0xff9147e8) //  1
 215 NHSTUB(isxdigit                               ,0xff914830) //  1
 216 NHSTUB(toupper                                ,0xff914858) //  1
 217 NHSTUB(tolower                                ,0xff914848) //  1
 218 NHSTUB(taskLock                               ,0xff92a9c4) //  1
 219 NHSTUB(taskUnlock                             ,0xff92aa6c) //  1
 220 NHSTUB(taskName                               ,0xff92a200) //  1
 221 NHSTUB(errnoOfTaskGet                         ,0xff91add4) //  1
 222 NHSTUB(readdir                                ,0xffb5260c) //  1
 223 NHSTUB(strtoul                                ,0xff9181fc) //  1
 224 NHSTUB(strpbrk                                ,0xff9188c4) //  1
 225 NHSTUB(mktime                                 ,0xff9191a0) //  1
 226 NHSTUB(opendir                                ,0xffb52674) //  1
 227 NHSTUB(memchr                                 ,0xff918384) //  1
 228 NHSTUB(memPartInfoGet                         ,0xff9205e0) //  1
 229 NHSTUB(iosDrvInstall                          ,0xff91e664) //  1
 230 NHSTUB(iosDevAdd                              ,0xff91e3a0) //  1
 231 NHSTUB(iosDevDelete                           ,0xff91e378) //  1
 232 NHSTUB(GetCurrentTargetDistance               ,0xffa527e0) //  1
 233 NHSTUB(taskCreateHookAdd                      ,0xff922e20) //  1
 234 NHSTUB(taskDeleteHookAdd                      ,0xff922d5c) //  1
 235 NHSTUB(Unmount_FileSystem                     ,0xffa993d4) //  1
 236 NHSTUB(taskSuspend                            ,0xff92a410) //  1
 237 NHSTUB(taskResume                             ,0xff92a5e4) //  1
 238 NHSTUB(time                                   ,0xff919d24) //  1
 239 NHSTUB(vsprintf                               ,0xff91bf28) //115
 240 NHSTUB(EngDrvRead                             ,0xffa3da80) //102
 241 NHSTUB(PTM_GetCurrentItem                     ,0xffb37a6c) //102
 242 NHSTUB(CancelHPTimer                          ,0xff814644) //1100
 243 NHSTUB(SetHPTimerAfterNow                     ,0xff81415c) //119
 244 NHSTUB(MFOn                                   ,0xffb0c150) //120
 245 NHSTUB(MFOff                                  ,0xffb0c160) //120
 246 NHSTUB(GetAdChValue                           ,0xffa29b78) //120
 247 NHSTUB(get_ptp_buf_size                       ,0xff9d9d98) //122
 248 NHSTUB(get_ptp_file_buf                       ,0xff9f26ac) //121

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