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 
  41 // Values below go in 'lib.c':
  42 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xffd760fc
  43 
  44 // Values below go in 'platform_camera.h':
  45 //#define PARAM_CAMERA_NAME 4 // Found @0xffd731b4
  46 
  47 // Misc stuff
  48 
  49 // EXMEM types:
  50 // EXMEM_RAMDISK   0
  51 // EXMEM_COM       1
  52 // EXMEM_COMTMP    2
  53 // EXMEM_FORMATTER 3
  54 // EXMEM_SHADING   4
  55 // EXMEM_FAMODE    5
  56 // EXMEM_FIRMUP    6
  57 // EXMEM_DVLPWORK  7
  58 // EXMEM_FILESTORE 8
  59 // EXMEM_MOVIE_REC 9
  60 // EXMEM_MOVIE_PLY 10
  61 // EXMEM_WIDE      11
  62 // EXMEM_NARROW    12
  63 // EXMEM_PCEVF     13
  64 
  65 // LED table init @ 0xffc1db44
  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 // Stubs below matched 100%.
  74 //    Name                                     Address                Comp to stubs_entry_2.S
  75 NHSTUB(AllocateUncacheableMemory              ,0xffc04b00) //  1
  76 NHSTUB(Close                                  ,0xffc60fc4) //120
  77 NHSTUB(CreateBinarySemaphore                  ,0xffc1110c) //115
  78 NHSTUB(CreateTask                             ,0xffc11abc) //120
  79 NHSTUB(DebugAssert                            ,0xffc03cf8) //1100
  80 NHSTUB(DeleteFile_Fut                         ,0xffc59e74) //  1
  81 NHSTUB(DoAELock                               ,0xffd58fa8) //120
  82 NHSTUB(DoAFLock                               ,0xffd58dbc) //120
  83 NHSTUB(EnterToCompensationEVF                 ,0xffd58f08) //  2
  84 NHSTUB(ExecuteEventProcedure                  ,0xffc0699c) //  1
  85 NHSTUB(ExitFromCompensationEVF                ,0xffd5c524) //  2
  86 NHSTUB(ExitTask                               ,0xffc11e7c) //120
  87 NHSTUB(Fclose_Fut                             ,0xffc59fb4) //120
  88 NHSTUB(Feof_Fut                               ,0xffc5a1c8) //  1
  89 NHSTUB(Fflush_Fut                             ,0xffc5a200) //  1
  90 NHSTUB(Fgets_Fut                              ,0xffc5a138) //  1
  91 NHSTUB(Fopen_Fut                              ,0xffc59f78) //120
  92 NHSTUB(Fread_Fut                              ,0xffc5a098) //120
  93 NHSTUB(FreeUncacheableMemory                  ,0xffc04b34) //  1
  94 NHSTUB(Fseek_Fut                              ,0xffc5a180) //120
  95 NHSTUB(Fwrite_Fut                             ,0xffc5a0e8) //120
  96 NHSTUB(GetBatteryTemperature                  ,0xffc1d200) //102
  97 NHSTUB(GetCCDTemperature                      ,0xffc1d1ec) //102
  98 NHSTUB(GetCurrentAvValue                      ,0xffeb3d50) //120
  99 NHSTUB(GetCurrentShutterSpeed                 ,0xffeb39a4) //120
 100 NHSTUB(GetUsableMaxAv                         ,0xffeb400c) //120
 101 NHSTUB(GetUsableMinAv                         ,0xffeb3fe8) //120
 102 NHSTUB(GetDrive_ClusterSize                   ,0xffc607b0) //119
 103 NHSTUB(GetDrive_FreeClusters                  ,0xffc60828) //1103
 104 NHSTUB(GetDrive_TotalClusters                 ,0xffc607ec) //119
 105 NHSTUB(GetFocusLensSubjectDistance            ,0xffea2f3c) //  2
 106 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffea34f0) //  2
 107 NHSTUB(GetOpticalTemperature                  ,0xffc1d1d8) //120
 108 NHSTUB(GetParameterData                       ,0xffd76090) //  2
 109 NHSTUB(GetPropertyCase                        ,0xffc14dec) //  2
 110 NHSTUB(GetSystemTime                          ,0xffc04d38) //  2
 111 NHSTUB(GetZoomLensCurrentPoint                ,0xffe8f670) //120
 112 NHSTUB(GetZoomLensCurrentPosition             ,0xffe8f684) //102
 113 NHSTUB(GiveSemaphore                          ,0xffc116b4) //120
 114 NHSTUB(IsStrobeChargeCompleted                ,0xffd11b24) //  2
 115 NHSTUB(LEDDrive                               ,0xffc1d758) //120
 116 NHSTUB(LocalTime                              ,0xffc043c8) //115
 117 NHSTUB(LockMainPower                          ,0xffd70f48) //120
 118 NHSTUB(MakeDirectory_Fut                      ,0xffc59f00) //  1
 119 NHSTUB(MoveFocusLensToDistance                ,0xffeb64d4) //102
 120 NHSTUB(MoveZoomLensWithPoint                  ,0xffe8f550) //120
 121 NHSTUB(Open                                   ,0xffc60f9c) //120
 122 NHSTUB(PT_PlaySound                           ,0xffd67db8) //  1
 123 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd6ccc8) //120
 124 NHSTUB(PostLogicalEventToUI                   ,0xffd6cd44) //120
 125 NHSTUB(PutInNdFilter                          ,0xffeb41d8) //  2
 126 NHSTUB(PutOutNdFilter                         ,0xffeb4220) //  2
 127 NHSTUB(Read                                   ,0xffc61058) //120
 128 NHSTUB(RefreshPhysicalScreen                  ,0xffd8752c) //120
 129 NHSTUB(RenameFile_Fut                         ,0xffc59df4) //  1
 130 NHSTUB(SetAE_ShutterSpeed                     ,0xffeb9144) //102
 131 NHSTUB(SetAutoShutdownTime                    ,0xffd70e4c) //120
 132 NHSTUB(SetCurrentCaptureModeType              ,0xffd9da1c) //120
 133 NHSTUB(SetDate                                ,0xffebb414) //120
 134 NHSTUB(SetFileAttributes                      ,0xffc611ec) //  1
 135 NHSTUB(SetLogicalEventActive                  ,0xffd6eab0) //1104
 136 NHSTUB(SetParameterData                       ,0xffd75fb0) //  2
 137 NHSTUB(SetPropertyCase                        ,0xffc14c9c) //  2
 138 NHSTUB(SetScriptMode                          ,0xffd6eb18) //120
 139 NHSTUB(SleepTask                              ,0xffc119d0) //120
 140 NHSTUB(TakeSemaphore                          ,0xffc114cc) //1101
 141 NHSTUB(TurnOffBackLight                       ,0xffdbd750) //  2
 142 NHSTUB(TurnOnBackLight                        ,0xffdbd720) //  2
 143 NHSTUB(TurnOnDisplay                          ,0xffd36450) //120
 144 NHSTUB(TurnOffDisplay                         ,0xffd36460) //120
 145 NHSTUB(UnlockAE                               ,0xffd58fc8) //120
 146 NHSTUB(UnlockAF                               ,0xffd58e08) //120
 147 NHSTUB(UnlockMainPower                        ,0xffd70fe0) //120
 148 NHSTUB(UpdateMBROnFlash                       ,0xffc604e4) //  1
 149 NHSTUB(VbattGet                               ,0xffc1c12c) //120
 150 NHSTUB(Write                                  ,0xffc61064) //120
 151 NHSTUB(WriteSDCard                            ,0xffc702a4) //  2
 152 NHSTUB(_log                                   ,0xffef34ec) //121
 153 NHSTUB(_log10                                 ,0xffeef88c) //121
 154 NHSTUB(_pow                                   ,0xffeefa14) //121
 155 NHSTUB(_sqrt                                  ,0xffef18e8) //  1
 156 NHSTUB(apex2us                                ,0xffca5104) //  1
 157 NHSTUB(close                                  ,0xffefda80) //109
 158 NHSTUB(exmem_alloc                            ,0xffc02a04) //122
 159 NHSTUB(exmem_ualloc                           ,0xffc02834) //122
 160 NHSTUB(exmem_ufree                            ,0xffc02904) //122
 161 NHSTUB(free                                   ,0xfff00acc) //  2
 162 NHSTUB(kbd_p1_f                               ,0xffc17468) //  1
 163 NHSTUB(kbd_p1_f_cont                          ,0xffc17474) //109
 164 NHSTUB(kbd_p2_f                               ,0xffc1784c) //  1
 165 NHSTUB(kbd_read_keys_r2                       ,0xffc1829c) //  1
 166 NHSTUB(kbd_pwr_off                            ,0xffc18828) //  1
 167 // ALT: NHSTUB(kbd_pwr_off, 0xffc18858) // 1 6/0
 168 // ALT: NHSTUB(kbd_pwr_off, 0xffc18874) // 1 6/0
 169 NHSTUB(kbd_pwr_on                             ,0xffc18800) //  1
 170 NHSTUB(lseek                                  ,0xffefdbc4) //  1
 171 NHSTUB(malloc                                 ,0xfff00ac0) //  2
 172 NHSTUB(memcmp                                 ,0xffef8adc) //120
 173 NHSTUB(memcpy                                 ,0xffef8b18) //120
 174 NHSTUB(memset                                 ,0xffef8b90) //120
 175 NHSTUB(mkdir                                  ,0xffc6121c) //  1
 176 NHSTUB(open                                   ,0xffefe0c4) //109
 177 NHSTUB(closedir                               ,0xffefaf08) //  1
 178 NHSTUB(qsort                                  ,0xffef833c) //  1
 179 NHSTUB(rand                                   ,0xffef8360) //  1
 180 NHSTUB(realloc                                ,0xffee9a6c) //115
 181 NHSTUB(srand                                  ,0xffef8384) //  1
 182 NHSTUB(stat                                   ,0xffefafd0) //  1
 183 NHSTUB(strcat                                 ,0xffef8bb0) //  1
 184 NHSTUB(strchr                                 ,0xffef8bdc) //  1
 185 NHSTUB(strcmp                                 ,0xffef8c00) //120
 186 NHSTUB(strcpy                                 ,0xffef8d94) //120
 187 NHSTUB(strftime                               ,0xffefa41c) //  1
 188 NHSTUB(strlen                                 ,0xffef8ef8) //120
 189 NHSTUB(strncmp                                ,0xffef8f5c) //  1
 190 NHSTUB(strncpy                                ,0xffef8fa0) //  1
 191 NHSTUB(strrchr                                ,0xffef9024) //  1
 192 NHSTUB(strtol                                 ,0xffef8778) //  1
 193 NHSTUB(isdigit                                ,0xffef4eac) //  1
 194 NHSTUB(isspace                                ,0xffef4f24) //  1
 195 NHSTUB(isalpha                                ,0xffef4e7c) //  1
 196 NHSTUB(isupper                                ,0xffef4f3c) //  1
 197 NHSTUB(islower                                ,0xffef4edc) //  1
 198 NHSTUB(ispunct                                ,0xffef4f0c) //  1
 199 NHSTUB(isxdigit                               ,0xffef4f54) //  1
 200 NHSTUB(toupper                                ,0xffef4f7c) //  1
 201 NHSTUB(tolower                                ,0xffef4f6c) //  1
 202 NHSTUB(taskLock                               ,0xfff0dda4) //  1
 203 NHSTUB(taskUnlock                             ,0xfff0de4c) //  1
 204 NHSTUB(taskName                               ,0xfff0d5e0) //  1
 205 NHSTUB(errnoOfTaskGet                         ,0xffefb6d4) //  1
 206 NHSTUB(readdir                                ,0xffefaed4) //  1
 207 NHSTUB(strtoul                                ,0xffef8920) //  1
 208 NHSTUB(strpbrk                                ,0xffef8fe8) //  1
 209 NHSTUB(utime                                  ,0xffefb064) //  1
 210 NHSTUB(mktime                                 ,0xffef98c4) //  1
 211 NHSTUB(opendir                                ,0xffefaf3c) //  1
 212 NHSTUB(memchr                                 ,0xffef8aa8) //  1
 213 NHSTUB(memPartInfoGet                         ,0xfff00ee0) //  1
 214 NHSTUB(iosDrvInstall                          ,0xffefef64) //  1
 215 NHSTUB(iosDevAdd                              ,0xffefeca0) //  1
 216 NHSTUB(iosDevDelete                           ,0xffefec78) //  1
 217 NHSTUB(GetCurrentTargetDistance               ,0xffeb6234) //  1
 218 NHSTUB(taskCreateHookAdd                      ,0xfff03720) //  1
 219 NHSTUB(taskDeleteHookAdd                      ,0xfff0365c) //  1
 220 NHSTUB(Mount_FileSystem                       ,0xffc602ec) //  2
 221 NHSTUB(Unmount_FileSystem                     ,0xffc60390) //  1
 222 NHSTUB(MakeAFScan                             ,0xffd5d538) //  2
 223 NHSTUB(taskSuspend                            ,0xfff0d7f0) //  1
 224 NHSTUB(taskResume                             ,0xfff0d9c4) //  1
 225 NHSTUB(time                                   ,0xffefa448) //  1
 226 NHSTUB(vsprintf                               ,0xffefc828) //115
 227 NHSTUB(EngDrvRead                             ,0xffc72984) //102
 228 NHSTUB(PTM_GetCurrentItem                     ,0xffd73f88) //102
 229 NHSTUB(CancelHPTimer                          ,0xffc05bfc) //119
 230 NHSTUB(SetHPTimerAfterNow                     ,0xffc05788) //119
 231 NHSTUB(MFOn                                   ,0xffd59b50) //120
 232 NHSTUB(MFOff                                  ,0xffd59b80) //120
 233 NHSTUB(GetAdChValue                           ,0xffc1950c) //120
 234 NHSTUB(get_ptp_buf_size                       ,0xffe4b314) //122
 235 NHSTUB(get_ptp_file_buf                       ,0xffe6ac68) //121

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