root/platform/ixus55_sd450/sub/100b/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.00B   // Found @ 0xff81a558, "GM1.00B" @ 0xff81a565
   6 //   Firmware build timestamp: Aug  3 2005 13:53:21
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 4.00MB, should be 7.94MB
   9 //   Could not find Camera name - possible corrupt firmware dump
  10 
  11 // Values for makefile.inc
  12 //   DIGIC = 20# DIGIC II
  13 //   MAXRAMADDR = 0x01ffffff
  14 //   MEMISOSTART = 0x000a87d0
  15 
  16 // Detected address ranges:
  17 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  18 // RAM data 0x00001900 - 0x00010300 copied from 0xffaeb3f0 (  59904 bytes)
  19 
  20 // Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
  21 //    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
  22 NHSTUB(EnterToCompensationEVF                 ,0xff94c0f8) //  1 64%
  23 //NHSTUB(ExitFromCompensationEVF              ,0xff94c1c4) //  1 73%    *** != 0xff94c158
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffa7dec0) //  1 96%
  25 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffa7e460) //  3 92%
  26 NHSTUB(GetSystemTime                          ,0xff814ebc) //  1 96%
  27 NHSTUB(PutInNdFilter                          ,0xffa88b78) //  1 92%
  28 // ALT: NHSTUB(PutInNdFilter, 0xffa8a704) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffa8a74c) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffa8a704) // 2 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffa8a74c) // 2 25/2
  32 NHSTUB(PutOutNdFilter                         ,0xffa88bc0) //  1 94%
  33 //NHSTUB(Remove                               ,0xff8c2170) //  3 52%
  34 NHSTUB(UnsetZoomForMovie                      ,0xff996c68) //  1 89%
  35 NHSTUB(add_ptp_handler                        ,0xffa3d270) //  1 96%
  36 // ERROR: free is not found.                               //--- ---    *** != 0xffad6b78
  37 //NHSTUB(kbd_pwr_off                          ,0xff82789c) //  1 83%    *** != 0xff8277f0
  38 // ALT: NHSTUB(kbd_pwr_off, 0xff8278b8) // 1 5/1
  39 // ALT: NHSTUB(kbd_pwr_off, 0xff828880) // 1 5/1
  40 // ALT: NHSTUB(kbd_pwr_off, 0xff82889c) // 1 5/1
  41 // ALT: NHSTUB(kbd_pwr_off, 0xff8278b8) // 3 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xff828528) // 3 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xff828544) // 3 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xff828630) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xff82864c) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff82871c) // 3 5/1
  47 // ALT: NHSTUB(kbd_pwr_off, 0xff828738) // 3 5/1
  48 NHSTUB(kbd_pwr_on                             ,0xff8277b0) //  1 55%
  49 // ALT: NHSTUB(kbd_pwr_on, 0xff922768) // 1 5/4
  50 // ALT: NHSTUB(kbd_pwr_on, 0xff922794) // 1 5/4
  51 // ALT: NHSTUB(kbd_pwr_on, 0xff9228d0) // 1 5/4
  52 // ALT: NHSTUB(kbd_pwr_on, 0xffa74448) // 1 5/4
  53 // ALT: NHSTUB(kbd_pwr_on, 0xffa74474) // 1 5/4
  54 NHSTUB(malloc                                 ,0xffad6b6c) //  1 53%
  55 NHSTUB(taskIdListGet                          ,0xffae47b0) //  1 82%
  56 NHSTUB(localtime                              ,0xfface2c0) //  1 93%
  57 NHSTUB(Mount_FileSystem                       ,0xff86d648) //  1 90%
  58 NHSTUB(MakeAFScan                             ,0xff94e6f8) //  1 96%
  59 
  60 // Check of modemap from 'platform/CAMERA/shooting.c':
  61 // Firmware modemap table found @ff95fc68 -> ff95fc68
  62 // Strange mode 0x0001000f in firmware, found in modemap as 15 (MODE_VIDEO_STD)
  63 // Strange mode 0x00010010 in firmware but not in current modemap
  64 // Strange mode 0x00010011 in firmware but not in current modemap
  65 // Strange mode 0x00010012 in firmware but not in current modemap
  66 
  67 // Values below can be overridden in 'stubs_min.S':
  68 //DEF(levent_table                            ,0xff958de4) // Found @0xff958de4,          stubs_min = 0xff958de4 (0xFF958DE4)
  69 //DEF(FlashParamsTable                        ,0xff961ecc) // Found @0xff961ecc,          stubs_min = 0xff961ecc (0xFF961ECC)
  70 DEF(fileio_semaphore                        ,0x00002828) // Found @0xff86ba6c
  71 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff8120b8
  72 DEF(exmem_types_table                       ,0xff811e18) // Found @0xff811e18
  73 DEF_CONST(exmem_type_count                  ,0x0000000d)
  74 DEF(imager_active                           ,0x000054c8) // Found @0xff8c5684 (0x54c8 + 0)
  75 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xff963768
  76 DEF(cameracon_state                         ,0x000077d8) // Found @0xff9840fc
  77 
  78 // Values below go in 'lib.c':
  79 //int get_flash_params_count(void) { return 0x5e; }                          // Found @0xff964588
  80 
  81 // Values below go in 'platform_camera.h':
  82 //#define PARAM_CAMERA_NAME 3 // Found @0xff9617a0
  83 
  84 // Misc stuff
  85 
  86 // EXMEM types:
  87 // EXMEM_RAMDISK   0
  88 // EXMEM_COM       1
  89 // EXMEM_COMTMP    2
  90 // EXMEM_FORMATTER 3
  91 // EXMEM_SHADING   4
  92 // EXMEM_FAMODE    5
  93 // EXMEM_FIRMUP    6
  94 // EXMEM_FILESTORE 7
  95 // EXMEM_MOVIE_REC 8
  96 // EXMEM_MOVIE_PLY 9
  97 // EXMEM_WIDE      10
  98 // EXMEM_NARROW    11
  99 // EXMEM_PCEVF     12
 100 
 101 // LED table init @ 0xff82d1a0
 102 // LED #1: 0xc02200d8, offset 0x4
 103 // LED #2: 0xc02200dc, offset 0x44
 104 // LED #3: 0xc02200e0, offset 0x84
 105 // LED #4: 0xc02200e8, offset 0xc4
 106 // LED #5: 0xc02200e4, offset 0x204
 107 // LED #6: 0xc02200ec, offset 0x244
 108 
 109 
 110 // For capt_seq.c
 111 DEF(_nrflag,0x6d6c) // Found @ ff950504 (0x6d6c)
 112 //static long *nrflag = (long*)(0x6d6c);       // Found @ ff950504
 113 
 114 // Stubs below matched 100%.
 115 //    Name                                     Address                Comp to stubs_entry_2.S
 116 NHSTUB(AllocateUncacheableMemory              ,0xff814c84) //  1
 117 NHSTUB(Close                                  ,0xff86e394) //120
 118 NHSTUB(CreateBinarySemaphore                  ,0xff820bec) //115
 119 NHSTUB(CreateTask                             ,0xff8215dc) //120
 120 NHSTUB(DebugAssert                            ,0xff813b54) //1100
 121 NHSTUB(DeleteFile_Fut                         ,0xff867848) //  1
 122 NHSTUB(DeleteSemaphore                        ,0xff820de0) //120
 123 NHSTUB(DoAELock                               ,0xff94a3ec) //120
 124 NHSTUB(DoAFLock                               ,0xff94a2a4) //120
 125 NHSTUB(ExecuteEventProcedure                  ,0xff816b9c) //  1
 126 NHSTUB(ExitTask                               ,0xff82199c) //120
 127 NHSTUB(Fclose_Fut                             ,0xff867988) //120
 128 NHSTUB(Feof_Fut                               ,0xff867b9c) //  1
 129 NHSTUB(Fflush_Fut                             ,0xff867bd4) //  1
 130 NHSTUB(Fgets_Fut                              ,0xff867b0c) //  1
 131 NHSTUB(Fopen_Fut                              ,0xff86794c) //120
 132 NHSTUB(Fread_Fut                              ,0xff867a6c) //120
 133 NHSTUB(FreeUncacheableMemory                  ,0xff814cb8) //  1
 134 NHSTUB(Fseek_Fut                              ,0xff867b54) //120
 135 NHSTUB(Fwrite_Fut                             ,0xff867abc) //120
 136 NHSTUB(GetBatteryTemperature                  ,0xff82c7a8) //102
 137 NHSTUB(GetCCDTemperature                      ,0xff82c794) //102
 138 NHSTUB(GetCurrentAvValue                      ,0xffa889f4) //120
 139 NHSTUB(GetCurrentShutterSpeed                 ,0xffa886a4) //120
 140 NHSTUB(GetDrive_ClusterSize                   ,0xff86db70) //119
 141 NHSTUB(GetDrive_FreeClusters                  ,0xff86dbe8) //1103
 142 NHSTUB(GetDrive_TotalClusters                 ,0xff86dbac) //119
 143 NHSTUB(GetOpticalTemperature                  ,0xff82c780) //120
 144 NHSTUB(GetParameterData                       ,0xff96451c) //  1
 145 NHSTUB(GetPropertyCase                        ,0xff824550) //  1
 146 NHSTUB(GetZoomLensCurrentPoint                ,0xffa6ed60) //120
 147 NHSTUB(GetZoomLensCurrentPosition             ,0xffa6ed74) //102
 148 NHSTUB(GiveSemaphore                          ,0xff8211d4) //120
 149 NHSTUB(IsStrobeChargeCompleted                ,0xff8fde0c) //  1
 150 NHSTUB(LEDDrive                               ,0xff82cd00) //120
 151 NHSTUB(LocalTime                              ,0xff8141dc) //115
 152 NHSTUB(LockMainPower                          ,0xff95f9e0) //120
 153 NHSTUB(MakeDirectory_Fut                      ,0xff8678d4) //  1
 154 NHSTUB(MoveFocusLensToDistance                ,0xffa8ad90) //102
 155 NHSTUB(MoveZoomLensWithPoint                  ,0xffa6ec40) //120
 156 NHSTUB(Open                                   ,0xff86e36c) //120
 157 NHSTUB(PT_PlaySound                           ,0xff9572a0) //  1
 158 NHSTUB(PostLogicalEventForNotPowerType        ,0xff95ba28) //120
 159 NHSTUB(PostLogicalEventToUI                   ,0xff95bab4) //120
 160 NHSTUB(Read                                   ,0xff86e428) //120
 161 NHSTUB(RefreshPhysicalScreen                  ,0xff974ed0) //120
 162 NHSTUB(RenameFile_Fut                         ,0xff8677c8) //  1
 163 NHSTUB(Restart                                ,0xff822b8c) //  1
 164 NHSTUB(SetAE_ShutterSpeed                     ,0xffa8de44) //102
 165 NHSTUB(SetAutoShutdownTime                    ,0xff95f8d8) //120
 166 NHSTUB(SetCurrentCaptureModeType              ,0xff98c0e4) //120
 167 NHSTUB(SetDate                                ,0xffa8f99c) //120
 168 NHSTUB(SetFileAttributes                      ,0xff86e54c) //  1
 169 NHSTUB(SetLogicalEventActive                  ,0xff95da84) //1104
 170 NHSTUB(SetParameterData                       ,0xff96443c) //  1
 171 NHSTUB(SetPropertyCase                        ,0xff824434) //  1
 172 NHSTUB(SetScriptMode                          ,0xff95dae8) //120
 173 NHSTUB(SleepTask                              ,0xff8214f0) //120
 174 NHSTUB(TakeSemaphore                          ,0xff820fec) //1101
 175 NHSTUB(TurnOffBackLight                       ,0xff9a24b8) //  1
 176 NHSTUB(TurnOnBackLight                        ,0xff9a248c) //  1
 177 NHSTUB(TurnOnDisplay                          ,0xff922600) //120
 178 NHSTUB(TurnOffDisplay                         ,0xff922610) //120
 179 NHSTUB(UnlockAE                               ,0xff94a40c) //120
 180 NHSTUB(UnlockAF                               ,0xff94a2e4) //120
 181 NHSTUB(UnlockMainPower                        ,0xff95fa94) //120
 182 NHSTUB(UpdateMBROnFlash                       ,0xff86d8a8) //  1
 183 NHSTUB(VbattGet                               ,0xff82b7d8) //120
 184 NHSTUB(Write                                  ,0xff86e434) //120
 185 NHSTUB(WriteSDCard                            ,0xff87cc60) //  1
 186 NHSTUB(_log                                   ,0xffac00ac) //121
 187 NHSTUB(_log10                                 ,0xffac0754) //121
 188 NHSTUB(_pow                                   ,0xffac0c44) //121
 189 NHSTUB(_sqrt                                  ,0xffac4f90) //  1
 190 NHSTUB(apex2us                                ,0xff8ab448) //  1
 191 NHSTUB(close                                  ,0xffad3b2c) //109
 192 NHSTUB(exmem_ualloc                           ,0xff8128b4) //122
 193 NHSTUB(exmem_ufree                            ,0xff812900) //122
 194 NHSTUB(get_nd_value                           ,0xffa772b4) //115
 195 NHSTUB(get_current_nd_value                   ,0xffa77238) //122
 196 NHSTUB(get_current_deltasv                    ,0xff8ac440) //122
 197 NHSTUB(GetCurrentDriveBaseSvValue             ,0xff8b4d2c) //107
 198 NHSTUB(kbd_p1_f                               ,0xff826550) //  1
 199 NHSTUB(kbd_p1_f_cont                          ,0xff82655c) //109
 200 NHSTUB(kbd_p2_f                               ,0xff826934) //  1
 201 NHSTUB(kbd_read_keys_r2                       ,0xff827334) //  1
 202 NHSTUB(lseek                                  ,0xffad3c70) //  1
 203 NHSTUB(memcmp                                 ,0xffacd6a0) //120
 204 NHSTUB(memcpy                                 ,0xffacd6dc) //120
 205 NHSTUB(memset                                 ,0xffacd754) //120
 206 NHSTUB(mkdir                                  ,0xff86e57c) //  1
 207 NHSTUB(open                                   ,0xffad4170) //109
 208 NHSTUB(closedir                               ,0xffacfacc) //  1
 209 NHSTUB(qsort                                  ,0xffaccf00) //  1
 210 NHSTUB(rand                                   ,0xffaccf24) //  1
 211 NHSTUB(realloc                                ,0xffab81e4) //115
 212 NHSTUB(srand                                  ,0xffaccf48) //  1
 213 NHSTUB(stat                                   ,0xffacfb94) //  1
 214 NHSTUB(strcat                                 ,0xffacd774) //  1
 215 NHSTUB(strchr                                 ,0xffacd7a0) //  1
 216 NHSTUB(strcmp                                 ,0xffacd7c4) //120
 217 NHSTUB(strcpy                                 ,0xffacd958) //120
 218 NHSTUB(strftime                               ,0xffacefe0) //  1
 219 NHSTUB(strlen                                 ,0xffacdabc) //120
 220 NHSTUB(strncmp                                ,0xffacdb20) //  1
 221 NHSTUB(strncpy                                ,0xffacdb64) //  1
 222 NHSTUB(strrchr                                ,0xffacdbe8) //  1
 223 NHSTUB(strtol                                 ,0xffacd33c) //  1
 224 NHSTUB(isdigit                                ,0xffac9a70) //  1
 225 NHSTUB(isspace                                ,0xffac9ae8) //  1
 226 NHSTUB(isalpha                                ,0xffac9a40) //  1
 227 NHSTUB(isupper                                ,0xffac9b00) //  1
 228 NHSTUB(islower                                ,0xffac9aa0) //  1
 229 NHSTUB(ispunct                                ,0xffac9ad0) //  1
 230 NHSTUB(isxdigit                               ,0xffac9b18) //  1
 231 NHSTUB(toupper                                ,0xffac9b40) //  1
 232 NHSTUB(tolower                                ,0xffac9b30) //  1
 233 NHSTUB(taskLock                               ,0xffae4e6c) //  1
 234 NHSTUB(taskUnlock                             ,0xffae4f14) //  1
 235 NHSTUB(taskName                               ,0xffae46a8) //  1
 236 NHSTUB(errnoOfTaskGet                         ,0xffad0298) //  1
 237 NHSTUB(readdir                                ,0xffacfa98) //  1
 238 NHSTUB(strtoul                                ,0xffacd4e4) //  1
 239 NHSTUB(strpbrk                                ,0xffacdbac) //  1
 240 NHSTUB(utime                                  ,0xffacfc28) //  1
 241 NHSTUB(mktime                                 ,0xfface488) //  1
 242 NHSTUB(opendir                                ,0xffacfb00) //  1
 243 NHSTUB(memchr                                 ,0xffacd66c) //  1
 244 NHSTUB(memPartInfoGet                         ,0xffad6f8c) //  1
 245 NHSTUB(iosDrvInstall                          ,0xffad5010) //  1
 246 NHSTUB(iosDevAdd                              ,0xffad4d4c) //  1
 247 NHSTUB(iosDevDelete                           ,0xffad4d24) //  1
 248 NHSTUB(GetCurrentTargetDistance               ,0xffa8ab00) //  1
 249 NHSTUB(taskCreateHookAdd                      ,0xffada1ec) //  1
 250 NHSTUB(taskDeleteHookAdd                      ,0xffada128) //  1
 251 NHSTUB(Unmount_FileSystem                     ,0xff86d750) //  1
 252 NHSTUB(taskSuspend                            ,0xffae48b8) //  1
 253 NHSTUB(taskResume                             ,0xffae4a8c) //  1
 254 NHSTUB(time                                   ,0xffacf00c) //  1
 255 NHSTUB(vsprintf                               ,0xffad13ec) //115
 256 NHSTUB(EngDrvRead                             ,0xff87eec0) //102
 257 NHSTUB(PTM_GetCurrentItem                     ,0xff962598) //102
 258 NHSTUB(CancelHPTimer                          ,0xff815d80) //119
 259 NHSTUB(SetHPTimerAfterNow                     ,0xff81590c) //119
 260 NHSTUB(MFOn                                   ,0xff94ad78) //120
 261 NHSTUB(MFOff                                  ,0xff94ada8) //120
 262 NHSTUB(GetAdChValue                           ,0xff828ff0) //120
 263 NHSTUB(get_ptp_buf_size                       ,0xffa2e6dc) //122
 264 NHSTUB(get_ptp_file_buf                       ,0xffa4e6a0) //121

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