root/platform/s2is/sub/100f/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.00F   // Found @ 0xff81ada0, "GM1.00F" @ 0xff81adad
   6 //   Firmware build timestamp: Jul 11 2005 16:09:30
   7 //   Canon PowerShot S2 IS
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12528# (0x30f0) Found @ 0xffd70130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x0006ef50
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000f4b0 copied from 0xffb09320 (  56240 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 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xff968128
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff96b6b4) //  1 70%    *** != 0xff96817c
  23 NHSTUB(GetFocusLensSubjectDistance            ,0xffa8e9ec) //  1 87%
  24 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffa8ef74
  25 NHSTUB(GetParameterData                       ,0xff987fb8) //  1 76%
  26 //NHSTUB(GetPropertyCase                      ,0xff825d04) //  2 71%    *** != 0xff825d08
  27 NHSTUB(GetSystemTime                          ,0xff814b98) //  1 96%
  28 //NHSTUB(GetZoomLensCurrentPoint              ,0xffa881e0) //120        *** != 0xffaa8824
  29 //NHSTUB(GetZoomLensCurrentPosition           ,0xffa881f4) //102        *** != 0xffaa8838
  30 NHSTUB(PutInNdFilter                          ,0xffaa6d58) //  1 92%
  31 // ALT: NHSTUB(PutInNdFilter, 0xffaa6da0) // 1 25/2
  32 // ALT: NHSTUB(PutInNdFilter, 0xffaa7168) // 1 25/2
  33 // ALT: NHSTUB(PutInNdFilter, 0xffaa88fc) // 1 25/2
  34 // ALT: NHSTUB(PutInNdFilter, 0xffaa8944) // 1 25/2
  35 // ALT: NHSTUB(PutInNdFilter, 0xffaa6da0) // 2 25/2
  36 // ALT: NHSTUB(PutInNdFilter, 0xffaa7168) // 2 25/2
  37 // ALT: NHSTUB(PutInNdFilter, 0xffaa88fc) // 2 25/2
  38 // ALT: NHSTUB(PutInNdFilter, 0xffaa8944) // 2 25/2
  39 NHSTUB(PutOutNdFilter                         ,0xffaa71b0) //  1 94%
  40 //NHSTUB(Remove                               ,0xff8d290c) //  3 52%    *** != 0xff877380
  41 //NHSTUB(Restart                              ,0xff823de4) //  1 84%    *** != 0xff823de8
  42 NHSTUB(SetCurrentCaptureModeType              ,0xff9aed0c) //  1 73%
  43 NHSTUB(SetFileAttributes                      ,0xff8774cc) //  1 58%
  44 //NHSTUB(SetParameterData                     ,0xff987fb4) //  1 66%    *** != 0xff987ee4
  45 // ERROR: SetPropertyCase is not found.                    //--- ---    *** != 0xff825c00
  46 NHSTUB(UpdateMBROnFlash                       ,0xff876480) //  1 96%
  47 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0x00000000
  48 NHSTUB(add_ptp_handler                        ,0xffa4bc20) //  1 96%
  49 // ERROR: free is not found.                               //--- ---    *** != 0xffaf758c
  50 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0xff829470
  51 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff829484
  52 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0xff829364
  53 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff829e58
  54 //NHSTUB(kbd_pwr_off                          ,0xff82b0d4) //  1 83%    *** != 0xff82ae84
  55 // ALT: NHSTUB(kbd_pwr_off, 0xff82b0f0) // 1 5/1
  56 // ALT: NHSTUB(kbd_pwr_off, 0xff82ae84) // 3 5/1
  57 // ALT: NHSTUB(kbd_pwr_off, 0xff82aea0) // 3 5/1
  58 // ALT: NHSTUB(kbd_pwr_off, 0xff82af70) // 3 5/1
  59 // ALT: NHSTUB(kbd_pwr_off, 0xff82af8c) // 3 5/1
  60 NHSTUB(kbd_pwr_on                             ,0xff9402b0) //  1 55%
  61 // ALT: NHSTUB(kbd_pwr_on, 0xff9402dc) // 1 5/4
  62 NHSTUB(malloc                                 ,0xffaf7580) //  1 53%
  63 NHSTUB(mkdir                                  ,0xff8774fc) //  1 61%
  64 // ALT: NHSTUB(mkdir, 0xff8775bc) // 1 19/12
  65 NHSTUB(taskIdListGet                          ,0xffb026e4) //  1 82%
  66 NHSTUB(localtime                              ,0xffaeecd4) //  1 93%
  67 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff876264
  68 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  69 
  70 // Check of modemap from 'platform/CAMERA/shooting.c':
  71 // Firmware modemap table found @ff983750 -> ff983750
  72 // Strange mode 0x00020011 in firmware but not in current modemap
  73 // Strange mode 0x00030012 in firmware but not in current modemap
  74 
  75 // Values below can be overridden in 'stubs_min.S':
  76 DEF(levent_table                            ,0xff97d904) // Found @0xff97d904
  77 DEF(FlashParamsTable                        ,0xff985878) // Found @0xff985878
  78 DEF(fileio_semaphore                        ,0x00003418) // Found @0xff874694
  79 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812278
  80 DEF(exmem_types_table                       ,0xff8120d0) // Found @0xff8120d0
  81 DEF_CONST(exmem_type_count                  ,0x0000000c)
  82 DEF(imager_active                           ,0x00003a40) // Found @0xff8d7118 (0x3a40 + 0)
  83 DEF_CONST(uiprop_count                      ,0x0000004f) // Found @0xff987570
  84 
  85 // Values below go in 'lib.c':
  86 //int get_flash_params_count(void) { return 0x55; }                          // Found @0xff988024
  87 
  88 // Values below go in 'platform_camera.h':
  89 //#define PARAM_CAMERA_NAME 2 // Found @0xff9851f0
  90 
  91 // Misc stuff
  92 
  93 // EXMEM types:
  94 // EXMEM_RAMDISK   0
  95 // EXMEM_COM       1
  96 // EXMEM_FORMATTER 2
  97 // EXMEM_SHADING   3
  98 // EXMEM_FAMODE    4
  99 // EXMEM_FIRMUP    5
 100 // EXMEM_FILESTORE 6
 101 // EXMEM_MOVIE_REC 7
 102 // EXMEM_MOVIE_PLY 8
 103 // EXMEM_WIDE      9
 104 // EXMEM_NARROW    10
 105 // EXMEM_PCEVF     11
 106 
 107 // LED table init @ 0xff82ecb0
 108 // LED #1: 0xc022008c, offset 0x104
 109 // LED #2: 0xc0220088, offset 0x144
 110 // LED #3: 0xc02200fc, offset 0x1c4
 111 
 112 // Stubs below matched 100%.
 113 //    Name                                     Address                Comp to stubs_entry_2.S
 114 NHSTUB(AllocateUncacheableMemory              ,0xff814810) //  1
 115 NHSTUB(Close                                  ,0xff877374) //120
 116 NHSTUB(CreateBinarySemaphore                  ,0xff82176c) //115
 117 NHSTUB(CreateTask                             ,0xff82239c) //120
 118 NHSTUB(DebugAssert                            ,0xff813d58) //1100
 119 NHSTUB(DeleteFile_Fut                         ,0xff86fbf4) //  1
 120 NHSTUB(DoAELock                               ,0xff968244) //120
 121 NHSTUB(DoAFLock                               ,0xff967f48) //120
 122 NHSTUB(ExecuteEventProcedure                  ,0xff816ab4) //  1
 123 NHSTUB(ExitTask                               ,0xff82275c) //120
 124 NHSTUB(Fclose_Fut                             ,0xff86fd34) //  1
 125 NHSTUB(Feof_Fut                               ,0xff86ff48) //  1
 126 NHSTUB(Fflush_Fut                             ,0xff86ff80) //  1
 127 NHSTUB(Fgets_Fut                              ,0xff86feb8) //  1
 128 NHSTUB(Fopen_Fut                              ,0xff86fcf8) //  1
 129 NHSTUB(Fread_Fut                              ,0xff86fe18) //  1
 130 NHSTUB(FreeUncacheableMemory                  ,0xff814844) //  1
 131 NHSTUB(Fseek_Fut                              ,0xff86ff00) //  1
 132 NHSTUB(Fwrite_Fut                             ,0xff86fe68) //  1
 133 NHSTUB(GetBatteryTemperature                  ,0xff82e368) //102
 134 NHSTUB(GetCCDTemperature                      ,0xff82e354) //102
 135 NHSTUB(GetCurrentAvValue                      ,0xffaa6d44) //120
 136 NHSTUB(GetCurrentShutterSpeed                 ,0xffaa6998) //120
 137 NHSTUB(GetUsableMaxAv                         ,0xffaa6f70) //120
 138 NHSTUB(GetUsableMinAv                         ,0xffaa6f4c) //120
 139 NHSTUB(GetDrive_ClusterSize                   ,0xff8767a0) //119
 140 NHSTUB(GetDrive_FreeClusters                  ,0xff876838) //1103
 141 NHSTUB(GetDrive_TotalClusters                 ,0xff8767fc) //119
 142 NHSTUB(GetOpticalTemperature                  ,0xff82e340) //120
 143 NHSTUB(GiveSemaphore                          ,0xff821d54) //120
 144 NHSTUB(IsStrobeChargeCompleted                ,0xff912ee0) //  1
 145 NHSTUB(LEDDrive                               ,0xff82e880) //120
 146 NHSTUB(LocalTime                              ,0xff8144d8) //115
 147 NHSTUB(LockMainPower                          ,0xff9834c8) //120
 148 NHSTUB(MakeDirectory_Fut                      ,0xff86fc80) //  1
 149 NHSTUB(MoveFocusLensToDistance                ,0xffaa8f30) //102
 150 NHSTUB(MoveZoomLensWithPoint                  ,0xffa88000) //120
 151 NHSTUB(Open                                   ,0xff877368) //120
 152 NHSTUB(PT_PlaySound                           ,0xff97bd18) //  1
 153 NHSTUB(PostLogicalEventForNotPowerType        ,0xff980158) //120
 154 NHSTUB(PostLogicalEventToUI                   ,0xff9801e4) //120
 155 NHSTUB(Read                                   ,0xff8773d4) //120
 156 NHSTUB(RefreshPhysicalScreen                  ,0xff9988b4) //120
 157 NHSTUB(RenameFile_Fut                         ,0xff86fb74) //  1
 158 NHSTUB(SetAE_ShutterSpeed                     ,0xffaabe0c) //102
 159 NHSTUB(SetAutoShutdownTime                    ,0xff9833c0) //120
 160 NHSTUB(SetLogicalEventActive                  ,0xff981968) //1104
 161 NHSTUB(SetScriptMode                          ,0xff9819cc) //120
 162 NHSTUB(SleepTask                              ,0xff8221fc) //120
 163 NHSTUB(TakeSemaphore                          ,0xff821b6c) //1101
 164 NHSTUB(TurnOffBackLight                       ,0xff9cbed8) //  1
 165 NHSTUB(TurnOnBackLight                        ,0xff9cbeac) //  1
 166 NHSTUB(TurnOnDisplay                          ,0xff93d050) //120
 167 NHSTUB(TurnOffDisplay                         ,0xff93d060) //120
 168 NHSTUB(UnlockAE                               ,0xff968298) //120
 169 NHSTUB(UnlockAF                               ,0xff968024) //120
 170 NHSTUB(UnlockMainPower                        ,0xff98357c) //120
 171 NHSTUB(VbattGet                               ,0xff82d570) //120
 172 NHSTUB(Write                                  ,0xff8773e0) //120
 173 NHSTUB(_log                                   ,0xffae0ac0) //121
 174 NHSTUB(_log10                                 ,0xffae1168) //121
 175 NHSTUB(_pow                                   ,0xffae1658) //121
 176 NHSTUB(_sqrt                                  ,0xffae59a4) //  1
 177 NHSTUB(apex2us                                ,0xff8bbe28) //  1
 178 NHSTUB(close                                  ,0xffaf4540) //109
 179 NHSTUB(exmem_ualloc                           ,0xff812a74) //122
 180 NHSTUB(exmem_ufree                            ,0xff812ac0) //122
 181 NHSTUB(get_nd_value                           ,0xffa7ee78) //120
 182 NHSTUB(get_current_nd_value                   ,0xffa7ee64) //120
 183 NHSTUB(lseek                                  ,0xffaf4684) //  1
 184 NHSTUB(memcmp                                 ,0xffaee0b4) //120
 185 NHSTUB(memcpy                                 ,0xffaee0f0) //120
 186 NHSTUB(memset                                 ,0xffaee168) //120
 187 NHSTUB(open                                   ,0xffaf4b84) //  1
 188 NHSTUB(closedir                               ,0xffaf04e0) //  1
 189 NHSTUB(qsort                                  ,0xffaed914) //  1
 190 NHSTUB(rand                                   ,0xffaed938) //  1
 191 NHSTUB(realloc                                ,0xffad75b4) //115
 192 NHSTUB(srand                                  ,0xffaed95c) //  1
 193 NHSTUB(stat                                   ,0xffaf05a8) //  1
 194 NHSTUB(strcat                                 ,0xffaee188) //  1
 195 NHSTUB(strchr                                 ,0xffaee1b4) //  1
 196 NHSTUB(strcmp                                 ,0xffaee1d8) //120
 197 NHSTUB(strcpy                                 ,0xffaee36c) //120
 198 NHSTUB(strftime                               ,0xffaef9f4) //  1
 199 NHSTUB(strlen                                 ,0xffaee4d0) //120
 200 NHSTUB(strncmp                                ,0xffaee534) //  1
 201 NHSTUB(strncpy                                ,0xffaee578) //  1
 202 NHSTUB(strrchr                                ,0xffaee5fc) //  1
 203 NHSTUB(strtol                                 ,0xffaedd50) //  1
 204 NHSTUB(isdigit                                ,0xffaea484) //  1
 205 NHSTUB(isspace                                ,0xffaea4fc) //  1
 206 NHSTUB(isalpha                                ,0xffaea454) //  1
 207 NHSTUB(isupper                                ,0xffaea514) //  1
 208 NHSTUB(islower                                ,0xffaea4b4) //  1
 209 NHSTUB(ispunct                                ,0xffaea4e4) //  1
 210 NHSTUB(isxdigit                               ,0xffaea52c) //  1
 211 NHSTUB(toupper                                ,0xffaea554) //  1
 212 NHSTUB(tolower                                ,0xffaea544) //  1
 213 NHSTUB(taskLock                               ,0xffb02da0) //  1
 214 NHSTUB(taskUnlock                             ,0xffb02e48) //  1
 215 NHSTUB(taskName                               ,0xffb025dc) //  1
 216 NHSTUB(errnoOfTaskGet                         ,0xffaf0cac) //  1
 217 NHSTUB(readdir                                ,0xffaf04ac) //  1
 218 NHSTUB(strtoul                                ,0xffaedef8) //  1
 219 NHSTUB(strpbrk                                ,0xffaee5c0) //  1
 220 NHSTUB(utime                                  ,0xffaf063c) //  1
 221 NHSTUB(mktime                                 ,0xffaeee9c) //  1
 222 NHSTUB(opendir                                ,0xffaf0514) //  1
 223 NHSTUB(memchr                                 ,0xffaee080) //  1
 224 NHSTUB(memPartInfoGet                         ,0xffaf79a0) //  1
 225 NHSTUB(iosDrvInstall                          ,0xffaf5a24) //  1
 226 NHSTUB(iosDevAdd                              ,0xffaf5760) //  1
 227 NHSTUB(iosDevDelete                           ,0xffaf5738) //  1
 228 NHSTUB(GetCurrentTargetDistance               ,0xffaa8ca0) //  1
 229 NHSTUB(taskCreateHookAdd                      ,0xffafac00) //  1
 230 NHSTUB(taskDeleteHookAdd                      ,0xffafab3c) //  1
 231 NHSTUB(Unmount_FileSystem                     ,0xff8762d4) //  1
 232 NHSTUB(taskSuspend                            ,0xffb027ec) //  1
 233 NHSTUB(taskResume                             ,0xffb029c0) //  1
 234 NHSTUB(time                                   ,0xffaefa20) //  1
 235 NHSTUB(vsprintf                               ,0xffaf1e00) //115
 236 NHSTUB(EngDrvRead                             ,0xff88b518) //102
 237 NHSTUB(PTM_GetCurrentItem                     ,0xff985eb0) //102
 238 NHSTUB(CancelHPTimer                          ,0xff815b98) //119
 239 NHSTUB(SetHPTimerAfterNow                     ,0xff815724) //119
 240 NHSTUB(GetAdChValue                           ,0xff82b848) //120

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