root/platform/ixus75_sd750/sub/101a/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.01A   // Found @ 0xff81803c, "GM1.01A" @ 0xff818049
   6 //   Firmware build timestamp: Mar 14 2007 18:38:48
   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 0xffb95390 (  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                 ,0xffb0657c) //  3 96%
  23 NHSTUB(FreeUncacheableMemory                  ,0xff81e5ec) //  1 90%
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffade99c) //  1 90%
  25 NHSTUB(GetParameterData                       ,0xffb45910) //  1 86%
  26 NHSTUB(GetPropertyCase                        ,0xff81bcac) //  2 89%
  27 NHSTUB(GetSystemTime                          ,0xff813700) //  1 96%
  28 //NHSTUB(MoveFocusLensToDistance              ,0xffa5e340) //102        *** != 0xffae01b8
  29 NHSTUB(PutInNdFilter                          ,0xffa5bd14) //  1 92%
  30 NHSTUB(PutOutNdFilter                         ,0xffa5bd5c) //  1 94%
  31 NHSTUB(Restart                                ,0xff81b760) //  1 96%
  32 NHSTUB(SetParameterData                       ,0xffb45830) //  1 86%
  33 NHSTUB(UnsetZoomForMovie                      ,0xff8369cc) //  1 89%
  34 //NHSTUB(WriteSDCard                          ,0xffab7bd4) //  3 74%    *** != 0xffab7d7c
  35 // ALT: NHSTUB(WriteSDCard, 0xffab7d7c) // 3 23/8
  36 NHSTUB(add_ptp_handler                        ,0xff9eeafc) //  1 96%
  37 // ERROR: free is not found.                               //--- ---    *** != 0xff92a5b0
  38 NHSTUB(kbd_p2_f                               ,0xffa39a7c) //  1 56%
  39 //NHSTUB(kbd_read_keys_r2                     ,0xffa3acdc) //  3 62%    *** != 0xffa3acc0
  40 //NHSTUB(kbd_pwr_off                          ,0xffa38984) //  1 83%    *** != 0xffa3b230
  41 // ALT: NHSTUB(kbd_pwr_off, 0xffa389a0) // 1 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b278) // 1 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b294) // 1 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b278) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xffa3b294) // 3 5/1
  46 //NHSTUB(kbd_pwr_on                           ,0xffa31aa8) //  1 55%    *** != 0xffa3b1f0
  47 // ALT: NHSTUB(kbd_pwr_on, 0xffa31ad4) // 1 5/4
  48 // ALT: NHSTUB(kbd_pwr_on, 0xffa31fd4) // 1 5/4
  49 NHSTUB(malloc                                 ,0xff92a5a4) //  1 53%
  50 NHSTUB(mkdir                                  ,0xffaa5c58) //  1 51%
  51 // ALT: NHSTUB(mkdir, 0xffaa5d2c) // 1 16/15
  52 NHSTUB(taskIdListGet                          ,0xff9346ec) //  1 82%
  53 NHSTUB(utime                                  ,0xffb5fb94) //  1 57%
  54 NHSTUB(localtime                              ,0xff9233bc) //  1 93%
  55 NHSTUB(Mount_FileSystem                       ,0xffaa4d14) //  3 93%
  56 NHSTUB(MakeAFScan                             ,0xffb0baec) //  2 79%
  57 
  58 // Check of modemap from 'platform/CAMERA/shooting.c':
  59 // Firmware modemap table found @ffb47a6c -> ffb47a6c
  60 // No problems found with modemap table.
  61 
  62 // Values below can be overridden in 'stubs_min.S':
  63 //DEF(levent_table                            ,0xffb3aa4c) // Found @0xffb3aa4c,          stubs_min = 0xffb3aa4c (0xFFB3AA4C)
  64 //DEF(FlashParamsTable                        ,0xffb4a07c) // Found @0xffb4a07c,          stubs_min = 0xffb4a07c (0xFFB4A07C)
  65 DEF(fileio_semaphore                        ,0x0000a2e4) // Found @0xffaa80b4
  66 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xff81d9b0
  67 DEF(exmem_types_table                       ,0xff81d7d0) // Found @0xff81d7d0
  68 DEF_CONST(exmem_type_count                  ,0x00000011)
  69 DEF(imager_active                           ,0x00006e88) // Found @0xff9b3828 (0x6e88 + 0)
  70 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffb44a10
  71 
  72 // Values below go in 'lib.c':
  73 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffb4597c
  74 
  75 // Values below go in 'platform_camera.h':
  76 //#define PARAM_CAMERA_NAME 4 // Found @0xffb4980c
  77 
  78 // Misc stuff
  79 
  80 // EXMEM types:
  81 // EXMEM_RAMDISK   0
  82 // EXMEM_COM       1
  83 // EXMEM_COMTMP    2
  84 // EXMEM_FORMATTER 3
  85 // EXMEM_SHADING   4
  86 // EXMEM_FAMODE    5
  87 // EXMEM_FIRMUP    6
  88 // EXMEM_DVLPWORK  7
  89 // EXMEM_EVF       8
  90 // EXMEM_SCRIPT    9
  91 // EXMEM_FILESTORE 10
  92 // EXMEM_MOVIE_REC 11
  93 // EXMEM_MOVIE_PLY 12
  94 // EXMEM_WIDE      13
  95 // EXMEM_NARROW    14
  96 // EXMEM_CRAW_REC  15
  97 // EXMEM_PCEVF     16
  98 
  99 // LED table init @ 0xffa393a0
 100 // LED #1: 0xc02200cc, offset 0x4
 101 // LED #2: 0xc02200c8, offset 0x44
 102 // LED #3: 0xc02200c4, offset 0x204
 103 // LED #4: 0xc02200c0, offset 0x244
 104 
 105 // Stubs below matched 100%.
 106 //    Name                                     Address                Comp to stubs_entry_2.S
 107 NHSTUB(AllocateUncacheableMemory              ,0xff81e5b8) //  1
 108 NHSTUB(Close                                  ,0xffaa59f0) //120
 109 NHSTUB(CreateBinarySemaphore                  ,0xffb1f814) //115
 110 NHSTUB(CreateTask                             ,0xffb2022c) //120
 111 NHSTUB(DebugAssert                            ,0xffb2c138) //1100
 112 NHSTUB(DeleteFile_Fut                         ,0xffaa0fc4) //  1
 113 NHSTUB(DoAELock                               ,0xffb06708) //120
 114 NHSTUB(DoAFLock                               ,0xffb061d4) //120
 115 NHSTUB(ExecuteEventProcedure                  ,0xff814a6c) //  1
 116 NHSTUB(ExitFromCompensationEVF                ,0xffb06600) //  3
 117 NHSTUB(ExitTask                               ,0xffb205ec) //120
 118 NHSTUB(Fclose_Fut                             ,0xffaa1138) //120
 119 NHSTUB(Feof_Fut                               ,0xffaa1334) //  3
 120 NHSTUB(Fflush_Fut                             ,0xffaa1370) //  3
 121 NHSTUB(Fgets_Fut                              ,0xffaa129c) //  3
 122 NHSTUB(Fopen_Fut                              ,0xffaa10f8) //120
 123 NHSTUB(Fread_Fut                              ,0xffaa11f4) //120
 124 NHSTUB(Fseek_Fut                              ,0xffaa12e8) //120
 125 NHSTUB(Fwrite_Fut                             ,0xffaa1248) //120
 126 //NHSTUB(GetBatteryTemperature                ,0xffa3fcbc) //102            == 0xffa3fcbc
 127 NHSTUB(GetCCDTemperature                      ,0xffa3fca8) //102
 128 NHSTUB(GetCurrentAvValue                      ,0xffa5bb30) //120
 129 NHSTUB(GetCurrentShutterSpeed                 ,0xffa5b7ec) //120
 130 NHSTUB(GetDrive_ClusterSize                   ,0xffaa51dc) //119
 131 NHSTUB(GetDrive_FreeClusters                  ,0xffaa5254) //1103
 132 NHSTUB(GetDrive_TotalClusters                 ,0xffaa5218) //119
 133 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffadee90) //  3
 134 NHSTUB(GetOpticalTemperature                  ,0xffa3fc94) //120
 135 NHSTUB(GetZoomLensCurrentPoint                ,0xffaf18cc) //120
 136 NHSTUB(GetZoomLensCurrentPosition             ,0xffaf18e0) //102
 137 NHSTUB(GiveSemaphore                          ,0xffb1fdf8) //120
 138 NHSTUB(IsStrobeChargeCompleted                ,0xff9ae7d4) //  2
 139 NHSTUB(LEDDrive                               ,0xffa38fb4) //120
 140 NHSTUB(LocalTime                              ,0xffb2ca04) //115
 141 NHSTUB(LockMainPower                          ,0xffb42824) //120
 142 NHSTUB(MakeDirectory_Fut                      ,0xffaa1078) //  3
 143 NHSTUB(MoveIrisWithAv                         ,0xffae5814) //120
 144 NHSTUB(MoveZoomLensWithPoint                  ,0xffaf17a4) //120
 145 NHSTUB(Open                                   ,0xffaa59c8) //120
 146 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffb17244) //120
 147 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffb17208) //120
 148 NHSTUB(PT_PlaySound                           ,0xffb16d08) //  3
 149 NHSTUB(PostLogicalEventForNotPowerType        ,0xffb3dfb8) //120
 150 NHSTUB(PostLogicalEventToUI                   ,0xffb3e034) //120
 151 NHSTUB(Read                                   ,0xffaa5a84) //120
 152 NHSTUB(RefreshPhysicalScreen                  ,0xff915ffc) //120
 153 NHSTUB(RenameFile_Fut                         ,0xffaa0f1c) //  3
 154 NHSTUB(SetAE_ShutterSpeed                     ,0xffa61440) //102
 155 NHSTUB(SetAutoShutdownTime                    ,0xffb42728) //120
 156 NHSTUB(SetCurrentCaptureModeType              ,0xff82afd0) //120
 157 NHSTUB(SetFileAttributes                      ,0xffaa5bd8) //  3
 158 NHSTUB(SetLogicalEventActive                  ,0xffb401cc) //1104
 159 NHSTUB(SetPropertyCase                        ,0xff81bb74) //  3
 160 //NHSTUB(SetScriptMode                        ,0xffb40230) //120            == 0xffb40230
 161 NHSTUB(SleepTask                              ,0xffb20140) //120
 162 NHSTUB(TakeSemaphore                          ,0xffb1fbf0) //1101
 163 NHSTUB(TurnOffBackLight                       ,0xff849f2c) //  2
 164 NHSTUB(TurnOnBackLight                        ,0xff849efc) //  2
 165 NHSTUB(TurnOnDisplay                          ,0xffa2e84c) //120
 166 NHSTUB(TurnOffDisplay                         ,0xffa2e85c) //120
 167 NHSTUB(UnlockAE                               ,0xffb06758) //120
 168 NHSTUB(UnlockAF                               ,0xffb06254) //120
 169 NHSTUB(UnlockMainPower                        ,0xffb428bc) //120
 170 NHSTUB(UpdateMBROnFlash                       ,0xffaa4f10) //  1
 171 NHSTUB(VbattGet                               ,0xffa37158) //120
 172 NHSTUB(Write                                  ,0xffaa5a90) //120
 173 NHSTUB(_log                                   ,0xff91d198) //121
 174 NHSTUB(_log10                                 ,0xff919f40) //121
 175 NHSTUB(_pow                                   ,0xff91a0c0) //121
 176 NHSTUB(_sqrt                                  ,0xff91bf80) //  1
 177 NHSTUB(apex2us                                ,0xff93ba2c) //  1
 178 NHSTUB(close                                  ,0xff927564) //109
 179 NHSTUB(exmem_alloc                            ,0xff81e494) //102
 180 NHSTUB(exmem_ualloc                           ,0xff81e2c4) //102
 181 NHSTUB(exmem_ufree                            ,0xff81e394) //102
 182 NHSTUB(get_nd_value                           ,0xffaea510) //115
 183 NHSTUB(get_current_nd_value                   ,0xffaea4fc) //122
 184 NHSTUB(kbd_p1_f                               ,0xffa3964c) //  1
 185 NHSTUB(kbd_p1_f_cont                          ,0xffa39658) //109
 186 NHSTUB(lseek                                  ,0xff9276a8) //  1
 187 NHSTUB(memcmp                                 ,0xff92279c) //120
 188 NHSTUB(memcpy                                 ,0xff9227d8) //120
 189 NHSTUB(memset                                 ,0xff922850) //120
 190 NHSTUB(open                                   ,0xff927ba8) //109
 191 NHSTUB(closedir                               ,0xffb5fa38) //  1
 192 NHSTUB(qsort                                  ,0xff921ffc) //  1
 193 NHSTUB(rand                                   ,0xff922020) //  1
 194 NHSTUB(realloc                                ,0xffb2bd44) //115
 195 NHSTUB(srand                                  ,0xff922044) //  1
 196 NHSTUB(stat                                   ,0xffb5fb00) //  1
 197 NHSTUB(strcat                                 ,0xff922870) //  1
 198 NHSTUB(strchr                                 ,0xff92289c) //  1
 199 NHSTUB(strcmp                                 ,0xff9228c0) //120
 200 NHSTUB(strcpy                                 ,0xff922a54) //120
 201 NHSTUB(strftime                               ,0xff9240dc) //  1
 202 NHSTUB(strlen                                 ,0xff922bb8) //120
 203 NHSTUB(strncmp                                ,0xff922c1c) //  1
 204 NHSTUB(strncpy                                ,0xff922c60) //  1
 205 NHSTUB(strrchr                                ,0xff922ce4) //  1
 206 NHSTUB(strtol                                 ,0xff922438) //  1
 207 NHSTUB(isdigit                                ,0xff91eb6c) //  1
 208 NHSTUB(isspace                                ,0xff91ebe4) //  1
 209 NHSTUB(isalpha                                ,0xff91eb3c) //  1
 210 NHSTUB(isupper                                ,0xff91ebfc) //  1
 211 NHSTUB(islower                                ,0xff91eb9c) //  1
 212 NHSTUB(ispunct                                ,0xff91ebcc) //  1
 213 NHSTUB(isxdigit                               ,0xff91ec14) //  1
 214 NHSTUB(toupper                                ,0xff91ec3c) //  1
 215 NHSTUB(tolower                                ,0xff91ec2c) //  1
 216 NHSTUB(taskLock                               ,0xff934da8) //  1
 217 NHSTUB(taskUnlock                             ,0xff934e50) //  1
 218 NHSTUB(taskName                               ,0xff9345e4) //  1
 219 NHSTUB(errnoOfTaskGet                         ,0xff9251b8) //  1
 220 NHSTUB(readdir                                ,0xffb5fa04) //  1
 221 NHSTUB(strtoul                                ,0xff9225e0) //  1
 222 NHSTUB(strpbrk                                ,0xff922ca8) //  1
 223 NHSTUB(mktime                                 ,0xff923584) //  1
 224 NHSTUB(opendir                                ,0xffb5fa6c) //  1
 225 NHSTUB(memchr                                 ,0xff922768) //  1
 226 NHSTUB(memPartInfoGet                         ,0xff92a9c4) //  1
 227 NHSTUB(iosDrvInstall                          ,0xff928a48) //  1
 228 NHSTUB(iosDevAdd                              ,0xff928784) //  1
 229 NHSTUB(iosDevDelete                           ,0xff92875c) //  1
 230 NHSTUB(GetCurrentTargetDistance               ,0xffa5e0a8) //  1
 231 NHSTUB(taskCreateHookAdd                      ,0xff92d204) //  1
 232 NHSTUB(taskDeleteHookAdd                      ,0xff92d140) //  1
 233 NHSTUB(Unmount_FileSystem                     ,0xffaa4dbc) //  1
 234 NHSTUB(taskSuspend                            ,0xff9347f4) //  1
 235 NHSTUB(taskResume                             ,0xff9349c8) //  1
 236 NHSTUB(time                                   ,0xff924108) //  1
 237 NHSTUB(vsprintf                               ,0xff92630c) //115
 238 NHSTUB(EngDrvRead                             ,0xffa49290) //102
 239 NHSTUB(PTM_GetCurrentItem                     ,0xffb4371c) //102
 240 NHSTUB(CancelHPTimer                          ,0xff814658) //1100
 241 NHSTUB(SetHPTimerAfterNow                     ,0xff814170) //119
 242 NHSTUB(MFOn                                   ,0xffb17bec) //120
 243 NHSTUB(MFOff                                  ,0xffb17bfc) //120
 244 NHSTUB(GetAdChValue                           ,0xffa34024) //120
 245 NHSTUB(get_ptp_buf_size                       ,0xff9e41f8) //122
 246 NHSTUB(get_ptp_file_buf                       ,0xff9fcb0c) //121

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