root/platform/ixus900_sd900/sub/100c/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.00C   // Found @ 0xff81a738, "GM1.00C" @ 0xff81a745
   6 //   Firmware build timestamp: Jul 24 2006 18:57:34
   7 //   Canon DIGITAL IXUS 900Ti
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12565 (0x3115) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x03ffffff
  12 //   MEMISOSTART = 0x000a4d10
  13 
  14 // Detected address ranges:
  15 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  16 // RAM data 0x00001900 - 0x0000e500 copied from 0xffb6da40 (  52224 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                 ,0xff98f004) //  2 90%
  21 //NHSTUB(ExitFromCompensationEVF              ,0xff992894) //  2 66%    *** != 0xff98f044
  22 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff9928f0) // 2 20/10
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff9929ac) // 2 20/10
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffb01594) //  2 96%
  25 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffb01b48) //  2 57%
  26 NHSTUB(GetPropertyCase                        ,0xff8258c8) //  2 92%
  27 NHSTUB(GetSystemTime                          ,0xff8150d8) //  1 96%
  28 NHSTUB(PutInNdFilter                          ,0xffb0d140) //  1 92%
  29 NHSTUB(PutOutNdFilter                         ,0xffb0d188) //  1 94%
  30 //NHSTUB(Remove                               ,0xff8e53d4) //  3 52%
  31 NHSTUB(Restart                                ,0xff823ab4) //  1 96%
  32 NHSTUB(UnsetZoomForMovie                      ,0xff9e59f8) //  1 89%
  33 //NHSTUB(WriteSDCard                          ,0xff88a708) //  2 93%    *** != 0xff88a8a4
  34 NHSTUB(add_ptp_handler                        ,0xffabc9c4) //  1 96%
  35 // ERROR: free is not found.                               //--- ---    *** != 0xffb5abc8
  36 //NHSTUB(kbd_pwr_off                          ,0xff829280) //  1 83%    *** != 0xff829238
  37 // ALT: NHSTUB(kbd_pwr_off, 0xff82929c) // 1 5/1
  38 // ALT: NHSTUB(kbd_pwr_off, 0xff82b484) // 1 5/1
  39 // ALT: NHSTUB(kbd_pwr_off, 0xff82b4a0) // 1 5/1
  40 // ALT: NHSTUB(kbd_pwr_off, 0xff82929c) // 3 5/1
  41 //NHSTUB(kbd_pwr_on                           ,0xff95b7c4) //  1 55%    *** != 0xff8291f8
  42 // ALT: NHSTUB(kbd_pwr_on, 0xff95b7f0) // 1 5/4
  43 NHSTUB(malloc                                 ,0xffb5abbc) //  1 53%
  44 NHSTUB(taskIdListGet                          ,0xffb677e4) //  1 82%
  45 NHSTUB(localtime                              ,0xffb537f8) //  1 93%
  46 NHSTUB(Mount_FileSystem                       ,0xff87a8ac) //  1 90%
  47 NHSTUB(MakeAFScan                             ,0xff993be4) //  2 96%
  48 
  49 // Check of modemap from 'platform/CAMERA/shooting.c':
  50 // Firmware modemap table found @ff9a8a74 -> ff9a8a74
  51 // No problems found with modemap table.
  52 
  53 // Values below can be overridden in 'stubs_min.S':
  54 //DEF(levent_table                            ,0xff9a1124) // Found @0xff9a1124,          stubs_min = 0xff9a1124 (0xFF9A1124)
  55 //DEF(FlashParamsTable                        ,0xff9ab04c) // Found @0xff9ab04c,          stubs_min = 0xff9ab04c (0xFF9AB04C)
  56 DEF(fileio_semaphore                        ,0x000027d0) // Found @0xff878c50
  57 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xff811f28
  58 DEF(exmem_types_table                       ,0xff811d3c) // Found @0xff811d3c
  59 DEF_CONST(exmem_type_count                  ,0x0000000e)
  60 DEF(imager_active                           ,0x00005884) // Found @0xff8e8d90 (0x5884 + 0)
  61 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xff9ac7a0
  62 
  63 // Values below go in 'lib.c':
  64 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xff9ad6e8
  65 
  66 // Values below go in 'platform_camera.h':
  67 //#define PARAM_CAMERA_NAME 4 // Found @0xff9aa7ec
  68 
  69 // Misc stuff
  70 
  71 // EXMEM types:
  72 // EXMEM_RAMDISK   0
  73 // EXMEM_COM       1
  74 // EXMEM_COMTMP    2
  75 // EXMEM_FORMATTER 3
  76 // EXMEM_SHADING   4
  77 // EXMEM_FAMODE    5
  78 // EXMEM_FIRMUP    6
  79 // EXMEM_DVLPWORK  7
  80 // EXMEM_FILESTORE 8
  81 // EXMEM_MOVIE_REC 9
  82 // EXMEM_MOVIE_PLY 10
  83 // EXMEM_WIDE      11
  84 // EXMEM_NARROW    12
  85 // EXMEM_PCEVF     13
  86 
  87 // LED table init @ 0xff82fec8
  88 // LED #1: 0xc02200cc, offset 0x4
  89 // LED #2: 0xc02200c8, offset 0x44
  90 // LED #3: 0xc02200d0, offset 0x84
  91 // LED #4: 0xc02200d8, offset 0xc4
  92 // LED #5: 0xc02200c4, offset 0x204
  93 // LED #6: 0xc02200c0, offset 0x244
  94 
  95 // Stubs below matched 100%.
  96 //    Name                                     Address                Comp to stubs_entry_2.S
  97 NHSTUB(AllocateUncacheableMemory              ,0xff814ea0) //  1
  98 NHSTUB(Close                                  ,0xff87b584) //120
  99 NHSTUB(CreateBinarySemaphore                  ,0xff821be4) //115
 100 NHSTUB(CreateTask                             ,0xff822594) //120
 101 NHSTUB(DebugAssert                            ,0xff813d70) //1100
 102 NHSTUB(DeleteFile_Fut                         ,0xff874444) //  1
 103 NHSTUB(DoAELock                               ,0xff98f09c) //120
 104 NHSTUB(DoAFLock                               ,0xff98ee30) //120
 105 NHSTUB(ExecuteEventProcedure                  ,0xff816d3c) //  1
 106 NHSTUB(ExitTask                               ,0xff822954) //120
 107 NHSTUB(Fclose_Fut                             ,0xff8745b8) //120
 108 NHSTUB(Feof_Fut                               ,0xff8747b4) //  3
 109 NHSTUB(Fflush_Fut                             ,0xff8747f0) //  3
 110 NHSTUB(Fgets_Fut                              ,0xff87471c) //  3
 111 NHSTUB(Fopen_Fut                              ,0xff874578) //120
 112 NHSTUB(Fread_Fut                              ,0xff874674) //120
 113 NHSTUB(FreeUncacheableMemory                  ,0xff814ed4) //  1
 114 NHSTUB(Fseek_Fut                              ,0xff874768) //120
 115 NHSTUB(Fwrite_Fut                             ,0xff8746c8) //120
 116 NHSTUB(GetBatteryTemperature                  ,0xff82f584) //102
 117 NHSTUB(GetCCDTemperature                      ,0xff82f570) //102
 118 NHSTUB(GetCurrentAvValue                      ,0xffb0cf4c) //120
 119 NHSTUB(GetCurrentShutterSpeed                 ,0xffb0cbf8) //120
 120 NHSTUB(GetDrive_ClusterSize                   ,0xff87ad70) //119
 121 NHSTUB(GetDrive_FreeClusters                  ,0xff87ade8) //1103
 122 NHSTUB(GetDrive_TotalClusters                 ,0xff87adac) //119
 123 NHSTUB(GetOpticalTemperature                  ,0xff82f55c) //120
 124 NHSTUB(GetParameterData                       ,0xff9ad67c) //  2
 125 NHSTUB(GetZoomLensCurrentPoint                ,0xffaf1c64) //120
 126 NHSTUB(GetZoomLensCurrentPosition             ,0xffaf1c78) //102
 127 NHSTUB(GiveSemaphore                          ,0xff82218c) //120
 128 NHSTUB(IsStrobeChargeCompleted                ,0xff93033c) //  2
 129 NHSTUB(LEDDrive                               ,0xff82fadc) //120
 130 NHSTUB(LocalTime                              ,0xff8143f8) //115
 131 NHSTUB(LockMainPower                          ,0xff9a8814) //120
 132 NHSTUB(MakeDirectory_Fut                      ,0xff8744f8) //  3
 133 NHSTUB(MoveFocusLensToDistance                ,0xffb0f458) //102
 134 NHSTUB(MoveZoomLensWithPoint                  ,0xffaf1b44) //120
 135 NHSTUB(Open                                   ,0xff87b55c) //120
 136 NHSTUB(PT_PlaySound                           ,0xff99f320) //  1
 137 NHSTUB(PostLogicalEventForNotPowerType        ,0xff9a4230) //120
 138 NHSTUB(PostLogicalEventToUI                   ,0xff9a42ac) //120
 139 NHSTUB(Read                                   ,0xff87b618) //120
 140 NHSTUB(RefreshPhysicalScreen                  ,0xff9be650) //120
 141 NHSTUB(RenameFile_Fut                         ,0xff87439c) //  3
 142 NHSTUB(SetAE_ShutterSpeed                     ,0xffb1212c) //102
 143 NHSTUB(SetAutoShutdownTime                    ,0xff9a8718) //120
 144 NHSTUB(SetCurrentCaptureModeType              ,0xff9d9b48) //120
 145 NHSTUB(SetFileAttributes                      ,0xff87b7ac) //  1
 146 NHSTUB(SetLogicalEventActive                  ,0xff9a632c) //1104
 147 NHSTUB(SetParameterData                       ,0xff9ad59c) //  2
 148 NHSTUB(SetPropertyCase                        ,0xff825778) //  2
 149 NHSTUB(SetScriptMode                          ,0xff9a6394) //120
 150 NHSTUB(SleepTask                              ,0xff8224a8) //120
 151 NHSTUB(TakeSemaphore                          ,0xff821fa4) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xff9f5338) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xff9f5308) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xff959058) //120
 155 NHSTUB(TurnOffDisplay                         ,0xff959068) //120
 156 NHSTUB(UnlockAE                               ,0xff98f0bc) //120
 157 NHSTUB(UnlockAF                               ,0xff98ee7c) //120
 158 NHSTUB(UnlockMainPower                        ,0xff9a88ac) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xff87aaa4) //  1
 160 NHSTUB(VbattGet                               ,0xff82e420) //120
 161 NHSTUB(Write                                  ,0xff87b624) //120
 162 NHSTUB(_log                                   ,0xffb4cfc0) //121
 163 NHSTUB(_log10                                 ,0xffb49044) //121
 164 NHSTUB(_pow                                   ,0xffb491cc) //121
 165 NHSTUB(_sqrt                                  ,0xffb4b3bc) //  1
 166 NHSTUB(apex2us                                ,0xff8c6560) //  1
 167 NHSTUB(close                                  ,0xffb57b7c) //109
 168 NHSTUB(exmem_alloc                            ,0xff812834) //122
 169 NHSTUB(exmem_free                             ,0xff812904) //122
 170 NHSTUB(get_nd_value                           ,0xffafac80) //115
 171 NHSTUB(get_current_nd_value                   ,0xffafac6c) //122
 172 NHSTUB(kbd_p1_f                               ,0xff827f58) //  1
 173 NHSTUB(kbd_p1_f_cont                          ,0xff827f64) //109
 174 NHSTUB(kbd_p2_f                               ,0xff82833c) //  1
 175 NHSTUB(kbd_read_keys_r2                       ,0xff828d40) //  3
 176 NHSTUB(lseek                                  ,0xffb57cc0) //  1
 177 NHSTUB(memcmp                                 ,0xffb52bd8) //120
 178 NHSTUB(memcpy                                 ,0xffb52c14) //120
 179 NHSTUB(memset                                 ,0xffb52c8c) //120
 180 NHSTUB(mkdir                                  ,0xff87b7dc) //  1
 181 NHSTUB(open                                   ,0xffb581c0) //109
 182 NHSTUB(closedir                               ,0xffb55004) //  1
 183 NHSTUB(qsort                                  ,0xffb52438) //  1
 184 NHSTUB(rand                                   ,0xffb5245c) //  1
 185 NHSTUB(realloc                                ,0xffb431fc) //115
 186 NHSTUB(srand                                  ,0xffb52480) //  1
 187 NHSTUB(stat                                   ,0xffb550cc) //  1
 188 NHSTUB(strcat                                 ,0xffb52cac) //  1
 189 NHSTUB(strchr                                 ,0xffb52cd8) //  1
 190 NHSTUB(strcmp                                 ,0xffb52cfc) //120
 191 NHSTUB(strcpy                                 ,0xffb52e90) //120
 192 NHSTUB(strftime                               ,0xffb54518) //  1
 193 NHSTUB(strlen                                 ,0xffb52ff4) //120
 194 NHSTUB(strncmp                                ,0xffb53058) //  1
 195 NHSTUB(strncpy                                ,0xffb5309c) //  1
 196 NHSTUB(strrchr                                ,0xffb53120) //  1
 197 NHSTUB(strtol                                 ,0xffb52874) //  1
 198 NHSTUB(isdigit                                ,0xffb4efa8) //  1
 199 NHSTUB(isspace                                ,0xffb4f020) //  1
 200 NHSTUB(isalpha                                ,0xffb4ef78) //  1
 201 NHSTUB(isupper                                ,0xffb4f038) //  1
 202 NHSTUB(islower                                ,0xffb4efd8) //  1
 203 NHSTUB(ispunct                                ,0xffb4f008) //  1
 204 NHSTUB(isxdigit                               ,0xffb4f050) //  1
 205 NHSTUB(toupper                                ,0xffb4f078) //  1
 206 NHSTUB(tolower                                ,0xffb4f068) //  1
 207 NHSTUB(taskLock                               ,0xffb67ea0) //  1
 208 NHSTUB(taskUnlock                             ,0xffb67f48) //  1
 209 NHSTUB(taskName                               ,0xffb676dc) //  1
 210 NHSTUB(errnoOfTaskGet                         ,0xffb557d0) //  1
 211 NHSTUB(readdir                                ,0xffb54fd0) //  1
 212 NHSTUB(strtoul                                ,0xffb52a1c) //  1
 213 NHSTUB(strpbrk                                ,0xffb530e4) //  1
 214 NHSTUB(utime                                  ,0xffb55160) //  1
 215 NHSTUB(mktime                                 ,0xffb539c0) //  1
 216 NHSTUB(opendir                                ,0xffb55038) //  1
 217 NHSTUB(memchr                                 ,0xffb52ba4) //  1
 218 NHSTUB(memPartInfoGet                         ,0xffb5afdc) //  1
 219 NHSTUB(iosDrvInstall                          ,0xffb59060) //  1
 220 NHSTUB(iosDevAdd                              ,0xffb58d9c) //  1
 221 NHSTUB(iosDevDelete                           ,0xffb58d74) //  1
 222 NHSTUB(GetCurrentTargetDistance               ,0xffb0f1b8) //  1
 223 NHSTUB(taskCreateHookAdd                      ,0xffb5d81c) //  1
 224 NHSTUB(taskDeleteHookAdd                      ,0xffb5d758) //  1
 225 NHSTUB(Unmount_FileSystem                     ,0xff87a950) //  1
 226 NHSTUB(taskSuspend                            ,0xffb678ec) //  1
 227 NHSTUB(taskResume                             ,0xffb67ac0) //  1
 228 NHSTUB(time                                   ,0xffb54544) //  1
 229 NHSTUB(vsprintf                               ,0xffb56924) //115
 230 NHSTUB(EngDrvRead                             ,0xff88cf94) //102
 231 NHSTUB(PTM_GetCurrentItem                     ,0xff9ab5c0) //102
 232 NHSTUB(CancelHPTimer                          ,0xff815f9c) //119
 233 NHSTUB(SetHPTimerAfterNow                     ,0xff815b28) //119
 234 NHSTUB(MFOn                                   ,0xff98fbf0) //120
 235 NHSTUB(MFOff                                  ,0xff98fc20) //120
 236 NHSTUB(GetAdChValue                           ,0xff82b5bc) //120
 237 NHSTUB(get_ptp_buf_size                       ,0xffab014c) //122
 238 NHSTUB(get_ptp_file_buf                       ,0xffacd68c) //121

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