root/platform/ixus50_sd400/sub/101a/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.01A   // Found @ 0xff81ac34, "GM1.01A" @ 0xff81ac41
   6 //   Firmware build timestamp: Mar 10 2005 16:01:15
   7 //   Canon DIGITAL IXUS 50
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12558# (0x310e) Found @ 0xfff80130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x0007c410
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000ece0 copied from 0xffad0980 (  54240 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.             //--- ---    *** != 0xff959074
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff95baf4) //  1 66%    *** != 0xff9590c8
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff95bb28) // 1 20/10
  24 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff95bb5c) // 1 20/10
  25 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff95bb90) // 1 20/10
  26 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff95bbc4) // 1 20/10
  27 //NHSTUB(GetCurrentAvValue                    ,0xffa708f4) //120        *** != 0xffa5168c
  28 //NHSTUB(GetFocusLensSubjectDistance          ,0xffa58340) //  1 51%    *** != 0xffa66f2c
  29 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa674ac) //  2 88%
  30 NHSTUB(GetParameterData                       ,0xff975fe0) //  1 76%
  31 //NHSTUB(GetPropertyCase                      ,0xff825aa4) //  2 71%    *** != 0xff825aa8
  32 NHSTUB(GetSystemTime                          ,0xff814a28) //  1 96%
  33 NHSTUB(PutInNdFilter                          ,0xffa70a7c) //  1 92%
  34 // ALT: NHSTUB(PutInNdFilter, 0xffa725b0) // 1 25/2
  35 // ALT: NHSTUB(PutInNdFilter, 0xffa725f8) // 1 25/2
  36 // ALT: NHSTUB(PutInNdFilter, 0xffa725b0) // 2 25/2
  37 // ALT: NHSTUB(PutInNdFilter, 0xffa725f8) // 2 25/2
  38 NHSTUB(PutOutNdFilter                         ,0xffa70ac4) //  1 94%
  39 //NHSTUB(Remove                               ,0xff8cf2f8) //  3 52%    *** != 0xff874ba8
  40 //NHSTUB(Restart                              ,0xff823b8c) //  1 84%    *** != 0xff823b90
  41 NHSTUB(SetCurrentCaptureModeType              ,0xff99ab34) //  1 73%
  42 NHSTUB(SetFileAttributes                      ,0xff874cf4) //  1 58%
  43 NHSTUB(SetParameterData                       ,0xff975fdc) //  1 66%
  44 // ERROR: SetPropertyCase is not found.                    //--- ---    *** != 0xff8259a0
  45 NHSTUB(UpdateMBROnFlash                       ,0xff8740f8) //  1 96%
  46 // ERROR: VbattGet is not found.                           //--- ---    *** != 0xffa62d30
  47 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0x00000000
  48 NHSTUB(add_ptp_handler                        ,0xffa24f64) //  1 96%
  49 // ERROR: free is not found.                               //--- ---    *** != 0xffabebec
  50 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0x00000000
  51 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff828de0
  52 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0x00000000
  53 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0x00000000
  54 //NHSTUB(kbd_pwr_off                          ,0xff82a370) //  1 83%    *** != 0xff82a120
  55 // ALT: NHSTUB(kbd_pwr_off, 0xff82a38c) // 1 5/1
  56 // ALT: NHSTUB(kbd_pwr_off, 0xff82a120) // 3 5/1
  57 // ALT: NHSTUB(kbd_pwr_off, 0xff82a13c) // 3 5/1
  58 // ALT: NHSTUB(kbd_pwr_off, 0xff82a20c) // 3 5/1
  59 // ALT: NHSTUB(kbd_pwr_off, 0xff82a228) // 3 5/1
  60 NHSTUB(kbd_pwr_on                             ,0xff93bd0c) //  1 55%
  61 // ALT: NHSTUB(kbd_pwr_on, 0xff93bd38) // 1 5/4
  62 // ALT: NHSTUB(kbd_pwr_on, 0xffa5e76c) // 1 5/4
  63 // ALT: NHSTUB(kbd_pwr_on, 0xffa5e798) // 1 5/4
  64 NHSTUB(malloc                                 ,0xffabebe0) //  1 53%
  65 NHSTUB(mkdir                                  ,0xff874d24) //  1 61%
  66 // ALT: NHSTUB(mkdir, 0xff874de4) // 1 19/12
  67 NHSTUB(taskIdListGet                          ,0xffac9d44) //  1 82%
  68 NHSTUB(localtime                              ,0xffab6334) //  1 93%
  69 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff873f40
  70 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  71 
  72 // Check of modemap from 'platform/CAMERA/shooting.c':
  73 // Firmware modemap table found @ff972440 -> ff972440
  74 // No problems found with modemap table.
  75 
  76 // Values below can be overridden in 'stubs_min.S':
  77 DEF(levent_table                            ,0xff96c750) // Found @0xff96c750
  78 DEF(FlashParamsTable                        ,0xff973e0c) // Found @0xff973e0c
  79 DEF(fileio_semaphore                        ,0x0000317c) // Found @0xff872370
  80 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812158
  81 DEF(exmem_types_table                       ,0xff811ec4) // Found @0xff811ec4
  82 DEF_CONST(exmem_type_count                  ,0x0000000c)
  83 DEF(imager_active                           ,0x00003788) // Found @0xff8d3a48 (0x3788 + 0)
  84 DEF_CONST(uiprop_count                      ,0x00000041) // Found @0xff97578c
  85 
  86 // Values below go in 'lib.c':
  87 //int get_flash_params_count(void) { return 0x52; }                          // Found @0xff97604c
  88 
  89 // Values below go in 'platform_camera.h':
  90 //#define PARAM_CAMERA_NAME 2 // Found @0xff9737c0
  91 
  92 // Misc stuff
  93 
  94 // EXMEM types:
  95 // EXMEM_RAMDISK   0
  96 // EXMEM_COM       1
  97 // EXMEM_FORMATTER 2
  98 // EXMEM_SHADING   3
  99 // EXMEM_FAMODE    4
 100 // EXMEM_FIRMUP    5
 101 // EXMEM_FILESTORE 6
 102 // EXMEM_MOVIE_REC 7
 103 // EXMEM_MOVIE_PLY 8
 104 // EXMEM_WIDE      9
 105 // EXMEM_NARROW    10
 106 // EXMEM_PCEVF     11
 107 
 108 // LED table init @ 0xff82e078
 109 // LED #1: 0xc02200d8, offset 0x4
 110 // LED #2: 0xc02200dc, offset 0x44
 111 // LED #3: 0xc02200e0, offset 0x84
 112 // LED #4: 0xc02200e8, offset 0xc4
 113 // LED #5: 0xc02200e4, offset 0x204
 114 // LED #6: 0xc02200ec, offset 0x244
 115 
 116 // Stubs below matched 100%.
 117 //    Name                                     Address                Comp to stubs_entry_2.S
 118 NHSTUB(AllocateUncacheableMemory              ,0xff8146a0) //  1
 119 NHSTUB(Close                                  ,0xff874b9c) //120
 120 NHSTUB(CreateBinarySemaphore                  ,0xff8215c4) //115
 121 NHSTUB(CreateTask                             ,0xff8221f4) //120
 122 NHSTUB(DebugAssert                            ,0xff813be8) //1100
 123 NHSTUB(DeleteFile_Fut                         ,0xff86d8d0) //  1
 124 NHSTUB(DoAELock                               ,0xff959158) //120
 125 NHSTUB(DoAFLock                               ,0xff958ef8) //120
 126 NHSTUB(ExecuteEventProcedure                  ,0xff816944) //  1
 127 NHSTUB(ExitTask                               ,0xff8225b4) //120
 128 NHSTUB(Fclose_Fut                             ,0xff86da10) //  1
 129 NHSTUB(Feof_Fut                               ,0xff86dc24) //  1
 130 NHSTUB(Fflush_Fut                             ,0xff86dc5c) //  1
 131 NHSTUB(Fgets_Fut                              ,0xff86db94) //  1
 132 NHSTUB(Fopen_Fut                              ,0xff86d9d4) //  1
 133 NHSTUB(Fread_Fut                              ,0xff86daf4) //  1
 134 NHSTUB(FreeUncacheableMemory                  ,0xff8146d4) //  1
 135 NHSTUB(Fseek_Fut                              ,0xff86dbdc) //  1
 136 NHSTUB(Fwrite_Fut                             ,0xff86db44) //  1
 137 NHSTUB(GetBatteryTemperature                  ,0xff82d754) //102
 138 NHSTUB(GetCCDTemperature                      ,0xff82d740) //102
 139 NHSTUB(GetCurrentShutterSpeed                 ,0xffa705a0) //120
 140 NHSTUB(GetDrive_ClusterSize                   ,0xff8743bc) //119
 141 NHSTUB(GetDrive_FreeClusters                  ,0xff874434) //1103
 142 NHSTUB(GetDrive_TotalClusters                 ,0xff8743f8) //119
 143 NHSTUB(GetOpticalTemperature                  ,0xff82d72c) //120
 144 NHSTUB(GetZoomLensCurrentPoint                ,0xffa59380) //120
 145 NHSTUB(GetZoomLensCurrentPosition             ,0xffa59394) //102
 146 NHSTUB(GiveSemaphore                          ,0xff821bac) //120
 147 NHSTUB(IsStrobeChargeCompleted                ,0xff911ca8) //  1
 148 NHSTUB(LEDDrive                               ,0xff82dc6c) //120
 149 NHSTUB(LocalTime                              ,0xff814368) //115
 150 NHSTUB(LockMainPower                          ,0xff9721b8) //120
 151 NHSTUB(MakeDirectory_Fut                      ,0xff86d95c) //  1
 152 NHSTUB(MoveFocusLensToDistance                ,0xffa72c40) //102
 153 NHSTUB(MoveZoomLensWithPoint                  ,0xffa591fc) //120
 154 NHSTUB(Open                                   ,0xff874b90) //120
 155 NHSTUB(PT_PlaySound                           ,0xff96ab04) //  1
 156 NHSTUB(PostLogicalEventForNotPowerType        ,0xff96efa4) //120
 157 NHSTUB(PostLogicalEventToUI                   ,0xff96f030) //120
 158 NHSTUB(Read                                   ,0xff874bfc) //120
 159 NHSTUB(RefreshPhysicalScreen                  ,0xff985fdc) //120
 160 NHSTUB(RenameFile_Fut                         ,0xff86d850) //  1
 161 NHSTUB(SetAE_ShutterSpeed                     ,0xffa75b1c) //102
 162 NHSTUB(SetAutoShutdownTime                    ,0xff9720b0) //120
 163 NHSTUB(SetLogicalEventActive                  ,0xff970658) //1104
 164 NHSTUB(SetScriptMode                          ,0xff9706bc) //120
 165 NHSTUB(SleepTask                              ,0xff822054) //120
 166 NHSTUB(TakeSemaphore                          ,0xff8219c4) //1101
 167 NHSTUB(TurnOffBackLight                       ,0xff9aeb2c) //  1
 168 NHSTUB(TurnOnBackLight                        ,0xff9aeb00) //  1
 169 NHSTUB(TurnOnDisplay                          ,0xff93bbb8) //120
 170 NHSTUB(TurnOffDisplay                         ,0xff93bbc8) //120
 171 NHSTUB(UnlockAE                               ,0xff9591ac) //120
 172 NHSTUB(UnlockAF                               ,0xff958f70) //120
 173 NHSTUB(UnlockMainPower                        ,0xff97226c) //120
 174 NHSTUB(Write                                  ,0xff874c08) //120
 175 NHSTUB(_log                                   ,0xffaa8120) //121
 176 NHSTUB(_log10                                 ,0xffaa87c8) //121
 177 NHSTUB(_pow                                   ,0xffaa8cb8) //121
 178 NHSTUB(_sqrt                                  ,0xffaad004) //  1
 179 NHSTUB(apex2us                                ,0xff8b85c4) //  1
 180 NHSTUB(close                                  ,0xffabbba0) //109
 181 NHSTUB(exmem_ualloc                           ,0xff812954) //122
 182 NHSTUB(exmem_ufree                            ,0xff8129a0) //122
 183 NHSTUB(get_nd_value                           ,0xffa51918) //120
 184 NHSTUB(get_current_nd_value                   ,0xffa51904) //120
 185 NHSTUB(lseek                                  ,0xffabbce4) //  1
 186 NHSTUB(memcmp                                 ,0xffab5714) //120
 187 NHSTUB(memcpy                                 ,0xffab5750) //120
 188 NHSTUB(memset                                 ,0xffab57c8) //120
 189 NHSTUB(open                                   ,0xffabc1e4) //  1
 190 NHSTUB(closedir                               ,0xffab7b40) //  1
 191 NHSTUB(qsort                                  ,0xffab4f74) //  1
 192 NHSTUB(rand                                   ,0xffab4f98) //  1
 193 NHSTUB(realloc                                ,0xffaa03b0) //115
 194 NHSTUB(srand                                  ,0xffab4fbc) //  1
 195 NHSTUB(stat                                   ,0xffab7c08) //  1
 196 NHSTUB(strcat                                 ,0xffab57e8) //  1
 197 NHSTUB(strchr                                 ,0xffab5814) //  1
 198 NHSTUB(strcmp                                 ,0xffab5838) //120
 199 NHSTUB(strcpy                                 ,0xffab59cc) //120
 200 NHSTUB(strftime                               ,0xffab7054) //  1
 201 NHSTUB(strlen                                 ,0xffab5b30) //120
 202 NHSTUB(strncmp                                ,0xffab5b94) //  1
 203 NHSTUB(strncpy                                ,0xffab5bd8) //  1
 204 NHSTUB(strrchr                                ,0xffab5c5c) //  1
 205 NHSTUB(strtol                                 ,0xffab53b0) //  1
 206 NHSTUB(isdigit                                ,0xffab1ae4) //  1
 207 NHSTUB(isspace                                ,0xffab1b5c) //  1
 208 NHSTUB(isalpha                                ,0xffab1ab4) //  1
 209 NHSTUB(isupper                                ,0xffab1b74) //  1
 210 NHSTUB(islower                                ,0xffab1b14) //  1
 211 NHSTUB(ispunct                                ,0xffab1b44) //  1
 212 NHSTUB(isxdigit                               ,0xffab1b8c) //  1
 213 NHSTUB(toupper                                ,0xffab1bb4) //  1
 214 NHSTUB(tolower                                ,0xffab1ba4) //  1
 215 NHSTUB(taskLock                               ,0xffaca400) //  1
 216 NHSTUB(taskUnlock                             ,0xffaca4a8) //  1
 217 NHSTUB(taskName                               ,0xffac9c3c) //  1
 218 NHSTUB(errnoOfTaskGet                         ,0xffab830c) //  1
 219 NHSTUB(readdir                                ,0xffab7b0c) //  1
 220 NHSTUB(strtoul                                ,0xffab5558) //  1
 221 NHSTUB(strpbrk                                ,0xffab5c20) //  1
 222 NHSTUB(utime                                  ,0xffab7c9c) //  1
 223 NHSTUB(mktime                                 ,0xffab64fc) //  1
 224 NHSTUB(opendir                                ,0xffab7b74) //  1
 225 NHSTUB(memchr                                 ,0xffab56e0) //  1
 226 NHSTUB(memPartInfoGet                         ,0xffabf000) //  1
 227 NHSTUB(iosDrvInstall                          ,0xffabd084) //  1
 228 NHSTUB(iosDevAdd                              ,0xffabcdc0) //  1
 229 NHSTUB(iosDevDelete                           ,0xffabcd98) //  1
 230 NHSTUB(GetCurrentTargetDistance               ,0xffa729b0) //  1
 231 NHSTUB(taskCreateHookAdd                      ,0xffac2260) //  1
 232 NHSTUB(taskDeleteHookAdd                      ,0xffac219c) //  1
 233 NHSTUB(Unmount_FileSystem                     ,0xff873fa0) //  1
 234 NHSTUB(taskSuspend                            ,0xffac9e4c) //  1
 235 NHSTUB(taskResume                             ,0xffaca020) //  1
 236 NHSTUB(time                                   ,0xffab7080) //  1
 237 NHSTUB(vsprintf                               ,0xffab9460) //115
 238 NHSTUB(EngDrvRead                             ,0xff888d5c) //102
 239 NHSTUB(PTM_GetCurrentItem                     ,0xff9743a8) //102
 240 NHSTUB(CancelHPTimer                          ,0xff815a28) //119
 241 NHSTUB(SetHPTimerAfterNow                     ,0xff8155b4) //119
 242 NHSTUB(GetAdChValue                           ,0xff82aaf0) //120

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