root/platform/ixus75_sd750/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 @ 0xff81803c, "GM1.00B" @ 0xff818049
   6 //   Firmware build timestamp: Jan 24 2007 12:39:53
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.57MB, should be 7.94MB
   9 //   Could not find Camera name - possible corrupt firmware dump
  10 
  11 // Values for makefile.inc
  12 //   DIGIC = 30# DIGIC III
  13 //   MAXRAMADDR = 0x01ffffff
  14 //   MEMISOSTART = 0x000bf650
  15 
  16 // Detected address ranges:
  17 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  18 // RAM data 0x00001900 - 0x0000e4f0 copied from 0xffb95320 (  52208 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                 ,0xffb06508) //  3 96%
  23 NHSTUB(FreeUncacheableMemory                  ,0xff81e5ec) //  1 90%
  24 //NHSTUB(GetFocusLensSubjectDistance          ,0xffade928) //  1 90%    *** != 0xffae0988
  25 //NHSTUB(GetFocusLensSubjectDistanceFromLens  ,0xffadee1c) //  3        *** != 0xffae0954
  26 NHSTUB(GetParameterData                       ,0xffb4589c) //  1 86%
  27 NHSTUB(GetPropertyCase                        ,0xff81bcac) //  2 89%
  28 NHSTUB(GetSystemTime                          ,0xff813700) //  1 96%
  29 //NHSTUB(MoveFocusLensToDistance              ,0xffa5e2cc) //102        *** != 0xffae0144
  30 NHSTUB(PutInNdFilter                          ,0xffa5bca0) //  1 92%
  31 NHSTUB(PutOutNdFilter                         ,0xffa5bce8) //  1 94%
  32 NHSTUB(Restart                                ,0xff81b760) //  1 96%
  33 NHSTUB(SetParameterData                       ,0xffb457bc) //  1 86%
  34 NHSTUB(UnsetZoomForMovie                      ,0xff8369cc) //  1 89%
  35 NHSTUB(WriteSDCard                            ,0xffab7b60) //  3 74%
  36 // ALT: NHSTUB(WriteSDCard, 0xffab7d08) // 3 23/8
  37 NHSTUB(add_ptp_handler                        ,0xff9eea88) //  1 96%
  38 // ERROR: free is not found.                               //--- ---    *** != 0xff92a5b0
  39 NHSTUB(kbd_p2_f                               ,0xffa39a08) //  1 56%
  40 //NHSTUB(kbd_read_keys_r2                     ,0xffa3ac68) //  3 62%    *** != 0xffa3ac4c
  41 //NHSTUB(kbd_pwr_off                          ,0xffa38910) //  1 83%    *** != 0xffa3b1bc
  42 // ALT: NHSTUB(kbd_pwr_off, 0xffa3892c) // 1 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b204) // 1 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b220) // 1 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b204) // 3 5/1
  46 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b220) // 3 5/1
  47 //NHSTUB(kbd_pwr_on                           ,0xffa31a34) //  1 55%    *** != 0xffa3b17c
  48 // ALT: NHSTUB(kbd_pwr_on, 0xffa31a60) // 1 5/4
  49 // ALT: NHSTUB(kbd_pwr_on, 0xffa31f60) // 1 5/4
  50 NHSTUB(malloc                                 ,0xff92a5a4) //  1 53%
  51 NHSTUB(mkdir                                  ,0xffaa5be4) //  1 51%
  52 // ALT: NHSTUB(mkdir, 0xffaa5cb8) // 1 16/15
  53 NHSTUB(taskIdListGet                          ,0xff9346ec) //  1 82%
  54 NHSTUB(utime                                  ,0xffb5fb20) //  1 57%
  55 NHSTUB(localtime                              ,0xff9233bc) //  1 93%
  56 NHSTUB(Mount_FileSystem                       ,0xffaa4ca0) //  3 93%
  57 NHSTUB(MakeAFScan                             ,0xffb0ba78) //  2 79%
  58 
  59 // Check of modemap from 'platform/CAMERA/shooting.c':
  60 // Firmware modemap table found @ffb479f8 -> ffb479f8
  61 // No problems found with modemap table.
  62 
  63 // Values below can be overridden in 'stubs_min.S':
  64 //DEF(levent_table                            ,0xffb3a9d8) // Found @0xffb3a9d8,          stubs_min = 0xffb3a9d8 (0xFFB3A9D8)
  65 //DEF(FlashParamsTable                        ,0xffb4a008) // Found @0xffb4a008, ** != ** stubs_min = 0xffb4a07c (0xFFB4A07C)
  66 DEF(fileio_semaphore                        ,0x0000a2e4) // Found @0xffaa8040
  67 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xff81d9b0
  68 DEF(exmem_types_table                       ,0xff81d7d0) // Found @0xff81d7d0
  69 DEF_CONST(exmem_type_count                  ,0x00000011)
  70 DEF(imager_active                           ,0x00006e88) // Found @0xff9b3828 (0x6e88 + 0)
  71 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffb4499c
  72 DEF(cameracon_state                         ,0x00002098) // Found @0xff821088
  73 
  74 // Values below go in 'lib.c':
  75 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffb45908
  76 
  77 // Values below go in 'platform_camera.h':
  78 //#define PARAM_CAMERA_NAME 4 // Found @0xffb49798
  79 
  80 // Misc stuff
  81 
  82 // EXMEM types:
  83 // EXMEM_RAMDISK   0
  84 // EXMEM_COM       1
  85 // EXMEM_COMTMP    2
  86 // EXMEM_FORMATTER 3
  87 // EXMEM_SHADING   4
  88 // EXMEM_FAMODE    5
  89 // EXMEM_FIRMUP    6
  90 // EXMEM_DVLPWORK  7
  91 // EXMEM_EVF       8
  92 // EXMEM_SCRIPT    9
  93 // EXMEM_FILESTORE 10
  94 // EXMEM_MOVIE_REC 11
  95 // EXMEM_MOVIE_PLY 12
  96 // EXMEM_WIDE      13
  97 // EXMEM_NARROW    14
  98 // EXMEM_CRAW_REC  15
  99 // EXMEM_PCEVF     16
 100 
 101 // LED table init @ 0xffa3932c
 102 // LED #1: 0xc02200cc, offset 0x4
 103 // LED #2: 0xc02200c8, offset 0x44
 104 // LED #3: 0xc02200c4, offset 0x204
 105 // LED #4: 0xc02200c0, offset 0x244
 106 
 107 // Stubs below matched 100%.
 108 //    Name                                     Address                Comp to stubs_entry_2.S
 109 NHSTUB(AllocateUncacheableMemory              ,0xff81e5b8) //  1
 110 NHSTUB(Close                                  ,0xffaa597c) //120
 111 NHSTUB(CreateBinarySemaphore                  ,0xffb1f7a0) //115
 112 NHSTUB(CreateTask                             ,0xffb201b8) //120
 113 NHSTUB(DebugAssert                            ,0xffb2c0c4) //1100
 114 NHSTUB(DeleteFile_Fut                         ,0xffaa0f50) //  1
 115 NHSTUB(DeleteSemaphore                        ,0xffb1f9a0) //120
 116 NHSTUB(DoAELock                               ,0xffb06694) //120
 117 NHSTUB(DoAFLock                               ,0xffb06160) //120
 118 NHSTUB(ExecuteEventProcedure                  ,0xff814a6c) //  1
 119 NHSTUB(ExitFromCompensationEVF                ,0xffb0658c) //  3
 120 NHSTUB(ExitTask                               ,0xffb20578) //120
 121 NHSTUB(Fclose_Fut                             ,0xffaa10c4) //120
 122 NHSTUB(Feof_Fut                               ,0xffaa12c0) //  3
 123 NHSTUB(Fflush_Fut                             ,0xffaa12fc) //  3
 124 NHSTUB(Fgets_Fut                              ,0xffaa1228) //  3
 125 NHSTUB(Fopen_Fut                              ,0xffaa1084) //120
 126 NHSTUB(Fread_Fut                              ,0xffaa1180) //120
 127 NHSTUB(Fseek_Fut                              ,0xffaa1274) //120
 128 NHSTUB(Fwrite_Fut                             ,0xffaa11d4) //120
 129 //NHSTUB(GetBatteryTemperature                ,0xffa3fc48) //102            == 0xffa3fc48
 130 NHSTUB(GetCCDTemperature                      ,0xffa3fc34) //102
 131 NHSTUB(GetCurrentAvValue                      ,0xffa5babc) //120
 132 NHSTUB(GetCurrentShutterSpeed                 ,0xffa5b778) //120
 133 NHSTUB(GetDrive_ClusterSize                   ,0xffaa5168) //119
 134 NHSTUB(GetDrive_FreeClusters                  ,0xffaa51e0) //1103
 135 NHSTUB(GetDrive_TotalClusters                 ,0xffaa51a4) //119
 136 NHSTUB(GetOpticalTemperature                  ,0xffa3fc20) //120
 137 NHSTUB(GetZoomLensCurrentPoint                ,0xffaf1858) //120
 138 NHSTUB(GetZoomLensCurrentPosition             ,0xffaf186c) //102
 139 NHSTUB(GiveSemaphore                          ,0xffb1fd84) //120
 140 NHSTUB(IsStrobeChargeCompleted                ,0xff9ae7d4) //  2
 141 NHSTUB(LEDDrive                               ,0xffa38f40) //120
 142 NHSTUB(LocalTime                              ,0xffb2c990) //115
 143 NHSTUB(LockMainPower                          ,0xffb427b0) //120
 144 NHSTUB(MakeDirectory_Fut                      ,0xffaa1004) //  3
 145 NHSTUB(MoveIrisWithAv                         ,0xffae57a0) //120
 146 NHSTUB(MoveZoomLensWithPoint                  ,0xffaf1730) //120
 147 NHSTUB(Open                                   ,0xffaa5954) //120
 148 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffb171d0) //120
 149 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffb17194) //120
 150 NHSTUB(PT_PlaySound                           ,0xffb16c94) //  3
 151 NHSTUB(PostLogicalEventForNotPowerType        ,0xffb3df44) //120
 152 NHSTUB(PostLogicalEventToUI                   ,0xffb3dfc0) //120
 153 NHSTUB(Read                                   ,0xffaa5a10) //120
 154 NHSTUB(RefreshPhysicalScreen                  ,0xff915ffc) //120
 155 NHSTUB(RenameFile_Fut                         ,0xffaa0ea8) //  3
 156 NHSTUB(SetAE_ShutterSpeed                     ,0xffa613cc) //102
 157 NHSTUB(SetAutoShutdownTime                    ,0xffb426b4) //120
 158 NHSTUB(SetCurrentCaptureModeType              ,0xff82afd0) //120
 159 NHSTUB(SetDate                                ,0xffa63808) //120
 160 NHSTUB(SetFileAttributes                      ,0xffaa5b64) //  3
 161 NHSTUB(SetLogicalEventActive                  ,0xffb40158) //1104
 162 NHSTUB(SetPropertyCase                        ,0xff81bb74) //  3
 163 //NHSTUB(SetScriptMode                        ,0xffb401bc) //120            == 0xffb401bc
 164 NHSTUB(SleepTask                              ,0xffb200cc) //120
 165 NHSTUB(TakeSemaphore                          ,0xffb1fb7c) //1101
 166 NHSTUB(TurnOffBackLight                       ,0xff849f2c) //  2
 167 NHSTUB(TurnOnBackLight                        ,0xff849efc) //  2
 168 NHSTUB(TurnOnDisplay                          ,0xffa2e7d8) //120
 169 NHSTUB(TurnOffDisplay                         ,0xffa2e7e8) //120
 170 NHSTUB(UnlockAE                               ,0xffb066e4) //120
 171 NHSTUB(UnlockAF                               ,0xffb061e0) //120
 172 NHSTUB(UnlockMainPower                        ,0xffb42848) //120
 173 NHSTUB(UpdateMBROnFlash                       ,0xffaa4e9c) //  1
 174 NHSTUB(VbattGet                               ,0xffa370e4) //120
 175 NHSTUB(Write                                  ,0xffaa5a1c) //120
 176 NHSTUB(_log                                   ,0xff91d198) //121
 177 NHSTUB(_log10                                 ,0xff919f40) //121
 178 NHSTUB(_pow                                   ,0xff91a0c0) //121
 179 NHSTUB(_sqrt                                  ,0xff91bf80) //  1
 180 NHSTUB(apex2us                                ,0xff93ba2c) //  1
 181 NHSTUB(close                                  ,0xff927564) //109
 182 NHSTUB(exmem_alloc                            ,0xff81e494) //102
 183 NHSTUB(exmem_ualloc                           ,0xff81e2c4) //102
 184 NHSTUB(exmem_ufree                            ,0xff81e394) //102
 185 NHSTUB(get_nd_value                           ,0xffaea49c) //115
 186 NHSTUB(get_current_nd_value                   ,0xffaea488) //122
 187 NHSTUB(get_current_deltasv                    ,0xff93dcc0) //122
 188 NHSTUB(GetCurrentDriveBaseSvValue             ,0xff948434) //107
 189 NHSTUB(kbd_p1_f                               ,0xffa395d8) //  1
 190 NHSTUB(kbd_p1_f_cont                          ,0xffa395e4) //109
 191 NHSTUB(lseek                                  ,0xff9276a8) //  1
 192 NHSTUB(memcmp                                 ,0xff92279c) //120
 193 NHSTUB(memcpy                                 ,0xff9227d8) //120
 194 NHSTUB(memset                                 ,0xff922850) //120
 195 NHSTUB(open                                   ,0xff927ba8) //109
 196 NHSTUB(closedir                               ,0xffb5f9c4) //  1
 197 NHSTUB(qsort                                  ,0xff921ffc) //  1
 198 NHSTUB(rand                                   ,0xff922020) //  1
 199 NHSTUB(realloc                                ,0xffb2bcd0) //115
 200 NHSTUB(srand                                  ,0xff922044) //  1
 201 NHSTUB(stat                                   ,0xffb5fa8c) //  1
 202 NHSTUB(strcat                                 ,0xff922870) //  1
 203 NHSTUB(strchr                                 ,0xff92289c) //  1
 204 NHSTUB(strcmp                                 ,0xff9228c0) //120
 205 NHSTUB(strcpy                                 ,0xff922a54) //120
 206 NHSTUB(strftime                               ,0xff9240dc) //  1
 207 NHSTUB(strlen                                 ,0xff922bb8) //120
 208 NHSTUB(strncmp                                ,0xff922c1c) //  1
 209 NHSTUB(strncpy                                ,0xff922c60) //  1
 210 NHSTUB(strrchr                                ,0xff922ce4) //  1
 211 NHSTUB(strtol                                 ,0xff922438) //  1
 212 NHSTUB(isdigit                                ,0xff91eb6c) //  1
 213 NHSTUB(isspace                                ,0xff91ebe4) //  1
 214 NHSTUB(isalpha                                ,0xff91eb3c) //  1
 215 NHSTUB(isupper                                ,0xff91ebfc) //  1
 216 NHSTUB(islower                                ,0xff91eb9c) //  1
 217 NHSTUB(ispunct                                ,0xff91ebcc) //  1
 218 NHSTUB(isxdigit                               ,0xff91ec14) //  1
 219 NHSTUB(toupper                                ,0xff91ec3c) //  1
 220 NHSTUB(tolower                                ,0xff91ec2c) //  1
 221 NHSTUB(taskLock                               ,0xff934da8) //  1
 222 NHSTUB(taskUnlock                             ,0xff934e50) //  1
 223 NHSTUB(taskName                               ,0xff9345e4) //  1
 224 NHSTUB(errnoOfTaskGet                         ,0xff9251b8) //  1
 225 NHSTUB(readdir                                ,0xffb5f990) //  1
 226 NHSTUB(strtoul                                ,0xff9225e0) //  1
 227 NHSTUB(strpbrk                                ,0xff922ca8) //  1
 228 NHSTUB(mktime                                 ,0xff923584) //  1
 229 NHSTUB(opendir                                ,0xffb5f9f8) //  1
 230 NHSTUB(memchr                                 ,0xff922768) //  1
 231 NHSTUB(memPartInfoGet                         ,0xff92a9c4) //  1
 232 NHSTUB(iosDrvInstall                          ,0xff928a48) //  1
 233 NHSTUB(iosDevAdd                              ,0xff928784) //  1
 234 NHSTUB(iosDevDelete                           ,0xff92875c) //  1
 235 NHSTUB(GetCurrentTargetDistance               ,0xffa5e034) //  1
 236 NHSTUB(taskCreateHookAdd                      ,0xff92d204) //  1
 237 NHSTUB(taskDeleteHookAdd                      ,0xff92d140) //  1
 238 NHSTUB(Unmount_FileSystem                     ,0xffaa4d48) //  1
 239 NHSTUB(taskSuspend                            ,0xff9347f4) //  1
 240 NHSTUB(taskResume                             ,0xff9349c8) //  1
 241 NHSTUB(time                                   ,0xff924108) //  1
 242 NHSTUB(vsprintf                               ,0xff92630c) //115
 243 NHSTUB(EngDrvRead                             ,0xffa4921c) //102
 244 NHSTUB(PTM_GetCurrentItem                     ,0xffb436a8) //102
 245 NHSTUB(CancelHPTimer                          ,0xff814658) //1100
 246 NHSTUB(SetHPTimerAfterNow                     ,0xff814170) //119
 247 NHSTUB(MFOn                                   ,0xffb17b78) //120
 248 NHSTUB(MFOff                                  ,0xffb17b88) //120
 249 NHSTUB(GetAdChValue                           ,0xffa33fb0) //120
 250 NHSTUB(get_ptp_buf_size                       ,0xff9e4184) //122
 251 NHSTUB(get_ptp_file_buf                       ,0xff9fca98) //121

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