root/platform/a450/sub/100d/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.00D   // Found @ 0xffc07c40, "GM1.00D" @ 0xffc07c4d
   6 //   Firmware build timestamp: Dec  1 2006 17:58:01
   7 //   Canon PowerShot A450
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12629# (0x3155) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x00ffffff
  13 //   MEMISOSTART = 0x00095730
  14 
  15 // Detected address ranges:
  16 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  17 // RAM data 0x00001900 - 0x0000e460 copied from 0xffeef370 (  52064 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                 ,0xffe6b110) //  3 96%
  22 NHSTUB(FreeUncacheableMemory                  ,0xffc0e0dc) //  1 90%
  23 NHSTUB(GetFocusLensSubjectDistance            ,0xffe42fe8) //  1 83%
  24 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe434ec) //  2 92%
  25 NHSTUB(GetParameterData                       ,0xffea9758) //  1 86%
  26 NHSTUB(GetPropertyCase                        ,0xffc0b79c) //  2 89%
  27 NHSTUB(GetSystemTime                          ,0xffc03398) //  1 96%
  28 NHSTUB(PutInNdFilter                          ,0xffddc35c) //  1 92%
  29 NHSTUB(PutOutNdFilter                         ,0xffddc3a4) //  1 94%
  30 NHSTUB(Restart                                ,0xffc0b250) //  1 96%
  31 NHSTUB(SetFileAttributes                      ,0xffe1da0c) //  1 65%
  32 NHSTUB(SetParameterData                       ,0xffea9678) //  1 86%
  33 NHSTUB(SetPropertyCase                        ,0xffc0b664) //  3 96%
  34 NHSTUB(UnsetZoomForMovie                      ,0xffc22b44) //  1 89%
  35 NHSTUB(WriteSDCard                            ,0xffe2f99c) //  3 74%
  36 NHSTUB(add_ptp_handler                        ,0xffd7c07c) //  1 96%
  37 // ERROR: free is not found.                               //--- ---    *** != 0xffccc768
  38 NHSTUB(kbd_p2_f                               ,0xffdc4004) //  1 56%
  39 NHSTUB(kbd_read_keys_r2                       ,0xffdc4ad8) //  3 95%
  40 //NHSTUB(kbd_pwr_off                          ,0xffdc2fb0) //  1 83%    *** != 0x00000000
  41 // ALT: NHSTUB(kbd_pwr_off, 0xffdc2fcc) // 1 5/1
  42 //NHSTUB(kbd_pwr_on                           ,0xffdbb868) //  1 55%    *** != 0x00000000
  43 // ALT: NHSTUB(kbd_pwr_on, 0xffdbb894) // 1 5/4
  44 NHSTUB(malloc                                 ,0xffccc75c) //  1 53%
  45 NHSTUB(mkdir                                  ,0xffe1da3c) //  1 54%
  46 // ALT: NHSTUB(mkdir, 0xffe1db04) // 1 17/14
  47 NHSTUB(taskIdListGet                          ,0xffcd68a4) //  1 82%
  48 NHSTUB(utime                                  ,0xffebfc30) //  1 57%
  49 NHSTUB(localtime                              ,0xffcc5574) //  1 93%
  50 NHSTUB(Mount_FileSystem                       ,0xffe1cb08) //  3 93%
  51 NHSTUB(MakeAFScan                             ,0xffe7003c) //  2 86%
  52 
  53 // Check of modemap from 'platform/CAMERA/shooting.c':
  54 // Firmware modemap table found @ffeab878 -> ffeab878
  55 // Mode 33290 in firmware but not in current modemap
  56 
  57 // Values below can be overridden in 'stubs_min.S':
  58 DEF(levent_table                            ,0xffe9eca0) // Found @0xffe9eca0
  59 DEF(FlashParamsTable                        ,0xffeada74) // Found @0xffeada74
  60 DEF(fileio_semaphore                        ,0x0000a464) // Found @0xffe1fe80
  61 DEF(exmem_alloc_table                       ,0x00001e14) // Found @0xffc0d4a0
  62 DEF(exmem_types_table                       ,0xffc0d2c0) // Found @0xffc0d2c0
  63 DEF_CONST(exmem_type_count                  ,0x00000011)
  64 DEF(imager_active                           ,0x00005e18) // Found @0xffd4a974 (0x5e18 + 0)
  65 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffea8858
  66 
  67 // Values below go in 'lib.c':
  68 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffea97c4
  69 
  70 // Values below go in 'platform_camera.h':
  71 //#define PARAM_CAMERA_NAME 4 // Found @0xffead204
  72 
  73 // Misc stuff
  74 
  75 // EXMEM types:
  76 // EXMEM_RAMDISK   0
  77 // EXMEM_COM       1
  78 // EXMEM_COMTMP    2
  79 // EXMEM_FORMATTER 3
  80 // EXMEM_SHADING   4
  81 // EXMEM_FAMODE    5
  82 // EXMEM_FIRMUP    6
  83 // EXMEM_DVLPWORK  7
  84 // EXMEM_EVF       8
  85 // EXMEM_SCRIPT    9
  86 // EXMEM_FILESTORE 10
  87 // EXMEM_MOVIE_REC 11
  88 // EXMEM_MOVIE_PLY 12
  89 // EXMEM_WIDE      13
  90 // EXMEM_NARROW    14
  91 // EXMEM_CRAW_REC  15
  92 // EXMEM_PCEVF     16
  93 
  94 // LED table init @ 0xffdc3924
  95 // LED #1: 0xc022008c, offset 0x4
  96 // LED #2: 0xc0220088, offset 0x44
  97 // LED #3: 0xc0220090, offset 0x84
  98 // LED #4: 0xc0220084, offset 0x204
  99 // LED #5: 0xc0220080, offset 0x244
 100 
 101 // Stubs below matched 100%.
 102 //    Name                                     Address                Comp to stubs_entry_2.S
 103 NHSTUB(AllocateUncacheableMemory              ,0xffc0e0a8) //  1
 104 NHSTUB(Close                                  ,0xffe1d7e4) //120
 105 NHSTUB(CreateBinarySemaphore                  ,0xffe82b38) //115
 106 NHSTUB(CreateTask                             ,0xffe83550) //120
 107 NHSTUB(DebugAssert                            ,0xffe8f45c) //1100
 108 NHSTUB(DeleteFile_Fut                         ,0xffe18dbc) //  1
 109 NHSTUB(DoAELock                               ,0xffe6b29c) //120
 110 NHSTUB(DoAFLock                               ,0xffe6aedc) //120
 111 NHSTUB(ExecuteEventProcedure                  ,0xffc04670) //  1
 112 NHSTUB(ExitFromCompensationEVF                ,0xffe6b194) //  3
 113 NHSTUB(ExitTask                               ,0xffe83910) //120
 114 NHSTUB(Fclose_Fut                             ,0xffe18f30) //120
 115 NHSTUB(Feof_Fut                               ,0xffe1912c) //  3
 116 NHSTUB(Fflush_Fut                             ,0xffe19168) //  3
 117 NHSTUB(Fgets_Fut                              ,0xffe19094) //  3
 118 NHSTUB(Fopen_Fut                              ,0xffe18ef0) //120
 119 NHSTUB(Fread_Fut                              ,0xffe18fec) //120
 120 NHSTUB(Fseek_Fut                              ,0xffe190e0) //120
 121 NHSTUB(Fwrite_Fut                             ,0xffe19040) //120
 122 NHSTUB(GetBatteryTemperature                  ,0xffdc7d94) //102
 123 NHSTUB(GetCCDTemperature                      ,0xffdc7d80) //102
 124 NHSTUB(GetCurrentAvValue                      ,0xffddc178) //120
 125 NHSTUB(GetCurrentShutterSpeed                 ,0xffddbe34) //120
 126 NHSTUB(GetDrive_ClusterSize                   ,0xffe1cfd0) //119
 127 NHSTUB(GetDrive_FreeClusters                  ,0xffe1d048) //1103
 128 NHSTUB(GetDrive_TotalClusters                 ,0xffe1d00c) //119
 129 NHSTUB(GetOpticalTemperature                  ,0xffdc7d6c) //120
 130 NHSTUB(GetZoomLensCurrentPoint                ,0xffe55054) //120
 131 NHSTUB(GetZoomLensCurrentPosition             ,0xffe55068) //102
 132 NHSTUB(GiveSemaphore                          ,0xffe8311c) //120
 133 NHSTUB(IsStrobeChargeCompleted                ,0xffd45b60) //  2
 134 NHSTUB(LEDDrive                               ,0xffdc3538) //120
 135 NHSTUB(LocalTime                              ,0xffe8fd70) //115
 136 NHSTUB(LockMainPower                          ,0xffea65f4) //120
 137 NHSTUB(MakeDirectory_Fut                      ,0xffe18e70) //  3
 138 NHSTUB(MoveFocusLensToDistance                ,0xffdde788) //102
 139 NHSTUB(MoveIrisWithAv                         ,0xffe49cc4) //120
 140 NHSTUB(MoveZoomLensWithPoint                  ,0xffe54f2c) //120
 141 NHSTUB(Open                                   ,0xffe1d7bc) //120
 142 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffe7af44) //120
 143 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffe7af08) //120
 144 NHSTUB(PT_PlaySound                           ,0xffe7aa08) //  3
 145 NHSTUB(PostLogicalEventForNotPowerType        ,0xffea220c) //120
 146 NHSTUB(PostLogicalEventToUI                   ,0xffea2288) //120
 147 NHSTUB(Read                                   ,0xffe1d878) //120
 148 NHSTUB(RefreshPhysicalScreen                  ,0xffcb9188) //120
 149 NHSTUB(RenameFile_Fut                         ,0xffe18d14) //  3
 150 NHSTUB(SetAE_ShutterSpeed                     ,0xffde17bc) //102
 151 NHSTUB(SetAutoShutdownTime                    ,0xffea64f8) //120
 152 NHSTUB(SetCurrentCaptureModeType              ,0xffc17b90) //120
 153 NHSTUB(SetLogicalEventActive                  ,0xffea4104) //1104
 154 NHSTUB(SetScriptMode                          ,0xffea416c) //120
 155 NHSTUB(SleepTask                              ,0xffe83464) //120
 156 NHSTUB(TakeSemaphore                          ,0xffe82f14) //1101
 157 NHSTUB(TurnOffBackLight                       ,0xffc2e3e8) //  2
 158 NHSTUB(TurnOnBackLight                        ,0xffc2e3b8) //  2
 159 NHSTUB(TurnOnDisplay                          ,0xffdb9638) //120
 160 NHSTUB(TurnOffDisplay                         ,0xffdb9648) //120
 161 NHSTUB(UnlockAE                               ,0xffe6b2ec) //120
 162 NHSTUB(UnlockAF                               ,0xffe6af5c) //120
 163 NHSTUB(UnlockMainPower                        ,0xffea668c) //120
 164 NHSTUB(UpdateMBROnFlash                       ,0xffe1cd04) //  1
 165 NHSTUB(VbattGet                               ,0xffdc17b8) //120
 166 NHSTUB(Write                                  ,0xffe1d884) //120
 167 NHSTUB(_log                                   ,0xffebe414) //121
 168 NHSTUB(_log10                                 ,0xffebd894) //121
 169 NHSTUB(_pow                                   ,0xffcbd0cc) //121
 170 NHSTUB(_sqrt                                  ,0xffcbee54) //  1
 171 NHSTUB(apex2us                                ,0xffcddbe4) //  1
 172 NHSTUB(close                                  ,0xffcc971c) //109
 173 NHSTUB(exmem_alloc                            ,0xffc0df84) //102
 174 NHSTUB(exmem_ualloc                           ,0xffc0ddb4) //102
 175 NHSTUB(exmem_ufree                            ,0xffc0de84) //102
 176 NHSTUB(get_nd_value                           ,0xffe4e148) //115
 177 NHSTUB(get_current_nd_value                   ,0xffe4e134) //122
 178 NHSTUB(kbd_p1_f                               ,0xffdc3bdc) //  1
 179 NHSTUB(kbd_p1_f_cont                          ,0xffdc3be8) //109
 180 NHSTUB(lseek                                  ,0xffcc9860) //  1
 181 NHSTUB(memcmp                                 ,0xffcc4954) //120
 182 NHSTUB(memcpy                                 ,0xffcc4990) //120
 183 NHSTUB(memset                                 ,0xffcc4a08) //120
 184 NHSTUB(open                                   ,0xffcc9d60) //109
 185 NHSTUB(closedir                               ,0xffebfad4) //  1
 186 NHSTUB(qsort                                  ,0xffcc41b4) //  1
 187 NHSTUB(rand                                   ,0xffcc41d8) //  1
 188 NHSTUB(realloc                                ,0xffe8f068) //115
 189 NHSTUB(srand                                  ,0xffcc41fc) //  1
 190 NHSTUB(stat                                   ,0xffebfb9c) //  1
 191 NHSTUB(strcat                                 ,0xffcc4a28) //  1
 192 NHSTUB(strchr                                 ,0xffcc4a54) //  1
 193 NHSTUB(strcmp                                 ,0xffcc4a78) //120
 194 NHSTUB(strcpy                                 ,0xffcc4c0c) //120
 195 NHSTUB(strftime                               ,0xffcc6294) //  1
 196 NHSTUB(strlen                                 ,0xffcc4d70) //120
 197 NHSTUB(strncmp                                ,0xffcc4dd4) //  1
 198 NHSTUB(strncpy                                ,0xffcc4e18) //  1
 199 NHSTUB(strrchr                                ,0xffcc4e9c) //  1
 200 NHSTUB(strtol                                 ,0xffcc45f0) //  1
 201 NHSTUB(isdigit                                ,0xffcc0d24) //  1
 202 NHSTUB(isspace                                ,0xffcc0d9c) //  1
 203 NHSTUB(isalpha                                ,0xffcc0cf4) //  1
 204 NHSTUB(isupper                                ,0xffcc0db4) //  1
 205 NHSTUB(islower                                ,0xffcc0d54) //  1
 206 NHSTUB(ispunct                                ,0xffcc0d84) //  1
 207 NHSTUB(isxdigit                               ,0xffcc0dcc) //  1
 208 NHSTUB(toupper                                ,0xffcc0df4) //  1
 209 NHSTUB(tolower                                ,0xffcc0de4) //  1
 210 NHSTUB(taskLock                               ,0xffcd6f60) //  1
 211 NHSTUB(taskUnlock                             ,0xffcd7008) //  1
 212 NHSTUB(taskName                               ,0xffcd679c) //  1
 213 NHSTUB(errnoOfTaskGet                         ,0xffcc7370) //  1
 214 NHSTUB(readdir                                ,0xffebfaa0) //  1
 215 NHSTUB(strtoul                                ,0xffcc4798) //  1
 216 NHSTUB(strpbrk                                ,0xffcc4e60) //  1
 217 NHSTUB(mktime                                 ,0xffcc573c) //  1
 218 NHSTUB(opendir                                ,0xffebfb08) //  1
 219 NHSTUB(memchr                                 ,0xffcc4920) //  1
 220 NHSTUB(memPartInfoGet                         ,0xffcccb7c) //  1
 221 NHSTUB(iosDrvInstall                          ,0xffccac00) //  1
 222 NHSTUB(iosDevAdd                              ,0xffcca93c) //  1
 223 NHSTUB(iosDevDelete                           ,0xffcca914) //  1
 224 NHSTUB(GetCurrentTargetDistance               ,0xffdde4f0) //  1
 225 NHSTUB(taskCreateHookAdd                      ,0xffccf3bc) //  1
 226 NHSTUB(taskDeleteHookAdd                      ,0xffccf2f8) //  1
 227 NHSTUB(Unmount_FileSystem                     ,0xffe1cbb0) //  1
 228 NHSTUB(taskSuspend                            ,0xffcd69ac) //  1
 229 NHSTUB(taskResume                             ,0xffcd6b80) //  1
 230 NHSTUB(time                                   ,0xffcc62c0) //  1
 231 NHSTUB(vsprintf                               ,0xffcc84c4) //115
 232 NHSTUB(EngDrvRead                             ,0xffdcd674) //102
 233 NHSTUB(PTM_GetCurrentItem                     ,0xffea7520) //102
 234 NHSTUB(CancelHPTimer                          ,0xffc0425c) //119
 235 NHSTUB(SetHPTimerAfterNow                     ,0xffc03de8) //119
 236 NHSTUB(MFOn                                   ,0xffe7b8ec) //120
 237 NHSTUB(MFOff                                  ,0xffe7b8fc) //120
 238 NHSTUB(GetAdChValue                           ,0xffdbeb0c) //120
 239 NHSTUB(get_ptp_buf_size                       ,0xffd719ac) //122
 240 NHSTUB(get_ptp_file_buf                       ,0xffd89490) //121

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