root/platform/a570/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 @ 0xffc08024, "GM1.00E" @ 0xffc08031
   6 //   Firmware build timestamp: Jan 12 2007 13:33:40
   7 //   Canon PowerShot A570 IS
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12620 (0x314c) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x000a6c30
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d870 copied from 0xfff2d320 (  49008 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(FreeUncacheableMemory                  ,0xffc0e5d4) //  1 90%
  21 NHSTUB(GetFocusLensSubjectDistance            ,0xffe71b8c) //  1 90%
  22 NHSTUB(GetParameterData                       ,0xffee3d30) //  1 86%
  23 NHSTUB(GetPropertyCase                        ,0xffc0bc94) //  2 89%
  24 NHSTUB(GetSystemTime                          ,0xffc036e8) //  1 96%
  25 NHSTUB(PutInNdFilter                          ,0xffe060f0) //  1 92%
  26 NHSTUB(PutOutNdFilter                         ,0xffe06138) //  1 94%
  27 NHSTUB(Restart                                ,0xffc0b748) //  1 96%
  28 NHSTUB(SetParameterData                       ,0xffee3c50) //  1 86%
  29 NHSTUB(UnsetZoomForMovie                      ,0xffc22c2c) //  1 89%
  30 NHSTUB(add_ptp_handler                        ,0xffd9b9d8) //  1 96%
  31 NHSTUB(kbd_p2_f                               ,0xffde6298) //  1 56%
  32 NHSTUB(kbd_pwr_on                             ,0xffde7bac) //  1 88%
  33 NHSTUB(malloc                                 ,0xffcd9b78) //  1 53%
  34 NHSTUB(mkdir                                  ,0xffe46dc0) //  1 51%
  35 // ALT: NHSTUB(mkdir, 0xffe46e94) // 1 16/15
  36 NHSTUB(taskIdListGet                          ,0xffce3cc0) //  1 82%
  37 NHSTUB(utime                                  ,0xffefa040) //  1 57%
  38 NHSTUB(localtime                              ,0xffcd2990) //  1 93%
  39 NHSTUB(MakeAFScan                             ,0xffeaa230) //  2 86%
  40 
  41 // Check of modemap from 'platform/CAMERA/shooting.c':
  42 // Firmware modemap table found @ffee5e94 -> ffee5e94
  43 // No problems found with modemap table.
  44 
  45 // Values below can be overridden in 'stubs_min.S':
  46 DEF(levent_table                            ,0xffed9260) // Found @0xffed9260
  47 DEF(FlashParamsTable                        ,0xffee8478) // Found @0xffee8478
  48 DEF(fileio_semaphore                        ,0x0000979c) // Found @0xffe4921c
  49 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xffc0d998
  50 DEF(exmem_types_table                       ,0xffc0d7b8) // Found @0xffc0d7b8
  51 DEF_CONST(exmem_type_count                  ,0x00000011)
  52 DEF(imager_active                           ,0x000063b8) // Found @0xffd62d70 (0x63b8 + 0)
  53 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffee2e30
  54 
  55 // Values below go in 'lib.c':
  56 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffee3d9c
  57 
  58 // Values below go in 'platform_camera.h':
  59 //#define PARAM_CAMERA_NAME 4 // Found @0xffee7c08
  60 
  61 // Misc stuff
  62 
  63 // EXMEM types:
  64 // EXMEM_RAMDISK   0
  65 // EXMEM_COM       1
  66 // EXMEM_COMTMP    2
  67 // EXMEM_FORMATTER 3
  68 // EXMEM_SHADING   4
  69 // EXMEM_FAMODE    5
  70 // EXMEM_FIRMUP    6
  71 // EXMEM_DVLPWORK  7
  72 // EXMEM_EVF       8
  73 // EXMEM_SCRIPT    9
  74 // EXMEM_FILESTORE 10
  75 // EXMEM_MOVIE_REC 11
  76 // EXMEM_MOVIE_PLY 12
  77 // EXMEM_WIDE      13
  78 // EXMEM_NARROW    14
  79 // EXMEM_CRAW_REC  15
  80 // EXMEM_PCEVF     16
  81 
  82 // LED table init @ 0xffde5b9c
  83 // LED #1: 0xc02200cc, offset 0x4
  84 // LED #2: 0xc02200c8, offset 0x44
  85 // LED #3: 0xc02200d0, offset 0x84
  86 // LED #4: 0xc02200d4, offset 0xc4
  87 // LED #5: 0xc02200c4, offset 0x204
  88 // LED #6: 0xc02200c0, offset 0x244
  89 
  90 // Stubs below matched 100%.
  91 //    Name                                     Address                Comp to stubs_entry_2.S
  92 NHSTUB(AllocateUncacheableMemory              ,0xffc0e5a0) //  1
  93 NHSTUB(Close                                  ,0xffe46b58) //120
  94 NHSTUB(CreateBinarySemaphore                  ,0xffebde5c) //115
  95 NHSTUB(CreateTask                             ,0xffebe874) //120
  96 NHSTUB(DebugAssert                            ,0xffeca7b0) //1100
  97 NHSTUB(DeleteFile_Fut                         ,0xffe4212c) //  1
  98 NHSTUB(DoAELock                               ,0xffea511c) //120
  99 NHSTUB(DoAFLock                               ,0xffea4bdc) //120
 100 NHSTUB(EnterToCompensationEVF                 ,0xffea4f84) //  3
 101 NHSTUB(ExecuteEventProcedure                  ,0xffc04a54) //  1
 102 NHSTUB(ExitFromCompensationEVF                ,0xffea5008) //  3
 103 NHSTUB(ExitTask                               ,0xffebec34) //120
 104 NHSTUB(Fclose_Fut                             ,0xffe422a0) //120
 105 NHSTUB(Feof_Fut                               ,0xffe4249c) //  3
 106 NHSTUB(Fflush_Fut                             ,0xffe424d8) //  3
 107 NHSTUB(Fgets_Fut                              ,0xffe42404) //  3
 108 NHSTUB(Fopen_Fut                              ,0xffe42260) //120
 109 NHSTUB(Fread_Fut                              ,0xffe4235c) //120
 110 NHSTUB(Fseek_Fut                              ,0xffe42450) //120
 111 NHSTUB(Fwrite_Fut                             ,0xffe423b0) //120
 112 NHSTUB(GetBatteryTemperature                  ,0xffdeac78) //102
 113 NHSTUB(GetCCDTemperature                      ,0xffdeac64) //102
 114 NHSTUB(GetCurrentAvValue                      ,0xffe05c74) //120
 115 NHSTUB(GetCurrentShutterSpeed                 ,0xffe058d8) //120
 116 NHSTUB(GetUsableMaxAv                         ,0xffe05f30) //120
 117 NHSTUB(GetUsableMinAv                         ,0xffe05f0c) //120
 118 NHSTUB(GetDrive_ClusterSize                   ,0xffe46344) //119
 119 NHSTUB(GetDrive_FreeClusters                  ,0xffe463bc) //1103
 120 NHSTUB(GetDrive_TotalClusters                 ,0xffe46380) //119
 121 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe72080) //  3
 122 NHSTUB(GetOpticalTemperature                  ,0xffdeac50) //120
 123 NHSTUB(GetZoomLensCurrentPoint                ,0xffe86db8) //120
 124 NHSTUB(GetZoomLensCurrentPosition             ,0xffe86dcc) //102
 125 NHSTUB(GiveSemaphore                          ,0xffebe440) //120
 126 NHSTUB(IsStrobeChargeCompleted                ,0xffd5e208) //  2
 127 NHSTUB(LEDDrive                               ,0xffde57b0) //120
 128 NHSTUB(LocalTime                              ,0xffecb0c4) //115
 129 NHSTUB(LockMainPower                          ,0xffee0ba4) //120
 130 NHSTUB(MakeDirectory_Fut                      ,0xffe421e0) //  3
 131 NHSTUB(MoveFocusLensToDistance                ,0xffe0860c) //102
 132 NHSTUB(MoveIrisWithAv                         ,0xffe79ab4) //120
 133 NHSTUB(MoveZoomLensWithPoint                  ,0xffe86c90) //120
 134 NHSTUB(Open                                   ,0xffe46b30) //120
 135 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffeb587c) //120
 136 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffeb5840) //120
 137 NHSTUB(PT_PlaySound                           ,0xffeb5340) //  3
 138 NHSTUB(PostLogicalEventForNotPowerType        ,0xffedc7cc) //120
 139 NHSTUB(PostLogicalEventToUI                   ,0xffedc848) //120
 140 NHSTUB(Read                                   ,0xffe46bec) //120
 141 NHSTUB(RefreshPhysicalScreen                  ,0xffcc646c) //120
 142 NHSTUB(RenameFile_Fut                         ,0xffe42084) //  3
 143 NHSTUB(SetAE_ShutterSpeed                     ,0xffe0b70c) //102
 144 NHSTUB(SetAutoShutdownTime                    ,0xffee0aa8) //120
 145 NHSTUB(SetCurrentCaptureModeType              ,0xffc17d10) //120
 146 NHSTUB(SetFileAttributes                      ,0xffe46d40) //  3
 147 NHSTUB(SetLogicalEventActive                  ,0xffede6b0) //1104
 148 NHSTUB(SetPropertyCase                        ,0xffc0bb5c) //  3
 149 NHSTUB(SetScriptMode                          ,0xffede714) //120
 150 NHSTUB(SleepTask                              ,0xffebe788) //120
 151 NHSTUB(TakeSemaphore                          ,0xffebe238) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffc34d70) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffc34d40) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xffddb0f0) //120
 155 NHSTUB(TurnOffDisplay                         ,0xffddb100) //120
 156 NHSTUB(UnlockAE                               ,0xffea516c) //120
 157 NHSTUB(UnlockAF                               ,0xffea4c5c) //120
 158 NHSTUB(UnlockMainPower                        ,0xffee0c3c) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xffe46078) //  1
 160 NHSTUB(VbattGet                               ,0xffde398c) //120
 161 NHSTUB(Write                                  ,0xffe46bf8) //120
 162 NHSTUB(WriteSDCard                            ,0xffe58eec) //  3
 163 NHSTUB(_log                                   ,0xffef8824) //121
 164 NHSTUB(_log10                                 ,0xffef7ca4) //121
 165 NHSTUB(_pow                                   ,0xffcca3b0) //121
 166 NHSTUB(_sqrt                                  ,0xffccc270) //  1
 167 NHSTUB(apex2us                                ,0xffceb000) //  1
 168 NHSTUB(close                                  ,0xffcd6b38) //109
 169 NHSTUB(exmem_alloc                            ,0xffc0e47c) //102
 170 NHSTUB(exmem_free                             ,0xffc0e4fc) //102
 171 NHSTUB(free                                   ,0xffcd9b84) //  3
 172 NHSTUB(kbd_p1_f                               ,0xffde5e68) //  1
 173 NHSTUB(kbd_p1_f_cont                          ,0xffde5e74) //109
 174 NHSTUB(kbd_read_keys_r2                       ,0xffde74f0) //  3
 175 NHSTUB(kbd_pwr_off                            ,0xffde7bd4) //  3
 176 // ALT: NHSTUB(kbd_pwr_off, 0xffde7c04) // 3 6/0
 177 // ALT: NHSTUB(kbd_pwr_off, 0xffde7c20) // 3 6/0
 178 NHSTUB(lseek                                  ,0xffcd6c7c) //  1
 179 NHSTUB(memcmp                                 ,0xffcd1d70) //120
 180 NHSTUB(memcpy                                 ,0xffcd1dac) //120
 181 NHSTUB(memset                                 ,0xffcd1e24) //120
 182 NHSTUB(open                                   ,0xffcd717c) //109
 183 NHSTUB(closedir                               ,0xffef9ee4) //  1
 184 NHSTUB(qsort                                  ,0xffcd15d0) //  1
 185 NHSTUB(rand                                   ,0xffcd15f4) //  1
 186 NHSTUB(realloc                                ,0xffeca3bc) //115
 187 NHSTUB(srand                                  ,0xffcd1618) //  1
 188 NHSTUB(stat                                   ,0xffef9fac) //  1
 189 NHSTUB(strcat                                 ,0xffcd1e44) //  1
 190 NHSTUB(strchr                                 ,0xffcd1e70) //  1
 191 NHSTUB(strcmp                                 ,0xffcd1e94) //120
 192 NHSTUB(strcpy                                 ,0xffcd2028) //120
 193 NHSTUB(strftime                               ,0xffcd36b0) //  1
 194 NHSTUB(strlen                                 ,0xffcd218c) //120
 195 NHSTUB(strncmp                                ,0xffcd21f0) //  1
 196 NHSTUB(strncpy                                ,0xffcd2234) //  1
 197 NHSTUB(strrchr                                ,0xffcd22b8) //  1
 198 NHSTUB(strtol                                 ,0xffcd1a0c) //  1
 199 NHSTUB(isdigit                                ,0xffcce140) //  1
 200 NHSTUB(isspace                                ,0xffcce1b8) //  1
 201 NHSTUB(isalpha                                ,0xffcce110) //  1
 202 NHSTUB(isupper                                ,0xffcce1d0) //  1
 203 NHSTUB(islower                                ,0xffcce170) //  1
 204 NHSTUB(ispunct                                ,0xffcce1a0) //  1
 205 NHSTUB(isxdigit                               ,0xffcce1e8) //  1
 206 NHSTUB(toupper                                ,0xffcce210) //  1
 207 NHSTUB(tolower                                ,0xffcce200) //  1
 208 NHSTUB(taskLock                               ,0xffce437c) //  1
 209 NHSTUB(taskUnlock                             ,0xffce4424) //  1
 210 NHSTUB(taskName                               ,0xffce3bb8) //  1
 211 NHSTUB(errnoOfTaskGet                         ,0xffcd478c) //  1
 212 NHSTUB(readdir                                ,0xffef9eb0) //  1
 213 NHSTUB(strtoul                                ,0xffcd1bb4) //  1
 214 NHSTUB(strpbrk                                ,0xffcd227c) //  1
 215 NHSTUB(mktime                                 ,0xffcd2b58) //  1
 216 NHSTUB(opendir                                ,0xffef9f18) //  1
 217 NHSTUB(memchr                                 ,0xffcd1d3c) //  1
 218 NHSTUB(memPartInfoGet                         ,0xffcd9f98) //  1
 219 NHSTUB(iosDrvInstall                          ,0xffcd801c) //  1
 220 NHSTUB(iosDevAdd                              ,0xffcd7d58) //  1
 221 NHSTUB(iosDevDelete                           ,0xffcd7d30) //  1
 222 NHSTUB(GetCurrentTargetDistance               ,0xffe08374) //  1
 223 NHSTUB(taskCreateHookAdd                      ,0xffcdc7d8) //  1
 224 NHSTUB(taskDeleteHookAdd                      ,0xffcdc714) //  1
 225 NHSTUB(Mount_FileSystem                       ,0xffe45e7c) //  3
 226 NHSTUB(Unmount_FileSystem                     ,0xffe45f24) //  1
 227 NHSTUB(taskSuspend                            ,0xffce3dc8) //  1
 228 NHSTUB(taskResume                             ,0xffce3f9c) //  1
 229 NHSTUB(time                                   ,0xffcd36dc) //  1
 230 NHSTUB(vsprintf                               ,0xffcd58e0) //115
 231 NHSTUB(EngDrvRead                             ,0xffdf3374) //102
 232 NHSTUB(PTM_GetCurrentItem                     ,0xffee1a9c) //102
 233 NHSTUB(CancelHPTimer                          ,0xffc04640) //1100
 234 NHSTUB(SetHPTimerAfterNow                     ,0xffc04158) //119
 235 NHSTUB(MFOn                                   ,0xffeb6224) //120
 236 NHSTUB(MFOff                                  ,0xffeb6234) //120
 237 NHSTUB(GetAdChValue                           ,0xffde0834) //120

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