root/platform/ixus700_sd500/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 Version GM1.01A   // Found @ 0xff81a454, "GM1.01A" @ 0xff81a465
   6 //   Firmware build timestamp: Mar 10 2005 15:46:48
   7 //   Canon DIGITAL IXUS 700
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12530# (0x30f2) Found @ 0xffd70130
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x0007c2b0
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000ec40 copied from 0xfface9c0 (  54080 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.             //--- ---    *** != 0x00000000
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff951a88) //  1 66%    *** != 0x00000000
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff951abc) // 1 20/10
  24 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff951af0) // 1 20/10
  25 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff951b24) // 1 20/10
  26 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff951b58) // 1 20/10
  27 //NHSTUB(GetCurrentAvValue                    ,0xffa6f23c) //120        *** != 0xffa4f304
  28 //NHSTUB(GetFocusLensSubjectDistance          ,0xffa55f3c) //  1 51%    *** != 0xffa64c48
  29 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa651c8) //  2 88%
  30 NHSTUB(GetParameterData                       ,0xff96b7c4) //  1 86%
  31 //NHSTUB(GetPropertyCase                      ,0xff825ca0) //  2 71%    *** != 0xff825ca4
  32 NHSTUB(GetSystemTime                          ,0xff814248) //  1 96%
  33 //NHSTUB(PT_PlaySound                         ,0xff960948) //  1        *** != 0xff960080
  34 NHSTUB(PutInNdFilter                          ,0xffa6f3c4) //  1 92%
  35 // ALT: NHSTUB(PutInNdFilter, 0xffa70ef8) // 1 25/2
  36 // ALT: NHSTUB(PutInNdFilter, 0xffa70f40) // 1 25/2
  37 // ALT: NHSTUB(PutInNdFilter, 0xffa70ef8) // 2 25/2
  38 // ALT: NHSTUB(PutInNdFilter, 0xffa70f40) // 2 25/2
  39 NHSTUB(PutOutNdFilter                         ,0xffa6f40c) //  1 94%
  40 //NHSTUB(Remove                               ,0xff8c70c4) //  3 52%    *** != 0xff86a950
  41 //NHSTUB(Restart                              ,0xff82339c) //  1 84%    *** != 0xff8233a0
  42 NHSTUB(SetCurrentCaptureModeType              ,0xff98fe2c) //  1 73%
  43 NHSTUB(SetFileAttributes                      ,0xff86aa9c) //  1 58%
  44 NHSTUB(SetParameterData                       ,0xff96b6e4) //  1 86%
  45 // ERROR: SetPropertyCase is not found.                    //--- ---    *** != 0xff825b9c
  46 NHSTUB(UpdateMBROnFlash                       ,0xff869e8c) //  1 96%
  47 // ERROR: VbattGet is not found.                           //--- ---    *** != 0xffa60a4c
  48 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0xff87cacc
  49 NHSTUB(add_ptp_handler                        ,0xffa1918c) //  1 96%
  50 // ERROR: free is not found.                               //--- ---    *** != 0xffabcc28
  51 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0x00000000
  52 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff828fec
  53 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0x00000000
  54 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0x00000000
  55 //NHSTUB(kbd_pwr_off                          ,0xffa478fc) //  1 83%    *** != 0xffa476ac
  56 // ALT: NHSTUB(kbd_pwr_off, 0xffa47918) // 1 5/1
  57 // ALT: NHSTUB(kbd_pwr_off, 0xffa476ac) // 3 5/1
  58 // ALT: NHSTUB(kbd_pwr_off, 0xffa476c8) // 3 5/1
  59 // ALT: NHSTUB(kbd_pwr_off, 0xffa47798) // 3 5/1
  60 // ALT: NHSTUB(kbd_pwr_off, 0xffa477b4) // 3 5/1
  61 NHSTUB(kbd_pwr_on                             ,0xffa5c468) //  1 55%
  62 // ALT: NHSTUB(kbd_pwr_on, 0xffa5c494) // 1 5/4
  63 NHSTUB(malloc                                 ,0xffabcc1c) //  1 53%
  64 NHSTUB(mkdir                                  ,0xff86aacc) //  1 61%
  65 // ALT: NHSTUB(mkdir, 0xff86ab8c) // 1 19/12
  66 NHSTUB(taskIdListGet                          ,0xffac7d80) //  1 82%
  67 NHSTUB(localtime                              ,0xffab4370) //  1 93%
  68 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff869cd4
  69 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0xff94ef7c
  70 
  71 // Check of modemap from 'platform/CAMERA/shooting.c':
  72 // Firmware modemap table found @ff967c0c -> ff967c0c
  73 // No problems found with modemap table.
  74 
  75 // Values below can be overridden in 'stubs_min.S':
  76 DEF(levent_table                            ,0xff962594) // Found @0xff962594
  77 DEF(FlashParamsTable                        ,0xff969790) // Found @0xff969790
  78 DEF(fileio_semaphore                        ,0x00002cd0) // Found @0xff868104
  79 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812158
  80 DEF(exmem_types_table                       ,0xff811ec4) // Found @0xff811ec4
  81 DEF_CONST(exmem_type_count                  ,0x0000000c)
  82 DEF(imager_active                           ,0x000032d4) // Found @0xff8cb88c (0x32d4 + 0)
  83 DEF_CONST(uiprop_count                      ,0x00000041) // Found @0xff96b080
  84 
  85 // Values below go in 'lib.c':
  86 //int get_flash_params_count(void) { return 0x53; }                          // Found @0xff96b830
  87 
  88 // Values below go in 'platform_camera.h':
  89 //#define PARAM_CAMERA_NAME 2 // Found @0xff969130
  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 @ 0xffa688dc
 108 // LED #1: 0xc02200d8, offset 0x4
 109 // LED #2: 0xc02200dc, offset 0x44
 110 // LED #3: 0xc02200e0, offset 0x84
 111 // LED #4: 0xc02200e8, offset 0xc4
 112 // LED #5: 0xc02200e4, offset 0x204
 113 // LED #6: 0xc02200ec, offset 0x244
 114 
 115 
 116 // For capt_seq.c
 117 DEF(_nrflag,0x53ec) // Found @ ff955444 (0x53ec)
 118 //static long *nrflag = (long*)(0x53ec);       // Found @ ff955444
 119 
 120 // Stubs below matched 100%.
 121 //    Name                                     Address                Comp to stubs_entry_2.S
 122 NHSTUB(AllocateUncacheableMemory              ,0xff813ec0) //  1
 123 NHSTUB(Close                                  ,0xff86a944) //120
 124 NHSTUB(CreateBinarySemaphore                  ,0xff820de0) //115
 125 NHSTUB(CreateTask                             ,0xff821a10) //120
 126 NHSTUB(DebugAssert                            ,0xff813e68) //1100
 127 NHSTUB(DeleteFile_Fut                         ,0xff8635f0) //  1
 128 NHSTUB(DoAELock                               ,0xff94f1dc) //120
 129 NHSTUB(DoAFLock                               ,0xff94ef7c) //120
 130 NHSTUB(ExecuteEventProcedure                  ,0xff816164) //  1
 131 NHSTUB(ExitTask                               ,0xff821dd0) //120
 132 NHSTUB(Fclose_Fut                             ,0xff863730) //  1
 133 NHSTUB(Feof_Fut                               ,0xff863944) //  1
 134 NHSTUB(Fflush_Fut                             ,0xff86397c) //  1
 135 NHSTUB(Fgets_Fut                              ,0xff8638b4) //  1
 136 NHSTUB(Fopen_Fut                              ,0xff8636f4) //  1
 137 NHSTUB(Fread_Fut                              ,0xff863814) //  1
 138 NHSTUB(FreeUncacheableMemory                  ,0xff813ef4) //  1
 139 NHSTUB(Fseek_Fut                              ,0xff8638fc) //  1
 140 NHSTUB(Fwrite_Fut                             ,0xff863864) //  1
 141 NHSTUB(GetBatteryTemperature                  ,0xffa4da28) //102
 142 NHSTUB(GetCCDTemperature                      ,0xffa4da14) //102
 143 NHSTUB(GetCurrentShutterSpeed                 ,0xffa6ef88) //120
 144 NHSTUB(GetDrive_ClusterSize                   ,0xff86a150) //119
 145 NHSTUB(GetDrive_FreeClusters                  ,0xff86a1c8) //1103
 146 NHSTUB(GetDrive_TotalClusters                 ,0xff86a18c) //119
 147 NHSTUB(GetOpticalTemperature                  ,0xffa4da00) //120
 148 NHSTUB(GetZoomLensCurrentPoint                ,0xffa56f6c) //120
 149 NHSTUB(GetZoomLensCurrentPosition             ,0xffa56f80) //102
 150 NHSTUB(GiveSemaphore                          ,0xff8213c8) //120
 151 NHSTUB(IsStrobeChargeCompleted                ,0xff9086f0) //  1
 152 NHSTUB(LEDDrive                               ,0xffa684cc) //120
 153 NHSTUB(LocalTime                              ,0xff813e2c) //115
 154 NHSTUB(LockMainPower                          ,0xff967984) //120
 155 NHSTUB(MakeDirectory_Fut                      ,0xff86367c) //  1
 156 NHSTUB(MoveFocusLensToDistance                ,0xffa71588) //102
 157 NHSTUB(MoveZoomLensWithPoint                  ,0xffa56de8) //120
 158 NHSTUB(Open                                   ,0xff86a938) //120
 159 NHSTUB(PostLogicalEventForNotPowerType        ,0xff964d10) //120
 160 NHSTUB(PostLogicalEventToUI                   ,0xff964d9c) //120
 161 NHSTUB(Read                                   ,0xff86a9a4) //120
 162 NHSTUB(RefreshPhysicalScreen                  ,0xff97b578) //120
 163 NHSTUB(RenameFile_Fut                         ,0xff863570) //  1
 164 NHSTUB(SetAE_ShutterSpeed                     ,0xffa738ec) //102
 165 NHSTUB(SetAutoShutdownTime                    ,0xff96787c) //120
 166 NHSTUB(SetLogicalEventActive                  ,0xff96622c) //1104
 167 NHSTUB(SetScriptMode                          ,0xff966290) //120
 168 NHSTUB(SleepTask                              ,0xff821870) //120
 169 NHSTUB(TakeSemaphore                          ,0xff8211e0) //1101
 170 NHSTUB(TurnOffBackLight                       ,0xff9a3614) //  1
 171 NHSTUB(TurnOnBackLight                        ,0xff9a35e8) //  1
 172 NHSTUB(TurnOnDisplay                          ,0xff931c1c) //120
 173 NHSTUB(TurnOffDisplay                         ,0xff931c2c) //120
 174 NHSTUB(UnlockAE                               ,0xff94f230) //120
 175 NHSTUB(UnlockAF                               ,0xff94eff4) //120
 176 NHSTUB(UnlockMainPower                        ,0xff967a38) //120
 177 NHSTUB(Write                                  ,0xff86a9b0) //120
 178 NHSTUB(_log                                   ,0xffaa615c) //121
 179 NHSTUB(_log10                                 ,0xffaa6804) //121
 180 NHSTUB(_pow                                   ,0xffaa6cf4) //121
 181 NHSTUB(_sqrt                                  ,0xffaab040) //  1
 182 NHSTUB(apex2us                                ,0xff8adbe8) //  1
 183 NHSTUB(close                                  ,0xffab9bdc) //109
 184 NHSTUB(exmem_ualloc                           ,0xff812954) //122
 185 NHSTUB(exmem_ufree                            ,0xff8129a0) //122
 186 NHSTUB(get_nd_value                           ,0xffa4f590) //120
 187 NHSTUB(get_current_nd_value                   ,0xffa4f57c) //120
 188 NHSTUB(lseek                                  ,0xffab9d20) //  1
 189 NHSTUB(memcmp                                 ,0xffab3750) //120
 190 NHSTUB(memcpy                                 ,0xffab378c) //120
 191 NHSTUB(memset                                 ,0xffab3804) //120
 192 NHSTUB(open                                   ,0xffaba220) //  1
 193 NHSTUB(closedir                               ,0xffab5b7c) //  1
 194 NHSTUB(qsort                                  ,0xffab2fb0) //  1
 195 NHSTUB(rand                                   ,0xffab2fd4) //  1
 196 NHSTUB(realloc                                ,0xffa9d75c) //115
 197 NHSTUB(srand                                  ,0xffab2ff8) //  1
 198 NHSTUB(stat                                   ,0xffab5c44) //  1
 199 NHSTUB(strcat                                 ,0xffab3824) //  1
 200 NHSTUB(strchr                                 ,0xffab3850) //  1
 201 NHSTUB(strcmp                                 ,0xffab3874) //120
 202 NHSTUB(strcpy                                 ,0xffab3a08) //120
 203 NHSTUB(strftime                               ,0xffab5090) //  1
 204 NHSTUB(strlen                                 ,0xffab3b6c) //120
 205 NHSTUB(strncmp                                ,0xffab3bd0) //  1
 206 NHSTUB(strncpy                                ,0xffab3c14) //  1
 207 NHSTUB(strrchr                                ,0xffab3c98) //  1
 208 NHSTUB(strtol                                 ,0xffab33ec) //  1
 209 NHSTUB(isdigit                                ,0xffaafb20) //  1
 210 NHSTUB(isspace                                ,0xffaafb98) //  1
 211 NHSTUB(isalpha                                ,0xffaafaf0) //  1
 212 NHSTUB(isupper                                ,0xffaafbb0) //  1
 213 NHSTUB(islower                                ,0xffaafb50) //  1
 214 NHSTUB(ispunct                                ,0xffaafb80) //  1
 215 NHSTUB(isxdigit                               ,0xffaafbc8) //  1
 216 NHSTUB(toupper                                ,0xffaafbf0) //  1
 217 NHSTUB(tolower                                ,0xffaafbe0) //  1
 218 NHSTUB(taskLock                               ,0xffac843c) //  1
 219 NHSTUB(taskUnlock                             ,0xffac84e4) //  1
 220 NHSTUB(taskName                               ,0xffac7c78) //  1
 221 NHSTUB(errnoOfTaskGet                         ,0xffab6348) //  1
 222 NHSTUB(readdir                                ,0xffab5b48) //  1
 223 NHSTUB(strtoul                                ,0xffab3594) //  1
 224 NHSTUB(strpbrk                                ,0xffab3c5c) //  1
 225 NHSTUB(utime                                  ,0xffab5cd8) //  1
 226 NHSTUB(mktime                                 ,0xffab4538) //  1
 227 NHSTUB(opendir                                ,0xffab5bb0) //  1
 228 NHSTUB(memchr                                 ,0xffab371c) //  1
 229 NHSTUB(memPartInfoGet                         ,0xffabd03c) //  1
 230 NHSTUB(iosDrvInstall                          ,0xffabb0c0) //  1
 231 NHSTUB(iosDevAdd                              ,0xffabadfc) //  1
 232 NHSTUB(iosDevDelete                           ,0xffabadd4) //  1
 233 NHSTUB(GetCurrentTargetDistance               ,0xffa712f8) //  1
 234 NHSTUB(taskCreateHookAdd                      ,0xffac029c) //  1
 235 NHSTUB(taskDeleteHookAdd                      ,0xffac01d8) //  1
 236 NHSTUB(Unmount_FileSystem                     ,0xff869d34) //  1
 237 NHSTUB(taskSuspend                            ,0xffac7e88) //  1
 238 NHSTUB(taskResume                             ,0xffac805c) //  1
 239 NHSTUB(time                                   ,0xffab50bc) //  1
 240 NHSTUB(vsprintf                               ,0xffab749c) //115
 241 NHSTUB(EngDrvRead                             ,0xff87ee58) //102
 242 NHSTUB(PTM_GetCurrentItem                     ,0xff969d30) //102
 243 NHSTUB(CancelHPTimer                          ,0xff815248) //119
 244 NHSTUB(SetHPTimerAfterNow                     ,0xff814dd4) //119
 245 NHSTUB(GetAdChValue                           ,0xffa48074) //120

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