root/platform/ixusizoom_sd30/sub/100g/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.00G   // Found @ 0xff81b270, "GM1.00G" @ 0xff81b27d
   6 //   Firmware build timestamp: Sep 26 2005 18:48:25
   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 0xffae7ee0 (  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               ,0xff94a9c0) //  1 64%    *** != 0xff948c84
  21 //NHSTUB(ExitFromCompensationEVF              ,0xff94aac0) //  1 73%    *** != 0xff948c94
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffa7a8b0) //  1 90%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa7ae50) //  3 52%
  24 NHSTUB(GetSystemTime                          ,0xff815094) //  1 96%
  25 NHSTUB(PutInNdFilter                          ,0xffa854cc) //  1 92%
  26 // ALT: NHSTUB(PutInNdFilter, 0xffa87058) // 1 25/2
  27 // ALT: NHSTUB(PutInNdFilter, 0xffa870a0) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffa87058) // 2 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffa870a0) // 2 25/2
  30 NHSTUB(PutOutNdFilter                         ,0xffa85514) //  1 94%
  31 //NHSTUB(Remove                               ,0xff8c26cc) //  3 52%
  32 NHSTUB(UnsetZoomForMovie                      ,0xff995220) //  1 89%
  33 NHSTUB(UpdateMBROnFlash                       ,0xff86fb3c) //  1 96%
  34 NHSTUB(WriteSDCard                            ,0xff87f694) //  1 93%
  35 // ALT: NHSTUB(WriteSDCard, 0xff87f86c) // 1 29/2
  36 NHSTUB(add_ptp_handler                        ,0xffa3990c) //  1 96%
  37 // ERROR: free is not found.                               //--- ---    *** != 0xffad366c
  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                           ,0xff921148) //  1 55%    *** != 0xff828e44
  51 // ALT: NHSTUB(kbd_pwr_on, 0xff921174) // 1 5/4
  52 NHSTUB(malloc                                 ,0xffad3660) //  1 53%
  53 NHSTUB(taskIdListGet                          ,0xffae12a4) //  1 82%
  54 NHSTUB(localtime                              ,0xffacadb4) //  1 93%
  55 NHSTUB(Mount_FileSystem                       ,0xff86f8dc) //  1 90%
  56 NHSTUB(MakeAFScan                             ,0xff94cf90) //  1 89%
  57 
  58 // Check of modemap from 'platform/CAMERA/shooting.c':
  59 // Firmware modemap table found @ff95e37c -> ff95e37c
  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                            ,0xff9575f8) // Found @0xff9575f8
  67 DEF(FlashParamsTable                        ,0xff9604bc) // Found @0xff9604bc
  68 DEF(fileio_semaphore                        ,0x00002840) // Found @0xff86dd00
  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 @0xff8c5994 (0x54cc + 0)
  73 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff961dec
  74 
  75 // Values below go in 'lib.c':
  76 //int get_flash_params_count(void) { return 0x5e; }                          // Found @0xff962c0c
  77 
  78 // Values below go in 'platform_camera.h':
  79 //#define PARAM_CAMERA_NAME 3 // Found @0xff95fd90
  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 @ ff94ed78 (0x6b6c)
 106 //static long *nrflag = (long*)(0x6b6c);       // Found @ ff94ed78
 107 
 108 // Stubs below matched 100%.
 109 //    Name                                     Address                Comp to stubs_entry_2.S
 110 NHSTUB(AllocateUncacheableMemory              ,0xff814d0c) //  1
 111 NHSTUB(Close                                  ,0xff870628) //120
 112 NHSTUB(CreateBinarySemaphore                  ,0xff821cc8) //115
 113 NHSTUB(CreateTask                             ,0xff8228ac) //120
 114 NHSTUB(DebugAssert                            ,0xff813bdc) //1100
 115 NHSTUB(DeleteFile_Fut                         ,0xff86950c) //  1
 116 NHSTUB(DoAELock                               ,0xff948cbc) //120
 117 NHSTUB(DoAFLock                               ,0xff948b74) //120
 118 NHSTUB(ExecuteEventProcedure                  ,0xff816fac) //  1
 119 NHSTUB(ExitTask                               ,0xff822c6c) //120
 120 NHSTUB(Fclose_Fut                             ,0xff86964c) //120
 121 NHSTUB(Feof_Fut                               ,0xff869860) //  1
 122 NHSTUB(Fflush_Fut                             ,0xff869898) //  1
 123 NHSTUB(Fgets_Fut                              ,0xff8697d0) //  1
 124 NHSTUB(Fopen_Fut                              ,0xff869610) //120
 125 NHSTUB(Fread_Fut                              ,0xff869730) //120
 126 NHSTUB(FreeUncacheableMemory                  ,0xff814d40) //  1
 127 NHSTUB(Fseek_Fut                              ,0xff869818) //120
 128 NHSTUB(Fwrite_Fut                             ,0xff869780) //120
 129 NHSTUB(GetBatteryTemperature                  ,0xff82dec8) //102
 130 NHSTUB(GetCCDTemperature                      ,0xff82deb4) //102
 131 NHSTUB(GetCurrentAvValue                      ,0xffa85348) //120
 132 NHSTUB(GetCurrentShutterSpeed                 ,0xffa84fe4) //120
 133 NHSTUB(GetDrive_ClusterSize                   ,0xff86fe04) //119
 134 NHSTUB(GetDrive_FreeClusters                  ,0xff86fe7c) //1103
 135 NHSTUB(GetDrive_TotalClusters                 ,0xff86fe40) //119
 136 NHSTUB(GetOpticalTemperature                  ,0xff82dea0) //120
 137 NHSTUB(GetParameterData                       ,0xff962ba0) //  1
 138 NHSTUB(GetPropertyCase                        ,0xff825bb0) //  1
 139 NHSTUB(GetZoomLensCurrentPoint                ,0xffa6b7cc) //120
 140 NHSTUB(GetZoomLensCurrentPosition             ,0xffa6b7e0) //102
 141 NHSTUB(GiveSemaphore                          ,0xff8222b0) //120
 142 NHSTUB(IsStrobeChargeCompleted                ,0xff8fc68c) //  1
 143 NHSTUB(LEDDrive                               ,0xff82e420) //120
 144 NHSTUB(LocalTime                              ,0xff814264) //115
 145 NHSTUB(LockMainPower                          ,0xff95e0f4) //120
 146 NHSTUB(MakeDirectory_Fut                      ,0xff869598) //  1
 147 NHSTUB(MoveFocusLensToDistance                ,0xffa876e4) //102
 148 NHSTUB(MoveZoomLensWithPoint                  ,0xffa6b6ac) //120
 149 NHSTUB(Open                                   ,0xff870600) //120
 150 NHSTUB(PT_PlaySound                           ,0xff955ab4) //  1
 151 NHSTUB(PostLogicalEventForNotPowerType        ,0xff95a1e8) //120
 152 NHSTUB(PostLogicalEventToUI                   ,0xff95a274) //120
 153 NHSTUB(Read                                   ,0xff8706bc) //120
 154 NHSTUB(RefreshPhysicalScreen                  ,0xff97352c) //120
 155 NHSTUB(RenameFile_Fut                         ,0xff86948c) //  1
 156 NHSTUB(Restart                                ,0xff824140) //  1
 157 NHSTUB(SetAE_ShutterSpeed                     ,0xffa8a798) //102
 158 NHSTUB(SetAutoShutdownTime                    ,0xff95dfec) //120
 159 NHSTUB(SetCurrentCaptureModeType              ,0xff98a540) //120
 160 NHSTUB(SetFileAttributes                      ,0xff870814) //  1
 161 NHSTUB(SetLogicalEventActive                  ,0xff95c1a4) //1104
 162 NHSTUB(SetParameterData                       ,0xff962ac0) //  1
 163 NHSTUB(SetPropertyCase                        ,0xff825a94) //  1
 164 NHSTUB(SetScriptMode                          ,0xff95c208) //120
 165 NHSTUB(SleepTask                              ,0xff82270c) //120
 166 NHSTUB(TakeSemaphore                          ,0xff8220c8) //1101
 167 NHSTUB(TurnOffBackLight                       ,0xff9a013c) //  1
 168 NHSTUB(TurnOnBackLight                        ,0xff9a0110) //  1
 169 NHSTUB(TurnOnDisplay                          ,0xff920ffc) //120
 170 NHSTUB(TurnOffDisplay                         ,0xff92100c) //120
 171 NHSTUB(UnlockAE                               ,0xff948cdc) //120
 172 NHSTUB(UnlockAF                               ,0xff948bb4) //120
 173 NHSTUB(UnlockMainPower                        ,0xff95e1a8) //120
 174 NHSTUB(VbattGet                               ,0xff82cf1c) //120
 175 NHSTUB(Write                                  ,0xff8706c8) //120
 176 NHSTUB(_log                                   ,0xffabcba0) //121
 177 NHSTUB(_log10                                 ,0xffabd248) //121
 178 NHSTUB(_pow                                   ,0xffabd738) //121
 179 NHSTUB(_sqrt                                  ,0xffac1a84) //  1
 180 NHSTUB(apex2us                                ,0xff8aba18) //  1
 181 NHSTUB(close                                  ,0xffad0620) //109
 182 NHSTUB(exmem_alloc                            ,0xff81293c) //122
 183 NHSTUB(exmem_free                             ,0xff812988) //122
 184 NHSTUB(get_nd_value                           ,0xffa73d14) //115
 185 NHSTUB(get_current_nd_value                   ,0xffa73c98) //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                                  ,0xffad0764) //  1
 190 NHSTUB(memcmp                                 ,0xffaca194) //120
 191 NHSTUB(memcpy                                 ,0xffaca1d0) //120
 192 NHSTUB(memset                                 ,0xffaca248) //120
 193 NHSTUB(mkdir                                  ,0xff870844) //  1
 194 NHSTUB(open                                   ,0xffad0c64) //109
 195 NHSTUB(closedir                               ,0xffacc5c0) //  1
 196 NHSTUB(qsort                                  ,0xffac99f4) //  1
 197 NHSTUB(rand                                   ,0xffac9a18) //  1
 198 NHSTUB(realloc                                ,0xffab4cfc) //115
 199 NHSTUB(srand                                  ,0xffac9a3c) //  1
 200 NHSTUB(stat                                   ,0xffacc688) //  1
 201 NHSTUB(strcat                                 ,0xffaca268) //  1
 202 NHSTUB(strchr                                 ,0xffaca294) //  1
 203 NHSTUB(strcmp                                 ,0xffaca2b8) //120
 204 NHSTUB(strcpy                                 ,0xffaca44c) //120
 205 NHSTUB(strftime                               ,0xffacbad4) //  1
 206 NHSTUB(strlen                                 ,0xffaca5b0) //120
 207 NHSTUB(strncmp                                ,0xffaca614) //  1
 208 NHSTUB(strncpy                                ,0xffaca658) //  1
 209 NHSTUB(strrchr                                ,0xffaca6dc) //  1
 210 NHSTUB(strtol                                 ,0xffac9e30) //  1
 211 NHSTUB(isdigit                                ,0xffac6564) //  1
 212 NHSTUB(isspace                                ,0xffac65dc) //  1
 213 NHSTUB(isalpha                                ,0xffac6534) //  1
 214 NHSTUB(isupper                                ,0xffac65f4) //  1
 215 NHSTUB(islower                                ,0xffac6594) //  1
 216 NHSTUB(ispunct                                ,0xffac65c4) //  1
 217 NHSTUB(isxdigit                               ,0xffac660c) //  1
 218 NHSTUB(toupper                                ,0xffac6634) //  1
 219 NHSTUB(tolower                                ,0xffac6624) //  1
 220 NHSTUB(taskLock                               ,0xffae1960) //  1
 221 NHSTUB(taskUnlock                             ,0xffae1a08) //  1
 222 NHSTUB(taskName                               ,0xffae119c) //  1
 223 NHSTUB(errnoOfTaskGet                         ,0xffaccd8c) //  1
 224 NHSTUB(readdir                                ,0xffacc58c) //  1
 225 NHSTUB(strtoul                                ,0xffac9fd8) //  1
 226 NHSTUB(strpbrk                                ,0xffaca6a0) //  1
 227 NHSTUB(utime                                  ,0xffacc71c) //  1
 228 NHSTUB(mktime                                 ,0xffacaf7c) //  1
 229 NHSTUB(opendir                                ,0xffacc5f4) //  1
 230 NHSTUB(memchr                                 ,0xffaca160) //  1
 231 NHSTUB(memPartInfoGet                         ,0xffad3a80) //  1
 232 NHSTUB(iosDrvInstall                          ,0xffad1b04) //  1
 233 NHSTUB(iosDevAdd                              ,0xffad1840) //  1
 234 NHSTUB(iosDevDelete                           ,0xffad1818) //  1
 235 NHSTUB(GetCurrentTargetDistance               ,0xffa87454) //  1
 236 NHSTUB(taskCreateHookAdd                      ,0xffad6ce0) //  1
 237 NHSTUB(taskDeleteHookAdd                      ,0xffad6c1c) //  1
 238 NHSTUB(Unmount_FileSystem                     ,0xff86f9e4) //  1
 239 NHSTUB(taskSuspend                            ,0xffae13ac) //  1
 240 NHSTUB(taskResume                             ,0xffae1580) //  1
 241 NHSTUB(time                                   ,0xffacbb00) //  1
 242 NHSTUB(vsprintf                               ,0xffacdee0) //115
 243 NHSTUB(EngDrvRead                             ,0xff881b1c) //102
 244 NHSTUB(PTM_GetCurrentItem                     ,0xff960ba8) //102
 245 NHSTUB(CancelHPTimer                          ,0xff816094) //119
 246 NHSTUB(SetHPTimerAfterNow                     ,0xff815c20) //119
 247 NHSTUB(MFOn                                   ,0xff949668) //120
 248 NHSTUB(MFOff                                  ,0xff949698) //120
 249 NHSTUB(GetAdChValue                           ,0xff82a680) //120
 250 NHSTUB(get_ptp_buf_size                       ,0xffa2add4) //122
 251 NHSTUB(get_ptp_file_buf                       ,0xffa4aab4) //121

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