root/platform/a610/sub/100e/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.00E   // Found @ 0xffc0a1ac, "GM1.00E" @ 0xffc0a1b9
   6 //   Firmware build timestamp: Aug 25 2005 11:33:06
   7 //   Canon PowerShot A610
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12541# (0x30fd) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x000a0b70
  14 
  15 // Detected address ranges:
  16 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  17 // RAM data 0x00001900 - 0x00010210 copied from 0xffed3720 (  59664 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(GetFocusLensSubjectDistanceFromLens    ,0xffe66d90) //  3 52%
  22 //NHSTUB(Remove                               ,0xffcaf510) //  3 52%
  23 
  24 // Check of modemap from 'platform/CAMERA/shooting.c':
  25 // Firmware modemap table found @ffd49168 -> ffd49168
  26 // Strange mode 0x00010012 in firmware, found in modemap as 18 (MODE_VIDEO_STD)
  27 // Strange mode 0x00010013 in firmware but not in current modemap
  28 // Strange mode 0x00010014 in firmware but not in current modemap
  29 // Strange mode 0x00010015 in firmware but not in current modemap
  30 // Strange mode 0x00020016 in firmware but not in current modemap
  31 
  32 // Values below can be overridden in 'stubs_min.S':
  33 DEF(levent_table                            ,0xffd42290) // Found @0xffd42290
  34 DEF(FlashParamsTable                        ,0xffd4b62c) // Found @0xffd4b62c
  35 DEF(fileio_semaphore                        ,0x00002814) // Found @0xffc59de4
  36 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xffc02034
  37 DEF(exmem_types_table                       ,0xffc01d94) // Found @0xffc01d94
  38 DEF_CONST(exmem_type_count                  ,0x0000000d)
  39 DEF(imager_active                           ,0x000054b4) // Found @0xffcb2a14 (0x54b4 + 0)
  40 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xffd4d30c
  41 
  42 // Values below go in 'lib.c':
  43 //int get_flash_params_count(void) { return 0x5e; }                          // Found @0xffd4e368
  44 
  45 // Values below go in 'platform_camera.h':
  46 //#define PARAM_CAMERA_NAME 3 // Found @0xffd4af00
  47 
  48 // Misc stuff
  49 
  50 // EXMEM types:
  51 // EXMEM_RAMDISK   0
  52 // EXMEM_COM       1
  53 // EXMEM_COMTMP    2
  54 // EXMEM_FORMATTER 3
  55 // EXMEM_SHADING   4
  56 // EXMEM_FAMODE    5
  57 // EXMEM_FIRMUP    6
  58 // EXMEM_FILESTORE 7
  59 // EXMEM_MOVIE_REC 8
  60 // EXMEM_MOVIE_PLY 9
  61 // EXMEM_WIDE      10
  62 // EXMEM_NARROW    11
  63 // EXMEM_PCEVF     12
  64 
  65 // LED table init @ 0xffc1ce80
  66 // LED #1: 0xc022008c, offset 0x4
  67 // LED #2: 0xc0220088, offset 0x44
  68 // LED #3: 0xc0220090, offset 0x84
  69 // LED #4: 0xc0220094, offset 0xc4
  70 // LED #5: 0xc0220084, offset 0x204
  71 // LED #6: 0xc0220080, offset 0x244
  72 
  73 
  74 // For capt_seq.c
  75 DEF(_nrflag,0x6ce0) // Found @ ffd395ec (0x6ce0)
  76 //static long *nrflag = (long*)(0x6ce0);       // Found @ ffd395ec
  77 
  78 // Stubs below matched 100%.
  79 //    Name                                     Address                Comp to stubs_entry_2.S
  80 NHSTUB(AllocateUncacheableMemory              ,0xffc048d8) //  1
  81 NHSTUB(Close                                  ,0xffc5c70c) //120
  82 NHSTUB(CreateBinarySemaphore                  ,0xffc10860) //115
  83 NHSTUB(CreateTask                             ,0xffc11250) //120
  84 NHSTUB(DebugAssert                            ,0xffc03ad0) //1100
  85 NHSTUB(DeleteFile_Fut                         ,0xffc55a2c) //  1
  86 NHSTUB(DoAELock                               ,0xffd331e4) //120
  87 NHSTUB(DoAFLock                               ,0xffd33094) //120
  88 NHSTUB(EnterToCompensationEVF                 ,0xffd34f38) //  1
  89 NHSTUB(ExecuteEventProcedure                  ,0xffc067f0) //  1
  90 NHSTUB(ExitFromCompensationEVF                ,0xffd34f98) //  1
  91 NHSTUB(ExitTask                               ,0xffc11610) //120
  92 NHSTUB(Fclose_Fut                             ,0xffc55b6c) //120
  93 NHSTUB(Feof_Fut                               ,0xffc55d80) //  1
  94 NHSTUB(Fflush_Fut                             ,0xffc55db8) //  1
  95 NHSTUB(Fgets_Fut                              ,0xffc55cf0) //  1
  96 NHSTUB(Fopen_Fut                              ,0xffc55b30) //120
  97 NHSTUB(Fread_Fut                              ,0xffc55c50) //120
  98 NHSTUB(FreeUncacheableMemory                  ,0xffc0490c) //  1
  99 NHSTUB(Fseek_Fut                              ,0xffc55d38) //120
 100 NHSTUB(Fwrite_Fut                             ,0xffc55ca0) //120
 101 NHSTUB(GetBatteryTemperature                  ,0xffc1c488) //102
 102 NHSTUB(GetCCDTemperature                      ,0xffc1c474) //102
 103 NHSTUB(GetCurrentAvValue                      ,0xffe71314) //120
 104 NHSTUB(GetCurrentShutterSpeed                 ,0xffe70f6c) //120
 105 NHSTUB(GetUsableMaxAv                         ,0xffe71540) //120
 106 NHSTUB(GetUsableMinAv                         ,0xffe7151c) //120
 107 NHSTUB(GetDrive_ClusterSize                   ,0xffc5bee8) //119
 108 NHSTUB(GetDrive_FreeClusters                  ,0xffc5bf60) //1103
 109 NHSTUB(GetDrive_TotalClusters                 ,0xffc5bf24) //119
 110 NHSTUB(GetFocusLensSubjectDistance            ,0xffe667f0) //  1
 111 NHSTUB(GetOpticalTemperature                  ,0xffc1c460) //120
 112 NHSTUB(GetParameterData                       ,0xffd4e2fc) //  1
 113 NHSTUB(GetPropertyCase                        ,0xffc141a8) //  1
 114 NHSTUB(GetSystemTime                          ,0xffc04b10) //  1
 115 NHSTUB(GetZoomLensCurrentPoint                ,0xffe5305c) //120
 116 NHSTUB(GetZoomLensCurrentPosition             ,0xffe53070) //102
 117 NHSTUB(GiveSemaphore                          ,0xffc10e48) //120
 118 NHSTUB(IsStrobeChargeCompleted                ,0xffcebe00) //  1
 119 NHSTUB(LEDDrive                               ,0xffc1c9e0) //120
 120 NHSTUB(LocalTime                              ,0xffc041a0) //115
 121 NHSTUB(LockMainPower                          ,0xffd48ee0) //120
 122 NHSTUB(MakeDirectory_Fut                      ,0xffc55ab8) //  1
 123 NHSTUB(MoveFocusLensToDistance                ,0xffe7394c) //102
 124 NHSTUB(MoveZoomLensWithPoint                  ,0xffe52f3c) //120
 125 NHSTUB(Open                                   ,0xffc5c6e4) //120
 126 NHSTUB(PT_PlaySound                           ,0xffd4074c) //  1
 127 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd44f04) //120
 128 NHSTUB(PostLogicalEventToUI                   ,0xffd44f90) //120
 129 NHSTUB(PutInNdFilter                          ,0xffe71734) //  1
 130 NHSTUB(PutOutNdFilter                         ,0xffe7177c) //  1
 131 NHSTUB(Read                                   ,0xffc5c7a0) //120
 132 NHSTUB(RefreshPhysicalScreen                  ,0xffd5f6c0) //120
 133 NHSTUB(RenameFile_Fut                         ,0xffc559ac) //  1
 134 NHSTUB(Restart                                ,0xffc12800) //  1
 135 NHSTUB(SetAE_ShutterSpeed                     ,0xffe76a00) //102
 136 NHSTUB(SetAutoShutdownTime                    ,0xffd48dd8) //120
 137 NHSTUB(SetCurrentCaptureModeType              ,0xffd76e1c) //120
 138 NHSTUB(SetFileAttributes                      ,0xffc5c8c4) //  1
 139 NHSTUB(SetLogicalEventActive                  ,0xffd46f7c) //1104
 140 NHSTUB(SetParameterData                       ,0xffd4e21c) //  1
 141 NHSTUB(SetPropertyCase                        ,0xffc1408c) //  1
 142 NHSTUB(SetScriptMode                          ,0xffd46fe4) //120
 143 NHSTUB(SleepTask                              ,0xffc11164) //120
 144 NHSTUB(TakeSemaphore                          ,0xffc10c60) //1101
 145 NHSTUB(TurnOffBackLight                       ,0xffd93454) //  1
 146 NHSTUB(TurnOnBackLight                        ,0xffd93428) //  1
 147 NHSTUB(TurnOnDisplay                          ,0xffd103b4) //120
 148 NHSTUB(TurnOffDisplay                         ,0xffd103c4) //120
 149 NHSTUB(UnlockAE                               ,0xffd33204) //120
 150 NHSTUB(UnlockAF                               ,0xffd330d4) //120
 151 NHSTUB(UnlockMainPower                        ,0xffd48f94) //120
 152 NHSTUB(UnsetZoomForMovie                      ,0xffd81b80) //  1
 153 NHSTUB(UpdateMBROnFlash                       ,0xffc5bc20) //  1
 154 NHSTUB(VbattGet                               ,0xffc1b4cc) //120
 155 NHSTUB(Write                                  ,0xffc5c7ac) //120
 156 NHSTUB(WriteSDCard                            ,0xffc6afd8) //  1
 157 NHSTUB(_log                                   ,0xffea83dc) //121
 158 NHSTUB(_log10                                 ,0xffea8a84) //121
 159 NHSTUB(_pow                                   ,0xffea8f74) //121
 160 NHSTUB(_sqrt                                  ,0xffead2c0) //  1
 161 NHSTUB(add_ptp_handler                        ,0xffe222d0) //  1
 162 NHSTUB(apex2us                                ,0xffc987ec) //  1
 163 NHSTUB(close                                  ,0xffebbe5c) //109
 164 NHSTUB(exmem_ualloc                           ,0xffc02830) //122
 165 NHSTUB(exmem_ufree                            ,0xffc0287c) //122
 166 NHSTUB(free                                   ,0xffebeea8) //  1
 167 NHSTUB(kbd_p1_f                               ,0xffc16184) //  1
 168 NHSTUB(kbd_p1_f_cont                          ,0xffc16190) //109
 169 NHSTUB(kbd_p2_f                               ,0xffc16568) //  1
 170 NHSTUB(kbd_read_keys_r2                       ,0xffc16fd8) //  1
 171 NHSTUB(kbd_pwr_off                            ,0xffc1758c) //  1
 172 // ALT: NHSTUB(kbd_pwr_off, 0xffc17620) // 1 6/0
 173 // ALT: NHSTUB(kbd_pwr_off, 0xffc1763c) // 1 6/0
 174 NHSTUB(kbd_pwr_on                             ,0xffc17564) //  1
 175 NHSTUB(lseek                                  ,0xffebbfa0) //  1
 176 NHSTUB(malloc                                 ,0xffebee9c) //  1
 177 NHSTUB(memcmp                                 ,0xffeb59d0) //120
 178 NHSTUB(memcpy                                 ,0xffeb5a0c) //120
 179 NHSTUB(memset                                 ,0xffeb5a84) //120
 180 NHSTUB(mkdir                                  ,0xffc5c8f4) //  1
 181 NHSTUB(open                                   ,0xffebc4a0) //109
 182 NHSTUB(closedir                               ,0xffeb7dfc) //  1
 183 NHSTUB(qsort                                  ,0xffeb5230) //  1
 184 NHSTUB(rand                                   ,0xffeb5254) //  1
 185 NHSTUB(realloc                                ,0xffea0514) //115
 186 NHSTUB(srand                                  ,0xffeb5278) //  1
 187 NHSTUB(stat                                   ,0xffeb7ec4) //  1
 188 NHSTUB(strcat                                 ,0xffeb5aa4) //  1
 189 NHSTUB(strchr                                 ,0xffeb5ad0) //  1
 190 NHSTUB(strcmp                                 ,0xffeb5af4) //120
 191 NHSTUB(strcpy                                 ,0xffeb5c88) //120
 192 NHSTUB(strftime                               ,0xffeb7310) //  1
 193 NHSTUB(strlen                                 ,0xffeb5dec) //120
 194 NHSTUB(strncmp                                ,0xffeb5e50) //  1
 195 NHSTUB(strncpy                                ,0xffeb5e94) //  1
 196 NHSTUB(strrchr                                ,0xffeb5f18) //  1
 197 NHSTUB(strtol                                 ,0xffeb566c) //  1
 198 NHSTUB(isdigit                                ,0xffeb1da0) //  1
 199 NHSTUB(isspace                                ,0xffeb1e18) //  1
 200 NHSTUB(isalpha                                ,0xffeb1d70) //  1
 201 NHSTUB(isupper                                ,0xffeb1e30) //  1
 202 NHSTUB(islower                                ,0xffeb1dd0) //  1
 203 NHSTUB(ispunct                                ,0xffeb1e00) //  1
 204 NHSTUB(isxdigit                               ,0xffeb1e48) //  1
 205 NHSTUB(toupper                                ,0xffeb1e70) //  1
 206 NHSTUB(tolower                                ,0xffeb1e60) //  1
 207 NHSTUB(taskLock                               ,0xffecd19c) //  1
 208 NHSTUB(taskUnlock                             ,0xffecd244) //  1
 209 NHSTUB(taskName                               ,0xffecc9d8) //  1
 210 NHSTUB(taskIdListGet                          ,0xffeccae0) //  1
 211 NHSTUB(errnoOfTaskGet                         ,0xffeb85c8) //  1
 212 NHSTUB(readdir                                ,0xffeb7dc8) //  1
 213 NHSTUB(strtoul                                ,0xffeb5814) //  1
 214 NHSTUB(strpbrk                                ,0xffeb5edc) //  1
 215 NHSTUB(utime                                  ,0xffeb7f58) //  1
 216 NHSTUB(localtime                              ,0xffeb65f0) //  1
 217 NHSTUB(mktime                                 ,0xffeb67b8) //  1
 218 NHSTUB(opendir                                ,0xffeb7e30) //  1
 219 NHSTUB(memchr                                 ,0xffeb599c) //  1
 220 NHSTUB(memPartInfoGet                         ,0xffebf2bc) //  1
 221 NHSTUB(iosDrvInstall                          ,0xffebd340) //  1
 222 NHSTUB(iosDevAdd                              ,0xffebd07c) //  1
 223 NHSTUB(iosDevDelete                           ,0xffebd054) //  1
 224 NHSTUB(GetCurrentTargetDistance               ,0xffe736bc) //  1
 225 NHSTUB(taskCreateHookAdd                      ,0xffec251c) //  1
 226 NHSTUB(taskDeleteHookAdd                      ,0xffec2458) //  1
 227 NHSTUB(Mount_FileSystem                       ,0xffc5b9c0) //  1
 228 NHSTUB(Unmount_FileSystem                     ,0xffc5bac8) //  1
 229 NHSTUB(MakeAFScan                             ,0xffd377b0) //  1
 230 NHSTUB(taskSuspend                            ,0xffeccbe8) //  1
 231 NHSTUB(taskResume                             ,0xffeccdbc) //  1
 232 NHSTUB(time                                   ,0xffeb733c) //  1
 233 NHSTUB(vsprintf                               ,0xffeb971c) //115
 234 NHSTUB(EngDrvRead                             ,0xffc6d238) //102
 235 NHSTUB(PTM_GetCurrentItem                     ,0xffd4bd84) //102
 236 NHSTUB(CancelHPTimer                          ,0xffc059d4) //119
 237 NHSTUB(SetHPTimerAfterNow                     ,0xffc05560) //119
 238 NHSTUB(MFOn                                   ,0xffd33b70) //120
 239 NHSTUB(MFOff                                  ,0xffd33ba0) //120
 240 NHSTUB(GetAdChValue                           ,0xffc18d60) //120
 241 NHSTUB(get_ptp_buf_size                       ,0xffe1373c) //122
 242 NHSTUB(get_ptp_file_buf                       ,0xffe3285c) //121

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