root/platform/a710/sub/100a/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.00A   // Found @ 0xffc0a398, "GM1.00A" @ 0xffc0a3a5
   6 //   Firmware build timestamp: Jun 20 2006 13:26:27
   7 //   Canon PowerShot A710 IS
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12600# (0x3138) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x0009f9b0
  14 
  15 // Detected address ranges:
  16 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  17 // RAM data 0x00001900 - 0x0000d680 copied from 0xfff13950 (  48512 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(Restart                                ,0xffc12fdc) //  1 96%
  22 NHSTUB(UnsetZoomForMovie                      ,0xffda9138) //  1 89%
  23 NHSTUB(add_ptp_handler                        ,0xffe59fe4) //  1 96%
  24 NHSTUB(taskIdListGet                          ,0xfff0d6e8) //  1 82%
  25 NHSTUB(localtime                              ,0xffef96fc) //  1 93%
  26 
  27 // Check of modemap from 'platform/CAMERA/shooting.c':
  28 // Firmware modemap table found @ffd711a8 -> ffd711a8
  29 // No problems found with modemap table.
  30 
  31 // Values below can be overridden in 'stubs_min.S':
  32 DEF(levent_table                            ,0xffd69bbc) // Found @0xffd69bbc
  33 DEF(FlashParamsTable                        ,0xffd73a14) // Found @0xffd73a14
  34 DEF(fileio_semaphore                        ,0x00002734) // Found @0xffc5e690
  35 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xffc01f28
  36 DEF(exmem_types_table                       ,0xffc01d3c) // Found @0xffc01d3c
  37 DEF_CONST(exmem_type_count                  ,0x0000000e)
  38 DEF(imager_active                           ,0x000054ec) // Found @0xffcc42f0 (0x54ec + 0)
  39 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xffd751b4
  40 DEF(cameracon_state                         ,0x00006d2c) // Found @0xffd960f8
  41 
  42 // Values below go in 'lib.c':
  43 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xffd760fc
  44 
  45 // Values below go in 'platform_camera.h':
  46 //#define PARAM_CAMERA_NAME 4 // Found @0xffd731b4
  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_DVLPWORK  7
  59 // EXMEM_FILESTORE 8
  60 // EXMEM_MOVIE_REC 9
  61 // EXMEM_MOVIE_PLY 10
  62 // EXMEM_WIDE      11
  63 // EXMEM_NARROW    12
  64 // EXMEM_PCEVF     13
  65 
  66 // LED table init @ 0xffc1db44
  67 // LED #1: 0xc022008c, offset 0x4
  68 // LED #2: 0xc0220088, offset 0x44
  69 // LED #3: 0xc0220090, offset 0x84
  70 // LED #4: 0xc0220094, offset 0xc4
  71 // LED #5: 0xc0220084, offset 0x204
  72 // LED #6: 0xc0220080, offset 0x244
  73 
  74 // Stubs below matched 100%.
  75 //    Name                                     Address                Comp to stubs_entry_2.S
  76 NHSTUB(AllocateUncacheableMemory              ,0xffc04b00) //  1
  77 NHSTUB(Close                                  ,0xffc60fc4) //120
  78 NHSTUB(CreateBinarySemaphore                  ,0xffc1110c) //115
  79 NHSTUB(CreateTask                             ,0xffc11abc) //120
  80 NHSTUB(DebugAssert                            ,0xffc03cf8) //1100
  81 NHSTUB(DeleteFile_Fut                         ,0xffc59e74) //  1
  82 NHSTUB(DeleteSemaphore                        ,0xffc11300) //120
  83 NHSTUB(DoAELock                               ,0xffd58fa8) //120
  84 NHSTUB(DoAFLock                               ,0xffd58dbc) //120
  85 NHSTUB(EnterToCompensationEVF                 ,0xffd58f08) //  2
  86 NHSTUB(ExecuteEventProcedure                  ,0xffc0699c) //  1
  87 NHSTUB(ExitFromCompensationEVF                ,0xffd5c524) //  2
  88 NHSTUB(ExitTask                               ,0xffc11e7c) //120
  89 NHSTUB(Fclose_Fut                             ,0xffc59fb4) //120
  90 NHSTUB(Feof_Fut                               ,0xffc5a1c8) //  1
  91 NHSTUB(Fflush_Fut                             ,0xffc5a200) //  1
  92 NHSTUB(Fgets_Fut                              ,0xffc5a138) //  1
  93 NHSTUB(Fopen_Fut                              ,0xffc59f78) //120
  94 NHSTUB(Fread_Fut                              ,0xffc5a098) //120
  95 NHSTUB(FreeUncacheableMemory                  ,0xffc04b34) //  1
  96 NHSTUB(Fseek_Fut                              ,0xffc5a180) //120
  97 NHSTUB(Fwrite_Fut                             ,0xffc5a0e8) //120
  98 NHSTUB(GetBatteryTemperature                  ,0xffc1d200) //102
  99 NHSTUB(GetCCDTemperature                      ,0xffc1d1ec) //102
 100 NHSTUB(GetCurrentAvValue                      ,0xffeb3d50) //120
 101 NHSTUB(GetCurrentShutterSpeed                 ,0xffeb39a4) //120
 102 NHSTUB(GetUsableMaxAv                         ,0xffeb400c) //120
 103 NHSTUB(GetUsableMinAv                         ,0xffeb3fe8) //120
 104 NHSTUB(GetDrive_ClusterSize                   ,0xffc607b0) //119
 105 NHSTUB(GetDrive_FreeClusters                  ,0xffc60828) //1103
 106 NHSTUB(GetDrive_TotalClusters                 ,0xffc607ec) //119
 107 NHSTUB(GetFocusLensSubjectDistance            ,0xffea2f3c) //  2
 108 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffea34f0) //  2
 109 NHSTUB(GetOpticalTemperature                  ,0xffc1d1d8) //120
 110 NHSTUB(GetParameterData                       ,0xffd76090) //  2
 111 NHSTUB(GetPropertyCase                        ,0xffc14dec) //  2
 112 NHSTUB(GetSystemTime                          ,0xffc04d38) //  2
 113 NHSTUB(GetZoomLensCurrentPoint                ,0xffe8f670) //120
 114 NHSTUB(GetZoomLensCurrentPosition             ,0xffe8f684) //102
 115 NHSTUB(GiveSemaphore                          ,0xffc116b4) //120
 116 NHSTUB(IsStrobeChargeCompleted                ,0xffd11b24) //  2
 117 NHSTUB(LEDDrive                               ,0xffc1d758) //120
 118 NHSTUB(LocalTime                              ,0xffc043c8) //115
 119 NHSTUB(LockMainPower                          ,0xffd70f48) //120
 120 NHSTUB(MakeDirectory_Fut                      ,0xffc59f00) //  1
 121 NHSTUB(MoveFocusLensToDistance                ,0xffeb64d4) //102
 122 NHSTUB(MoveZoomLensWithPoint                  ,0xffe8f550) //120
 123 NHSTUB(Open                                   ,0xffc60f9c) //120
 124 NHSTUB(PT_PlaySound                           ,0xffd67db8) //  1
 125 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd6ccc8) //120
 126 NHSTUB(PostLogicalEventToUI                   ,0xffd6cd44) //120
 127 NHSTUB(PutInNdFilter                          ,0xffeb41d8) //  2
 128 NHSTUB(PutOutNdFilter                         ,0xffeb4220) //  2
 129 NHSTUB(Read                                   ,0xffc61058) //120
 130 NHSTUB(RefreshPhysicalScreen                  ,0xffd8752c) //120
 131 NHSTUB(RenameFile_Fut                         ,0xffc59df4) //  1
 132 NHSTUB(SetAE_ShutterSpeed                     ,0xffeb9144) //102
 133 NHSTUB(SetAutoShutdownTime                    ,0xffd70e4c) //120
 134 NHSTUB(SetCurrentCaptureModeType              ,0xffd9da1c) //120
 135 NHSTUB(SetDate                                ,0xffebb414) //120
 136 NHSTUB(SetFileAttributes                      ,0xffc611ec) //  1
 137 NHSTUB(SetLogicalEventActive                  ,0xffd6eab0) //1104
 138 NHSTUB(SetParameterData                       ,0xffd75fb0) //  2
 139 NHSTUB(SetPropertyCase                        ,0xffc14c9c) //  2
 140 NHSTUB(SetScriptMode                          ,0xffd6eb18) //120
 141 NHSTUB(SleepTask                              ,0xffc119d0) //120
 142 NHSTUB(TakeSemaphore                          ,0xffc114cc) //1101
 143 NHSTUB(TurnOffBackLight                       ,0xffdbd750) //  2
 144 NHSTUB(TurnOnBackLight                        ,0xffdbd720) //  2
 145 NHSTUB(TurnOnDisplay                          ,0xffd36450) //120
 146 NHSTUB(TurnOffDisplay                         ,0xffd36460) //120
 147 NHSTUB(UnlockAE                               ,0xffd58fc8) //120
 148 NHSTUB(UnlockAF                               ,0xffd58e08) //120
 149 NHSTUB(UnlockMainPower                        ,0xffd70fe0) //120
 150 NHSTUB(UpdateMBROnFlash                       ,0xffc604e4) //  1
 151 NHSTUB(VbattGet                               ,0xffc1c12c) //120
 152 NHSTUB(Write                                  ,0xffc61064) //120
 153 NHSTUB(WriteSDCard                            ,0xffc702a4) //  2
 154 NHSTUB(_log                                   ,0xffef34ec) //121
 155 NHSTUB(_log10                                 ,0xffeef88c) //121
 156 NHSTUB(_pow                                   ,0xffeefa14) //121
 157 NHSTUB(_sqrt                                  ,0xffef18e8) //  1
 158 NHSTUB(apex2us                                ,0xffca5104) //  1
 159 NHSTUB(close                                  ,0xffefda80) //109
 160 NHSTUB(exmem_alloc                            ,0xffc02a04) //122
 161 NHSTUB(exmem_ualloc                           ,0xffc02834) //122
 162 NHSTUB(exmem_ufree                            ,0xffc02904) //122
 163 NHSTUB(free                                   ,0xfff00acc) //  2
 164 NHSTUB(get_current_deltasv                    ,0xffca65fc) //122
 165 NHSTUB(GetCurrentDriveBaseSvValue             ,0xffcb1858) //107
 166 NHSTUB(kbd_p1_f                               ,0xffc17468) //  1
 167 NHSTUB(kbd_p1_f_cont                          ,0xffc17474) //109
 168 NHSTUB(kbd_p2_f                               ,0xffc1784c) //  1
 169 NHSTUB(kbd_read_keys_r2                       ,0xffc1829c) //  1
 170 NHSTUB(kbd_pwr_off                            ,0xffc18828) //  1
 171 // ALT: NHSTUB(kbd_pwr_off, 0xffc18858) // 1 6/0
 172 // ALT: NHSTUB(kbd_pwr_off, 0xffc18874) // 1 6/0
 173 NHSTUB(kbd_pwr_on                             ,0xffc18800) //  1
 174 NHSTUB(lseek                                  ,0xffefdbc4) //  1
 175 NHSTUB(malloc                                 ,0xfff00ac0) //  2
 176 NHSTUB(memcmp                                 ,0xffef8adc) //120
 177 NHSTUB(memcpy                                 ,0xffef8b18) //120
 178 NHSTUB(memset                                 ,0xffef8b90) //120
 179 NHSTUB(mkdir                                  ,0xffc6121c) //  1
 180 NHSTUB(open                                   ,0xffefe0c4) //109
 181 NHSTUB(closedir                               ,0xffefaf08) //  1
 182 NHSTUB(qsort                                  ,0xffef833c) //  1
 183 NHSTUB(rand                                   ,0xffef8360) //  1
 184 NHSTUB(realloc                                ,0xffee9a6c) //115
 185 NHSTUB(srand                                  ,0xffef8384) //  1
 186 NHSTUB(stat                                   ,0xffefafd0) //  1
 187 NHSTUB(strcat                                 ,0xffef8bb0) //  1
 188 NHSTUB(strchr                                 ,0xffef8bdc) //  1
 189 NHSTUB(strcmp                                 ,0xffef8c00) //120
 190 NHSTUB(strcpy                                 ,0xffef8d94) //120
 191 NHSTUB(strftime                               ,0xffefa41c) //  1
 192 NHSTUB(strlen                                 ,0xffef8ef8) //120
 193 NHSTUB(strncmp                                ,0xffef8f5c) //  1
 194 NHSTUB(strncpy                                ,0xffef8fa0) //  1
 195 NHSTUB(strrchr                                ,0xffef9024) //  1
 196 NHSTUB(strtol                                 ,0xffef8778) //  1
 197 NHSTUB(isdigit                                ,0xffef4eac) //  1
 198 NHSTUB(isspace                                ,0xffef4f24) //  1
 199 NHSTUB(isalpha                                ,0xffef4e7c) //  1
 200 NHSTUB(isupper                                ,0xffef4f3c) //  1
 201 NHSTUB(islower                                ,0xffef4edc) //  1
 202 NHSTUB(ispunct                                ,0xffef4f0c) //  1
 203 NHSTUB(isxdigit                               ,0xffef4f54) //  1
 204 NHSTUB(toupper                                ,0xffef4f7c) //  1
 205 NHSTUB(tolower                                ,0xffef4f6c) //  1
 206 NHSTUB(taskLock                               ,0xfff0dda4) //  1
 207 NHSTUB(taskUnlock                             ,0xfff0de4c) //  1
 208 NHSTUB(taskName                               ,0xfff0d5e0) //  1
 209 NHSTUB(errnoOfTaskGet                         ,0xffefb6d4) //  1
 210 NHSTUB(readdir                                ,0xffefaed4) //  1
 211 NHSTUB(strtoul                                ,0xffef8920) //  1
 212 NHSTUB(strpbrk                                ,0xffef8fe8) //  1
 213 NHSTUB(utime                                  ,0xffefb064) //  1
 214 NHSTUB(mktime                                 ,0xffef98c4) //  1
 215 NHSTUB(opendir                                ,0xffefaf3c) //  1
 216 NHSTUB(memchr                                 ,0xffef8aa8) //  1
 217 NHSTUB(memPartInfoGet                         ,0xfff00ee0) //  1
 218 NHSTUB(iosDrvInstall                          ,0xffefef64) //  1
 219 NHSTUB(iosDevAdd                              ,0xffefeca0) //  1
 220 NHSTUB(iosDevDelete                           ,0xffefec78) //  1
 221 NHSTUB(GetCurrentTargetDistance               ,0xffeb6234) //  1
 222 NHSTUB(taskCreateHookAdd                      ,0xfff03720) //  1
 223 NHSTUB(taskDeleteHookAdd                      ,0xfff0365c) //  1
 224 NHSTUB(Mount_FileSystem                       ,0xffc602ec) //  2
 225 NHSTUB(Unmount_FileSystem                     ,0xffc60390) //  1
 226 NHSTUB(MakeAFScan                             ,0xffd5d538) //  2
 227 NHSTUB(taskSuspend                            ,0xfff0d7f0) //  1
 228 NHSTUB(taskResume                             ,0xfff0d9c4) //  1
 229 NHSTUB(time                                   ,0xffefa448) //  1
 230 NHSTUB(vsprintf                               ,0xffefc828) //115
 231 NHSTUB(EngDrvRead                             ,0xffc72984) //102
 232 NHSTUB(PTM_GetCurrentItem                     ,0xffd73f88) //102
 233 NHSTUB(CancelHPTimer                          ,0xffc05bfc) //119
 234 NHSTUB(SetHPTimerAfterNow                     ,0xffc05788) //119
 235 NHSTUB(MFOn                                   ,0xffd59b50) //120
 236 NHSTUB(MFOff                                  ,0xffd59b80) //120
 237 NHSTUB(GetAdChValue                           ,0xffc1950c) //120
 238 NHSTUB(get_ptp_buf_size                       ,0xffe4b314) //122
 239 NHSTUB(get_ptp_file_buf                       ,0xffe6ac68) //121

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