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

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