root/platform/a570/sub/101a/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.01A   // Found @ 0xffc08024, "GM1.01A" @ 0xffc08031
   6 //   Firmware build timestamp: Mar 14 2007 18:38:41
   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 0xfff2d3a0 (  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            ,0xffe71c00) //  1 90%
  22 NHSTUB(GetParameterData                       ,0xffee3da4) //  1 86%
  23 NHSTUB(GetPropertyCase                        ,0xffc0bc94) //  2 89%
  24 NHSTUB(GetSystemTime                          ,0xffc036e8) //  1 96%
  25 NHSTUB(PutInNdFilter                          ,0xffe06164) //  1 92%
  26 NHSTUB(PutOutNdFilter                         ,0xffe061ac) //  1 94%
  27 NHSTUB(Restart                                ,0xffc0b748) //  1 96%
  28 NHSTUB(SetParameterData                       ,0xffee3cc4) //  1 86%
  29 NHSTUB(UnsetZoomForMovie                      ,0xffc22c2c) //  1 89%
  30 NHSTUB(add_ptp_handler                        ,0xffd9ba4c) //  1 96%
  31 NHSTUB(kbd_p2_f                               ,0xffde630c) //  1 56%
  32 NHSTUB(kbd_pwr_on                             ,0xffde7c20) //  1 88%
  33 NHSTUB(malloc                                 ,0xffcd9b78) //  1 53%
  34 NHSTUB(mkdir                                  ,0xffe46e34) //  1 51%
  35 // ALT: NHSTUB(mkdir, 0xffe46f08) // 1 16/15
  36 NHSTUB(taskIdListGet                          ,0xffce3cc0) //  1 82%
  37 NHSTUB(utime                                  ,0xffefa0b4) //  1 57%
  38 NHSTUB(localtime                              ,0xffcd2990) //  1 93%
  39 NHSTUB(MakeAFScan                             ,0xffeaa2a4) //  2 86%
  40 
  41 // Check of modemap from 'platform/CAMERA/shooting.c':
  42 // Firmware modemap table found @ffee5f08 -> ffee5f08
  43 // No problems found with modemap table.
  44 
  45 // Values below can be overridden in 'stubs_min.S':
  46 DEF(levent_table                            ,0xffed92d4) // Found @0xffed92d4
  47 DEF(FlashParamsTable                        ,0xffee84ec) // Found @0xffee84ec
  48 DEF(fileio_semaphore                        ,0x0000979c) // Found @0xffe49290
  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 @0xffee2ea4
  54 
  55 // Values below go in 'lib.c':
  56 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffee3e10
  57 
  58 // Values below go in 'platform_camera.h':
  59 //#define PARAM_CAMERA_NAME 4 // Found @0xffee7c7c
  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 @ 0xffde5c10
  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                                  ,0xffe46bcc) //120
  94 NHSTUB(CreateBinarySemaphore                  ,0xffebded0) //115
  95 NHSTUB(CreateTask                             ,0xffebe8e8) //120
  96 NHSTUB(DebugAssert                            ,0xffeca824) //1100
  97 NHSTUB(DeleteFile_Fut                         ,0xffe421a0) //  1
  98 NHSTUB(DoAELock                               ,0xffea5190) //120
  99 NHSTUB(DoAFLock                               ,0xffea4c50) //120
 100 NHSTUB(EnterToCompensationEVF                 ,0xffea4ff8) //  3
 101 NHSTUB(ExecuteEventProcedure                  ,0xffc04a54) //  1
 102 NHSTUB(ExitFromCompensationEVF                ,0xffea507c) //  3
 103 NHSTUB(ExitTask                               ,0xffebeca8) //120
 104 NHSTUB(Fclose_Fut                             ,0xffe42314) //120
 105 NHSTUB(Feof_Fut                               ,0xffe42510) //  3
 106 NHSTUB(Fflush_Fut                             ,0xffe4254c) //  3
 107 NHSTUB(Fgets_Fut                              ,0xffe42478) //  3
 108 NHSTUB(Fopen_Fut                              ,0xffe422d4) //120
 109 NHSTUB(Fread_Fut                              ,0xffe423d0) //120
 110 NHSTUB(Fseek_Fut                              ,0xffe424c4) //120
 111 NHSTUB(Fwrite_Fut                             ,0xffe42424) //120
 112 NHSTUB(GetBatteryTemperature                  ,0xffdeacec) //102
 113 NHSTUB(GetCCDTemperature                      ,0xffdeacd8) //102
 114 NHSTUB(GetCurrentAvValue                      ,0xffe05ce8) //120
 115 NHSTUB(GetCurrentShutterSpeed                 ,0xffe0594c) //120
 116 NHSTUB(GetUsableMaxAv                         ,0xffe05fa4) //120
 117 NHSTUB(GetUsableMinAv                         ,0xffe05f80) //120
 118 NHSTUB(GetDrive_ClusterSize                   ,0xffe463b8) //119
 119 NHSTUB(GetDrive_FreeClusters                  ,0xffe46430) //1103
 120 NHSTUB(GetDrive_TotalClusters                 ,0xffe463f4) //119
 121 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe720f4) //  3
 122 NHSTUB(GetOpticalTemperature                  ,0xffdeacc4) //120
 123 NHSTUB(GetZoomLensCurrentPoint                ,0xffe86e2c) //120
 124 NHSTUB(GetZoomLensCurrentPosition             ,0xffe86e40) //102
 125 NHSTUB(GiveSemaphore                          ,0xffebe4b4) //120
 126 NHSTUB(IsStrobeChargeCompleted                ,0xffd5e208) //  2
 127 NHSTUB(LEDDrive                               ,0xffde5824) //120
 128 NHSTUB(LocalTime                              ,0xffecb138) //115
 129 NHSTUB(LockMainPower                          ,0xffee0c18) //120
 130 NHSTUB(MakeDirectory_Fut                      ,0xffe42254) //  3
 131 NHSTUB(MoveFocusLensToDistance                ,0xffe08680) //102
 132 NHSTUB(MoveIrisWithAv                         ,0xffe79b28) //120
 133 NHSTUB(MoveZoomLensWithPoint                  ,0xffe86d04) //120
 134 NHSTUB(Open                                   ,0xffe46ba4) //120
 135 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffeb58f0) //120
 136 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffeb58b4) //120
 137 NHSTUB(PT_PlaySound                           ,0xffeb53b4) //  3
 138 NHSTUB(PostLogicalEventForNotPowerType        ,0xffedc840) //120
 139 NHSTUB(PostLogicalEventToUI                   ,0xffedc8bc) //120
 140 NHSTUB(Read                                   ,0xffe46c60) //120
 141 NHSTUB(RefreshPhysicalScreen                  ,0xffcc646c) //120
 142 NHSTUB(RenameFile_Fut                         ,0xffe420f8) //  3
 143 NHSTUB(SetAE_ShutterSpeed                     ,0xffe0b780) //102
 144 NHSTUB(SetAutoShutdownTime                    ,0xffee0b1c) //120
 145 NHSTUB(SetCurrentCaptureModeType              ,0xffc17d10) //120
 146 NHSTUB(SetFileAttributes                      ,0xffe46db4) //  3
 147 NHSTUB(SetLogicalEventActive                  ,0xffede724) //1104
 148 NHSTUB(SetPropertyCase                        ,0xffc0bb5c) //  3
 149 NHSTUB(SetScriptMode                          ,0xffede788) //120
 150 NHSTUB(SleepTask                              ,0xffebe7fc) //120
 151 NHSTUB(TakeSemaphore                          ,0xffebe2ac) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffc34d70) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffc34d40) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xffddb164) //120
 155 NHSTUB(TurnOffDisplay                         ,0xffddb174) //120
 156 NHSTUB(UnlockAE                               ,0xffea51e0) //120
 157 NHSTUB(UnlockAF                               ,0xffea4cd0) //120
 158 NHSTUB(UnlockMainPower                        ,0xffee0cb0) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xffe460ec) //  1
 160 NHSTUB(VbattGet                               ,0xffde3a00) //120
 161 NHSTUB(Write                                  ,0xffe46c6c) //120
 162 NHSTUB(WriteSDCard                            ,0xffe58f60) //  3
 163 NHSTUB(_log                                   ,0xffef8898) //121
 164 NHSTUB(_log10                                 ,0xffef7d18) //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                               ,0xffde5edc) //  1
 173 NHSTUB(kbd_p1_f_cont                          ,0xffde5ee8) //109
 174 NHSTUB(kbd_read_keys_r2                       ,0xffde7564) //  3
 175 NHSTUB(kbd_pwr_off                            ,0xffde7c48) //  3
 176 // ALT: NHSTUB(kbd_pwr_off, 0xffde7c78) // 3 6/0
 177 // ALT: NHSTUB(kbd_pwr_off, 0xffde7c94) // 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                               ,0xffef9f58) //  1
 184 NHSTUB(qsort                                  ,0xffcd15d0) //  1
 185 NHSTUB(rand                                   ,0xffcd15f4) //  1
 186 NHSTUB(realloc                                ,0xffeca430) //115
 187 NHSTUB(srand                                  ,0xffcd1618) //  1
 188 NHSTUB(stat                                   ,0xffefa020) //  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                                ,0xffef9f24) //  1
 213 NHSTUB(strtoul                                ,0xffcd1bb4) //  1
 214 NHSTUB(strpbrk                                ,0xffcd227c) //  1
 215 NHSTUB(mktime                                 ,0xffcd2b58) //  1
 216 NHSTUB(opendir                                ,0xffef9f8c) //  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               ,0xffe083e8) //  1
 223 NHSTUB(taskCreateHookAdd                      ,0xffcdc7d8) //  1
 224 NHSTUB(taskDeleteHookAdd                      ,0xffcdc714) //  1
 225 NHSTUB(Mount_FileSystem                       ,0xffe45ef0) //  3
 226 NHSTUB(Unmount_FileSystem                     ,0xffe45f98) //  1
 227 NHSTUB(taskSuspend                            ,0xffce3dc8) //  1
 228 NHSTUB(taskResume                             ,0xffce3f9c) //  1
 229 NHSTUB(time                                   ,0xffcd36dc) //  1
 230 NHSTUB(vsprintf                               ,0xffcd58e0) //115
 231 NHSTUB(EngDrvRead                             ,0xffdf33e8) //102
 232 NHSTUB(PTM_GetCurrentItem                     ,0xffee1b10) //102
 233 NHSTUB(CancelHPTimer                          ,0xffc04640) //1100
 234 NHSTUB(SetHPTimerAfterNow                     ,0xffc04158) //119
 235 NHSTUB(MFOn                                   ,0xffeb6298) //120
 236 NHSTUB(MFOff                                  ,0xffeb62a8) //120
 237 NHSTUB(GetAdChValue                           ,0xffde08a8) //120

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