root/platform/ixusizoom_sd30/sub/100h/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.00H   // Found @ 0xff81b270, "GM1.00H" @ 0xff81b27d
   6 //   Firmware build timestamp: Dec 19 2005 19:54:19
   7 //   Canon DIGITAL IXUS i zoom
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12532 (0x30f4) // Found @ 0xffd70130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x000a85f0
  13 
  14 // Detected address ranges:
  15 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  16 // RAM data 0x00001900 - 0x000100d0 copied from 0xffae8270 (  59344 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 //NHSTUB(EnterToCompensationEVF               ,0xff94ad48) //  1 64%        == 0xff94ad48
  21 //NHSTUB(ExitFromCompensationEVF              ,0xff94ae48) //  1 73%    *** != 0xff94ada8
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffa7ac38) //  1 90%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa7b1d8) //  3 52%
  24 NHSTUB(GetSystemTime                          ,0xff815094) //  1 96%
  25 NHSTUB(PutInNdFilter                          ,0xffa85854) //  1 92%
  26 // ALT: NHSTUB(PutInNdFilter, 0xffa873e0) // 1 25/2
  27 // ALT: NHSTUB(PutInNdFilter, 0xffa87428) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffa873e0) // 2 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffa87428) // 2 25/2
  30 NHSTUB(PutOutNdFilter                         ,0xffa8589c) //  1 94%
  31 //NHSTUB(Remove                               ,0xff8c2a54) //  3 52%
  32 NHSTUB(UnsetZoomForMovie                      ,0xff9955a8) //  1 89%
  33 NHSTUB(UpdateMBROnFlash                       ,0xff86fec4) //  1 96%
  34 NHSTUB(WriteSDCard                            ,0xff87fa1c) //  1 93%
  35 // ALT: NHSTUB(WriteSDCard, 0xff87fbf4) // 1 29/2
  36 NHSTUB(add_ptp_handler                        ,0xffa39c94) //  1 96%
  37 // ERROR: free is not found.                               //--- ---    *** != 0xffad39f4
  38 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff828950
  39 //NHSTUB(kbd_pwr_off                          ,0xff828f30) //  1 83%    *** != 0xff828e84
  40 // ALT: NHSTUB(kbd_pwr_off, 0xff828f4c) // 1 5/1
  41 // ALT: NHSTUB(kbd_pwr_off, 0xff829f24) // 1 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xff829f40) // 1 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xff828f4c) // 3 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xff829bcc) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xff829be8) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff829cd4) // 3 5/1
  47 // ALT: NHSTUB(kbd_pwr_off, 0xff829cf0) // 3 5/1
  48 // ALT: NHSTUB(kbd_pwr_off, 0xff829dc0) // 3 5/1
  49 // ALT: NHSTUB(kbd_pwr_off, 0xff829ddc) // 3 5/1
  50 //NHSTUB(kbd_pwr_on                           ,0xff9214d0) //  1 55%    *** != 0xff828e44
  51 // ALT: NHSTUB(kbd_pwr_on, 0xff9214fc) // 1 5/4
  52 NHSTUB(malloc                                 ,0xffad39e8) //  1 53%
  53 NHSTUB(taskIdListGet                          ,0xffae162c) //  1 82%
  54 NHSTUB(localtime                              ,0xffacb13c) //  1 93%
  55 NHSTUB(Mount_FileSystem                       ,0xff86fc64) //  1 90%
  56 NHSTUB(MakeAFScan                             ,0xff94d318) //  1 89%
  57 
  58 // Check of modemap from 'platform/CAMERA/shooting.c':
  59 // Firmware modemap table found @ff95e704 -> ff95e704
  60 // Mode 0 in firmware but not in current modemap
  61 // Strange mode 0x00010010 in firmware, found in modemap as 16 (MODE_VIDEO_STD)
  62 // Strange mode 0x00010011 in firmware but not in current modemap
  63 // Strange mode 0x00010012 in firmware but not in current modemap
  64 
  65 // Values below can be overridden in 'stubs_min.S':
  66 DEF(levent_table                            ,0xff957980) // Found @0xff957980
  67 DEF(FlashParamsTable                        ,0xff960844) // Found @0xff960844
  68 DEF(fileio_semaphore                        ,0x00002840) // Found @0xff86e088
  69 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812140
  70 DEF(exmem_types_table                       ,0xff811eac) // Found @0xff811eac
  71 DEF_CONST(exmem_type_count                  ,0x0000000c)
  72 DEF(imager_active                           ,0x000054cc) // Found @0xff8c5d1c (0x54cc + 0)
  73 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff962174
  74 
  75 // Values below go in 'lib.c':
  76 //int get_flash_params_count(void) { return 0x5e; }                          // Found @0xff962f94
  77 
  78 // Values below go in 'platform_camera.h':
  79 //#define PARAM_CAMERA_NAME 3 // Found @0xff960118
  80 
  81 // Misc stuff
  82 
  83 // EXMEM types:
  84 // EXMEM_RAMDISK   0
  85 // EXMEM_COM       1
  86 // EXMEM_FORMATTER 2
  87 // EXMEM_SHADING   3
  88 // EXMEM_FAMODE    4
  89 // EXMEM_FIRMUP    5
  90 // EXMEM_FILESTORE 6
  91 // EXMEM_MOVIE_REC 7
  92 // EXMEM_MOVIE_PLY 8
  93 // EXMEM_WIDE      9
  94 // EXMEM_NARROW    10
  95 // EXMEM_PCEVF     11
  96 
  97 // LED table init @ 0xff82e8c0
  98 // LED #1: 0xc022008c, offset 0x4
  99 // LED #2: 0xc0220088, offset 0x44
 100 // LED #3: 0xc0220084, offset 0x204
 101 // LED #4: 0xc0220080, offset 0x244
 102 
 103 
 104 // For capt_seq.c
 105 DEF(_nrflag,0x6b6c) // Found @ ff94f100 (0x6b6c)
 106 //static long *nrflag = (long*)(0x6b6c);       // Found @ ff94f100
 107 
 108 // Stubs below matched 100%.
 109 //    Name                                     Address                Comp to stubs_entry_2.S
 110 NHSTUB(AllocateUncacheableMemory              ,0xff814d0c) //  1
 111 NHSTUB(Close                                  ,0xff8709b0) //120
 112 NHSTUB(CreateBinarySemaphore                  ,0xff821cc8) //115
 113 NHSTUB(CreateTask                             ,0xff8228ac) //120
 114 NHSTUB(DebugAssert                            ,0xff813bdc) //1100
 115 NHSTUB(DeleteFile_Fut                         ,0xff869894) //  1
 116 NHSTUB(DoAELock                               ,0xff949044) //120
 117 NHSTUB(DoAFLock                               ,0xff948efc) //120
 118 NHSTUB(ExecuteEventProcedure                  ,0xff816fac) //  1
 119 NHSTUB(ExitTask                               ,0xff822c6c) //120
 120 NHSTUB(Fclose_Fut                             ,0xff8699d4) //120
 121 NHSTUB(Feof_Fut                               ,0xff869be8) //  1
 122 NHSTUB(Fflush_Fut                             ,0xff869c20) //  1
 123 NHSTUB(Fgets_Fut                              ,0xff869b58) //  1
 124 NHSTUB(Fopen_Fut                              ,0xff869998) //120
 125 NHSTUB(Fread_Fut                              ,0xff869ab8) //120
 126 NHSTUB(FreeUncacheableMemory                  ,0xff814d40) //  1
 127 NHSTUB(Fseek_Fut                              ,0xff869ba0) //120
 128 NHSTUB(Fwrite_Fut                             ,0xff869b08) //120
 129 NHSTUB(GetBatteryTemperature                  ,0xff82dec8) //102
 130 NHSTUB(GetCCDTemperature                      ,0xff82deb4) //102
 131 NHSTUB(GetCurrentAvValue                      ,0xffa856d0) //120
 132 NHSTUB(GetCurrentShutterSpeed                 ,0xffa8536c) //120
 133 NHSTUB(GetDrive_ClusterSize                   ,0xff87018c) //119
 134 NHSTUB(GetDrive_FreeClusters                  ,0xff870204) //1103
 135 NHSTUB(GetDrive_TotalClusters                 ,0xff8701c8) //119
 136 NHSTUB(GetOpticalTemperature                  ,0xff82dea0) //120
 137 NHSTUB(GetParameterData                       ,0xff962f28) //  1
 138 NHSTUB(GetPropertyCase                        ,0xff825bb0) //  1
 139 NHSTUB(GetZoomLensCurrentPoint                ,0xffa6bb54) //120
 140 NHSTUB(GetZoomLensCurrentPosition             ,0xffa6bb68) //102
 141 NHSTUB(GiveSemaphore                          ,0xff8222b0) //120
 142 NHSTUB(IsStrobeChargeCompleted                ,0xff8fca14) //  1
 143 NHSTUB(LEDDrive                               ,0xff82e420) //120
 144 NHSTUB(LocalTime                              ,0xff814264) //115
 145 NHSTUB(LockMainPower                          ,0xff95e47c) //120
 146 NHSTUB(MakeDirectory_Fut                      ,0xff869920) //  1
 147 NHSTUB(MoveFocusLensToDistance                ,0xffa87a6c) //102
 148 NHSTUB(MoveZoomLensWithPoint                  ,0xffa6ba34) //120
 149 NHSTUB(Open                                   ,0xff870988) //120
 150 NHSTUB(PT_PlaySound                           ,0xff955e3c) //  1
 151 NHSTUB(PostLogicalEventForNotPowerType        ,0xff95a570) //120
 152 NHSTUB(PostLogicalEventToUI                   ,0xff95a5fc) //120
 153 NHSTUB(Read                                   ,0xff870a44) //120
 154 NHSTUB(RefreshPhysicalScreen                  ,0xff9738b4) //120
 155 NHSTUB(RenameFile_Fut                         ,0xff869814) //  1
 156 NHSTUB(Restart                                ,0xff824140) //  1
 157 NHSTUB(SetAE_ShutterSpeed                     ,0xffa8ab20) //102
 158 NHSTUB(SetAutoShutdownTime                    ,0xff95e374) //120
 159 NHSTUB(SetCurrentCaptureModeType              ,0xff98a8c8) //120
 160 NHSTUB(SetFileAttributes                      ,0xff870b9c) //  1
 161 NHSTUB(SetLogicalEventActive                  ,0xff95c52c) //1104
 162 NHSTUB(SetParameterData                       ,0xff962e48) //  1
 163 NHSTUB(SetPropertyCase                        ,0xff825a94) //  1
 164 NHSTUB(SetScriptMode                          ,0xff95c590) //120
 165 NHSTUB(SleepTask                              ,0xff82270c) //120
 166 NHSTUB(TakeSemaphore                          ,0xff8220c8) //1101
 167 NHSTUB(TurnOffBackLight                       ,0xff9a04c4) //  1
 168 NHSTUB(TurnOnBackLight                        ,0xff9a0498) //  1
 169 NHSTUB(TurnOnDisplay                          ,0xff921384) //120
 170 NHSTUB(TurnOffDisplay                         ,0xff921394) //120
 171 NHSTUB(UnlockAE                               ,0xff949064) //120
 172 NHSTUB(UnlockAF                               ,0xff948f3c) //120
 173 NHSTUB(UnlockMainPower                        ,0xff95e530) //120
 174 NHSTUB(VbattGet                               ,0xff82cf1c) //120
 175 NHSTUB(Write                                  ,0xff870a50) //120
 176 NHSTUB(_log                                   ,0xffabcf28) //121
 177 NHSTUB(_log10                                 ,0xffabd5d0) //121
 178 NHSTUB(_pow                                   ,0xffabdac0) //121
 179 NHSTUB(_sqrt                                  ,0xffac1e0c) //  1
 180 NHSTUB(apex2us                                ,0xff8abda0) //  1
 181 NHSTUB(close                                  ,0xffad09a8) //109
 182 NHSTUB(exmem_alloc                            ,0xff81293c) //122
 183 NHSTUB(exmem_free                             ,0xff812988) //122
 184 NHSTUB(get_nd_value                           ,0xffa7409c) //115
 185 NHSTUB(get_current_nd_value                   ,0xffa74020) //122
 186 NHSTUB(kbd_p1_f                               ,0xff827bec) //  1
 187 NHSTUB(kbd_p1_f_cont                          ,0xff827bf8) //109
 188 NHSTUB(kbd_p2_f                               ,0xff827fd0) //  1
 189 NHSTUB(lseek                                  ,0xffad0aec) //  1
 190 NHSTUB(memcmp                                 ,0xffaca51c) //120
 191 NHSTUB(memcpy                                 ,0xffaca558) //120
 192 NHSTUB(memset                                 ,0xffaca5d0) //120
 193 NHSTUB(mkdir                                  ,0xff870bcc) //  1
 194 NHSTUB(open                                   ,0xffad0fec) //109
 195 NHSTUB(closedir                               ,0xffacc948) //  1
 196 NHSTUB(qsort                                  ,0xffac9d7c) //  1
 197 NHSTUB(rand                                   ,0xffac9da0) //  1
 198 NHSTUB(realloc                                ,0xffab5084) //115
 199 NHSTUB(srand                                  ,0xffac9dc4) //  1
 200 NHSTUB(stat                                   ,0xffacca10) //  1
 201 NHSTUB(strcat                                 ,0xffaca5f0) //  1
 202 NHSTUB(strchr                                 ,0xffaca61c) //  1
 203 NHSTUB(strcmp                                 ,0xffaca640) //120
 204 NHSTUB(strcpy                                 ,0xffaca7d4) //120
 205 NHSTUB(strftime                               ,0xffacbe5c) //  1
 206 NHSTUB(strlen                                 ,0xffaca938) //120
 207 NHSTUB(strncmp                                ,0xffaca99c) //  1
 208 NHSTUB(strncpy                                ,0xffaca9e0) //  1
 209 NHSTUB(strrchr                                ,0xffacaa64) //  1
 210 NHSTUB(strtol                                 ,0xffaca1b8) //  1
 211 NHSTUB(isdigit                                ,0xffac68ec) //  1
 212 NHSTUB(isspace                                ,0xffac6964) //  1
 213 NHSTUB(isalpha                                ,0xffac68bc) //  1
 214 NHSTUB(isupper                                ,0xffac697c) //  1
 215 NHSTUB(islower                                ,0xffac691c) //  1
 216 NHSTUB(ispunct                                ,0xffac694c) //  1
 217 NHSTUB(isxdigit                               ,0xffac6994) //  1
 218 NHSTUB(toupper                                ,0xffac69bc) //  1
 219 NHSTUB(tolower                                ,0xffac69ac) //  1
 220 NHSTUB(taskLock                               ,0xffae1ce8) //  1
 221 NHSTUB(taskUnlock                             ,0xffae1d90) //  1
 222 NHSTUB(taskName                               ,0xffae1524) //  1
 223 NHSTUB(errnoOfTaskGet                         ,0xffacd114) //  1
 224 NHSTUB(readdir                                ,0xffacc914) //  1
 225 NHSTUB(strtoul                                ,0xffaca360) //  1
 226 NHSTUB(strpbrk                                ,0xffacaa28) //  1
 227 NHSTUB(utime                                  ,0xffaccaa4) //  1
 228 NHSTUB(mktime                                 ,0xffacb304) //  1
 229 NHSTUB(opendir                                ,0xffacc97c) //  1
 230 NHSTUB(memchr                                 ,0xffaca4e8) //  1
 231 NHSTUB(memPartInfoGet                         ,0xffad3e08) //  1
 232 NHSTUB(iosDrvInstall                          ,0xffad1e8c) //  1
 233 NHSTUB(iosDevAdd                              ,0xffad1bc8) //  1
 234 NHSTUB(iosDevDelete                           ,0xffad1ba0) //  1
 235 NHSTUB(GetCurrentTargetDistance               ,0xffa877dc) //  1
 236 NHSTUB(taskCreateHookAdd                      ,0xffad7068) //  1
 237 NHSTUB(taskDeleteHookAdd                      ,0xffad6fa4) //  1
 238 NHSTUB(Unmount_FileSystem                     ,0xff86fd6c) //  1
 239 NHSTUB(taskSuspend                            ,0xffae1734) //  1
 240 NHSTUB(taskResume                             ,0xffae1908) //  1
 241 NHSTUB(time                                   ,0xffacbe88) //  1
 242 NHSTUB(vsprintf                               ,0xfface268) //115
 243 NHSTUB(EngDrvRead                             ,0xff881ea4) //102
 244 NHSTUB(PTM_GetCurrentItem                     ,0xff960f30) //102
 245 NHSTUB(CancelHPTimer                          ,0xff816094) //119
 246 NHSTUB(SetHPTimerAfterNow                     ,0xff815c20) //119
 247 NHSTUB(MFOn                                   ,0xff9499f0) //120
 248 NHSTUB(MFOff                                  ,0xff949a20) //120
 249 NHSTUB(GetAdChValue                           ,0xff82a680) //120
 250 NHSTUB(get_ptp_buf_size                       ,0xffa2b15c) //122
 251 NHSTUB(get_ptp_file_buf                       ,0xffa4ae3c) //121

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