root/platform/s3is/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 @ 0xff81a5c4, "GM1.00A" @ 0xff81a5d1
   6 //   Firmware build timestamp: Feb 22 2006 08:47:32
   7 //   Canon PowerShot S3 IS
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12570 (0x311a) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x00096410
  13 
  14 // Detected address ranges:
  15 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  16 // RAM data 0x00001900 - 0x0000e190 copied from 0xffb6b240 (  51344 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 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xff978b78
  21 //NHSTUB(ExitFromCompensationEVF              ,0xff97a594) //  2 66%    *** != 0xff978bd8
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffaf007c) //  1 83%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffaf05f4) //  3 52%
  24 NHSTUB(GetParameterData                       ,0xff994b68) //  1 86%
  25 NHSTUB(GetSystemTime                          ,0xff814ee8) //  1 96%
  26 NHSTUB(PutInNdFilter                          ,0xffb0a54c) //  1 92%
  27 // ALT: NHSTUB(PutInNdFilter, 0xffb0a594) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffb0a958) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffb0c1cc) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffb0c214) // 1 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffb0a594) // 2 25/2
  32 // ALT: NHSTUB(PutInNdFilter, 0xffb0a958) // 2 25/2
  33 // ALT: NHSTUB(PutInNdFilter, 0xffb0c1cc) // 2 25/2
  34 // ALT: NHSTUB(PutInNdFilter, 0xffb0c214) // 2 25/2
  35 NHSTUB(PutOutNdFilter                         ,0xffb0a9a0) //  1 94%
  36 //NHSTUB(Remove                               ,0xff8cf9d0) //  3 52%
  37 NHSTUB(SetParameterData                       ,0xff994a88) //  1 86%
  38 //NHSTUB(WriteSDCard                          ,0xff87fe50) //  3 67%    *** != 0xff87fff8
  39 NHSTUB(add_ptp_handler                        ,0xffab0098) //  1 96%
  40 // ERROR: free is not found.                               //--- ---    *** != 0xffb571e4
  41 //NHSTUB(kbd_read_keys_r2                     ,0xff827bf0) //  1 57%    *** != 0xff827bc0
  42 //NHSTUB(kbd_pwr_off                          ,0xff82956c) //  1 83%    *** != 0xff829214
  43 // ALT: NHSTUB(kbd_pwr_off, 0xff829588) // 1 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xff829214) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xff829230) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff82931c) // 3 5/1
  47 // ALT: NHSTUB(kbd_pwr_off, 0xff829338) // 3 5/1
  48 // ALT: NHSTUB(kbd_pwr_off, 0xff829408) // 3 5/1
  49 // ALT: NHSTUB(kbd_pwr_off, 0xff829424) // 3 5/1
  50 NHSTUB(kbd_pwr_on                             ,0xff944170) //  1 55%
  51 // ALT: NHSTUB(kbd_pwr_on, 0xff94419c) // 1 5/4
  52 NHSTUB(malloc                                 ,0xffb571d8) //  1 53%
  53 NHSTUB(taskIdListGet                          ,0xffb64820) //  1 82%
  54 NHSTUB(localtime                              ,0xffb4fe14) //  1 93%
  55 NHSTUB(Mount_FileSystem                       ,0xff870190) //  1 73%
  56 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  57 
  58 // Check of modemap from 'platform/CAMERA/shooting.c':
  59 // Firmware modemap table found @ff98f378 -> ff98f378
  60 // Mode  8218 in firmware but not in current modemap
  61 // Mode  4125 in firmware but not in current modemap
  62 
  63 // Values below can be overridden in 'stubs_min.S':
  64 DEF(levent_table                            ,0xff9881e0) // Found @0xff9881e0
  65 DEF(FlashParamsTable                        ,0xff991894) // Found @0xff991894
  66 DEF(fileio_semaphore                        ,0x00002a08) // Found @0xff86e5b4
  67 DEF(exmem_alloc_table                       ,0x00001bc0) // Found @0xff811f28
  68 DEF(exmem_types_table                       ,0xff811d40) // Found @0xff811d40
  69 DEF_CONST(exmem_type_count                  ,0x0000000d)
  70 DEF(imager_active                           ,0x00005714) // Found @0xff8d28ec (0x5714 + 0)
  71 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff993b08
  72 
  73 // Values below go in 'lib.c':
  74 //int get_flash_params_count(void) { return 0x6c; }                          // Found @0xff994bd4
  75 
  76 // Values below go in 'platform_camera.h':
  77 //#define PARAM_CAMERA_NAME 3 // Found @0xff991050
  78 
  79 // Misc stuff
  80 
  81 // EXMEM types:
  82 // EXMEM_RAMDISK   0
  83 // EXMEM_COM       1
  84 // EXMEM_COMTMP    2
  85 // EXMEM_FORMATTER 3
  86 // EXMEM_SHADING   4
  87 // EXMEM_FAMODE    5
  88 // EXMEM_FIRMUP    6
  89 // EXMEM_FILESTORE 7
  90 // EXMEM_MOVIE_REC 8
  91 // EXMEM_MOVIE_PLY 9
  92 // EXMEM_WIDE      10
  93 // EXMEM_NARROW    11
  94 // EXMEM_PCEVF     12
  95 
  96 // LED table init @ 0xff82dce8
  97 // LED #1: 0xc022008c, offset 0x104
  98 // LED #2: 0xc0220088, offset 0x144
  99 // LED #3: 0xc02200fc, offset 0x1c4
 100 
 101 // Stubs below matched 100%.
 102 //    Name                                     Address                Comp to stubs_entry_2.S
 103 NHSTUB(AllocateUncacheableMemory              ,0xff814cb0) //  1
 104 NHSTUB(Close                                  ,0xff8713c4) //120
 105 NHSTUB(CreateBinarySemaphore                  ,0xff820ca8) //115
 106 NHSTUB(CreateTask                             ,0xff821658) //120
 107 NHSTUB(DebugAssert                            ,0xff813b80) //1100
 108 NHSTUB(DeleteFile_Fut                         ,0xff869fc4) //  1
 109 NHSTUB(DoAELock                               ,0xff97662c) //120
 110 NHSTUB(DoAFLock                               ,0xff9764ac) //120
 111 NHSTUB(ExecuteEventProcedure                  ,0xff816bc8) //  1
 112 NHSTUB(ExitTask                               ,0xff821a18) //120
 113 NHSTUB(Fclose_Fut                             ,0xff86a104) //120
 114 NHSTUB(Feof_Fut                               ,0xff86a318) //  1
 115 NHSTUB(Fflush_Fut                             ,0xff86a350) //  1
 116 NHSTUB(Fgets_Fut                              ,0xff86a288) //  1
 117 NHSTUB(Fopen_Fut                              ,0xff86a0c8) //120
 118 NHSTUB(Fread_Fut                              ,0xff86a1e8) //120
 119 NHSTUB(FreeUncacheableMemory                  ,0xff814ce4) //  1
 120 NHSTUB(Fseek_Fut                              ,0xff86a2d0) //120
 121 NHSTUB(Fwrite_Fut                             ,0xff86a238) //120
 122 NHSTUB(GetBatteryTemperature                  ,0xff82d37c) //102
 123 NHSTUB(GetCCDTemperature                      ,0xff82d368) //102
 124 NHSTUB(GetCurrentAvValue                      ,0xffb0a538) //120
 125 NHSTUB(GetCurrentShutterSpeed                 ,0xffb0a190) //120
 126 NHSTUB(GetUsableMaxAv                         ,0xffb0a764) //120
 127 NHSTUB(GetUsableMinAv                         ,0xffb0a740) //120
 128 NHSTUB(GetDrive_ClusterSize                   ,0xff870710) //119
 129 NHSTUB(GetDrive_FreeClusters                  ,0xff8707a8) //1103
 130 NHSTUB(GetDrive_TotalClusters                 ,0xff87076c) //119
 131 NHSTUB(GetOpticalTemperature                  ,0xff82d354) //120
 132 NHSTUB(GetPropertyCase                        ,0xff82498c) //  1
 133 NHSTUB(GetZoomLensCurrentPoint                ,0xffae8460) //120
 134 NHSTUB(GetZoomLensCurrentPosition             ,0xffae8474) //102
 135 NHSTUB(GiveSemaphore                          ,0xff821250) //120
 136 NHSTUB(IsStrobeChargeCompleted                ,0xff91d8c0) //  1
 137 NHSTUB(LEDDrive                               ,0xff82d8d4) //120
 138 NHSTUB(LocalTime                              ,0xff814208) //115
 139 NHSTUB(LockMainPower                          ,0xff98f118) //120
 140 NHSTUB(MakeDirectory_Fut                      ,0xff86a050) //  1
 141 NHSTUB(MoveFocusLensToDistance                ,0xffb0c824) //102
 142 NHSTUB(MoveZoomLensWithPoint                  ,0xffae8280) //120
 143 NHSTUB(Open                                   ,0xff87139c) //120
 144 NHSTUB(PT_PlaySound                           ,0xff986518) //  1
 145 NHSTUB(PostLogicalEventForNotPowerType        ,0xff98b048) //120
 146 NHSTUB(PostLogicalEventToUI                   ,0xff98b0c4) //120
 147 NHSTUB(Read                                   ,0xff871458) //120
 148 NHSTUB(RefreshPhysicalScreen                  ,0xff9a7b10) //120
 149 NHSTUB(RenameFile_Fut                         ,0xff869f44) //  1
 150 NHSTUB(Restart                                ,0xff822bd8) //  1
 151 NHSTUB(SetAE_ShutterSpeed                     ,0xffb100cc) //102
 152 NHSTUB(SetAutoShutdownTime                    ,0xff98f01c) //120
 153 NHSTUB(SetCurrentCaptureModeType              ,0xff9c3db8) //120
 154 NHSTUB(SetFileAttributes                      ,0xff87157c) //  1
 155 NHSTUB(SetLogicalEventActive                  ,0xff98ce10) //1104
 156 NHSTUB(SetPropertyCase                        ,0xff824870) //  1
 157 NHSTUB(SetScriptMode                          ,0xff98ce78) //120
 158 NHSTUB(SleepTask                              ,0xff82156c) //120
 159 NHSTUB(TakeSemaphore                          ,0xff821068) //1101
 160 NHSTUB(TurnOffBackLight                       ,0xff9e6b2c) //  2
 161 NHSTUB(TurnOnBackLight                        ,0xff9e6afc) //  2
 162 NHSTUB(TurnOnDisplay                          ,0xff941068) //120
 163 NHSTUB(TurnOffDisplay                         ,0xff941078) //120
 164 NHSTUB(UnlockAE                               ,0xff97664c) //120
 165 NHSTUB(UnlockAF                               ,0xff976518) //120
 166 NHSTUB(UnlockMainPower                        ,0xff98f1b0) //120
 167 NHSTUB(UpdateMBROnFlash                       ,0xff8703ec) //  1
 168 NHSTUB(VbattGet                               ,0xff82c328) //120
 169 NHSTUB(Write                                  ,0xff871464) //120
 170 NHSTUB(_log                                   ,0xffb496c0) //121
 171 NHSTUB(_log10                                 ,0xffb45a60) //121
 172 NHSTUB(_pow                                   ,0xffb45be8) //121
 173 NHSTUB(_sqrt                                  ,0xffb47abc) //  1
 174 NHSTUB(apex2us                                ,0xff8b6348) //  1
 175 NHSTUB(close                                  ,0xffb54198) //109
 176 NHSTUB(exmem_alloc                            ,0xff81282c) //122
 177 NHSTUB(exmem_free                             ,0xff8128fc) //122
 178 NHSTUB(kbd_p1_f                               ,0xff826d64) //  1
 179 NHSTUB(kbd_p1_f_cont                          ,0xff826d70) //109
 180 NHSTUB(kbd_p2_f                               ,0xff827140) //  1
 181 NHSTUB(lseek                                  ,0xffb542dc) //  1
 182 NHSTUB(memcmp                                 ,0xffb4f1f4) //120
 183 NHSTUB(memcpy                                 ,0xffb4f230) //120
 184 NHSTUB(memset                                 ,0xffb4f2a8) //120
 185 NHSTUB(mkdir                                  ,0xff8715ac) //  1
 186 NHSTUB(open                                   ,0xffb547dc) //109
 187 NHSTUB(closedir                               ,0xffb51620) //  1
 188 NHSTUB(qsort                                  ,0xffb4ea54) //  1
 189 NHSTUB(rand                                   ,0xffb4ea78) //  1
 190 NHSTUB(realloc                                ,0xffb3eb34) //115
 191 NHSTUB(srand                                  ,0xffb4ea9c) //  1
 192 NHSTUB(stat                                   ,0xffb516e8) //  1
 193 NHSTUB(strcat                                 ,0xffb4f2c8) //  1
 194 NHSTUB(strchr                                 ,0xffb4f2f4) //  1
 195 NHSTUB(strcmp                                 ,0xffb4f318) //120
 196 NHSTUB(strcpy                                 ,0xffb4f4ac) //120
 197 NHSTUB(strftime                               ,0xffb50b34) //  1
 198 NHSTUB(strlen                                 ,0xffb4f610) //120
 199 NHSTUB(strncmp                                ,0xffb4f674) //  1
 200 NHSTUB(strncpy                                ,0xffb4f6b8) //  1
 201 NHSTUB(strrchr                                ,0xffb4f73c) //  1
 202 NHSTUB(strtol                                 ,0xffb4ee90) //  1
 203 NHSTUB(isdigit                                ,0xffb4b6f4) //  1
 204 NHSTUB(isspace                                ,0xffb4b76c) //  1
 205 NHSTUB(isalpha                                ,0xffb4b6c4) //  1
 206 NHSTUB(isupper                                ,0xffb4b784) //  1
 207 NHSTUB(islower                                ,0xffb4b724) //  1
 208 NHSTUB(ispunct                                ,0xffb4b754) //  1
 209 NHSTUB(isxdigit                               ,0xffb4b79c) //  1
 210 NHSTUB(toupper                                ,0xffb4b7c4) //  1
 211 NHSTUB(tolower                                ,0xffb4b7b4) //  1
 212 NHSTUB(taskLock                               ,0xffb64edc) //  1
 213 NHSTUB(taskUnlock                             ,0xffb64f84) //  1
 214 NHSTUB(taskName                               ,0xffb64718) //  1
 215 NHSTUB(errnoOfTaskGet                         ,0xffb51dec) //  1
 216 NHSTUB(readdir                                ,0xffb515ec) //  1
 217 NHSTUB(strtoul                                ,0xffb4f038) //  1
 218 NHSTUB(strpbrk                                ,0xffb4f700) //  1
 219 NHSTUB(utime                                  ,0xffb5177c) //  1
 220 NHSTUB(mktime                                 ,0xffb4ffdc) //  1
 221 NHSTUB(opendir                                ,0xffb51654) //  1
 222 NHSTUB(memchr                                 ,0xffb4f1c0) //  1
 223 NHSTUB(memPartInfoGet                         ,0xffb575f8) //  1
 224 NHSTUB(iosDrvInstall                          ,0xffb5567c) //  1
 225 NHSTUB(iosDevAdd                              ,0xffb553b8) //  1
 226 NHSTUB(iosDevDelete                           ,0xffb55390) //  1
 227 NHSTUB(GetCurrentTargetDistance               ,0xffb0c584) //  1
 228 NHSTUB(taskCreateHookAdd                      ,0xffb5a858) //  1
 229 NHSTUB(taskDeleteHookAdd                      ,0xffb5a794) //  1
 230 NHSTUB(Unmount_FileSystem                     ,0xff870244) //  1
 231 NHSTUB(taskSuspend                            ,0xffb64928) //  1
 232 NHSTUB(taskResume                             ,0xffb64afc) //  1
 233 NHSTUB(time                                   ,0xffb50b60) //  1
 234 NHSTUB(vsprintf                               ,0xffb52f40) //115
 235 NHSTUB(EngDrvRead                             ,0xff8824d4) //102
 236 NHSTUB(PTM_GetCurrentItem                     ,0xff992114) //102
 237 NHSTUB(CancelHPTimer                          ,0xff815dac) //119
 238 NHSTUB(SetHPTimerAfterNow                     ,0xff815938) //119
 239 NHSTUB(MFOn                                   ,0xff9772f4) //120
 240 NHSTUB(MFOff                                  ,0xff977324) //120
 241 NHSTUB(GetAdChValue                           ,0xff829cc0) //120
 242 NHSTUB(get_ptp_buf_size                       ,0xffaa1464) //122
 243 NHSTUB(get_ptp_file_buf                       ,0xffac0794) //121

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