root/platform/tx1/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 @ 0xff8180ac, "GM1.00G" @ 0xff8180b9
   6 //   Firmware build timestamp: Feb  8 2007 09:02:47
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.73MB, 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 = 0x03ffffff
  14 //   MEMISOSTART = 0x000b84d0
  15 
  16 // Detected address ranges:
  17 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  18 // RAM data 0x00001900 - 0x0000e7a0 copied from 0xffbbe510 (  52896 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                 ,0xffb268b8) //  3 96%
  23 NHSTUB(FreeUncacheableMemory                  ,0xff81e698) //  1 90%
  24 //NHSTUB(GetFocusLensSubjectDistance          ,0xffaea650) //  1 74%    *** != 0xffaea654
  25 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffaeab54
  26 NHSTUB(GetParameterData                       ,0xffb66b94) //  1 86%
  27 NHSTUB(GetPropertyCase                        ,0xff81bd58) //  2 89%
  28 NHSTUB(GetSystemTime                          ,0xff813770) //  1 96%
  29 NHSTUB(PutInNdFilter                          ,0xffa63994) //  1 92%
  30 NHSTUB(PutOutNdFilter                         ,0xffa639dc) //  1 94%
  31 NHSTUB(Restart                                ,0xff81b80c) //  1 96%
  32 NHSTUB(SetParameterData                       ,0xffb66ab4) //  1 86%
  33 NHSTUB(add_ptp_handler                        ,0xff9f6390) //  1 96%
  34 // ERROR: free is not found.                               //--- ---    *** != 0xff92b488
  35 NHSTUB(kbd_p2_f                               ,0xffa43350) //  1 56%
  36 //NHSTUB(kbd_read_keys_r2                     ,0xffa445c4) //  1 76%    *** != 0xffa444fc
  37 NHSTUB(kbd_pwr_off                            ,0xffa421f0) //  1 83%
  38 // ALT: NHSTUB(kbd_pwr_off, 0xffa4220c) // 1 5/1
  39 NHSTUB(kbd_pwr_on                             ,0xffa39b2c) //  1 55%
  40 // ALT: NHSTUB(kbd_pwr_on, 0xffa39b58) // 1 5/4
  41 NHSTUB(malloc                                 ,0xff92b47c) //  1 53%
  42 NHSTUB(mkdir                                  ,0xffaaeec4) //  1 51%
  43 // ALT: NHSTUB(mkdir, 0xffaaef98) // 1 16/15
  44 NHSTUB(taskIdListGet                          ,0xff9355c4) //  1 82%
  45 NHSTUB(utime                                  ,0xffb7cd84) //  1 57%
  46 NHSTUB(localtime                              ,0xff924294) //  1 93%
  47 NHSTUB(Mount_FileSystem                       ,0xffaadf80) //  3 93%
  48 NHSTUB(MakeAFScan                             ,0xffb2c7e4) //  2 79%
  49 
  50 // Check of modemap from 'platform/CAMERA/shooting.c':
  51 // Firmware modemap table found @ffb68d28 -> ffb68d28
  52 // No problems found with modemap table.
  53 
  54 // Values below can be overridden in 'stubs_min.S':
  55 DEF(levent_table                            ,0xffb5bf2c) // Found @0xffb5bf2c
  56 DEF(FlashParamsTable                        ,0xffb6aecc) // Found @0xffb6aecc
  57 DEF(fileio_semaphore                        ,0x0000a348) // Found @0xffab1320
  58 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xff81da5c
  59 DEF(exmem_types_table                       ,0xff81d87c) // Found @0xff81d87c
  60 DEF_CONST(exmem_type_count                  ,0x00000011)
  61 DEF(imager_active                           ,0x00006c44) // Found @0xff9be1d0 (0x6c44 + 0)
  62 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffb65c94
  63 
  64 // Values below go in 'lib.c':
  65 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffb66c00
  66 
  67 // Values below go in 'platform_camera.h':
  68 //#define PARAM_CAMERA_NAME 4 // Found @0xffb6a65c
  69 
  70 // Misc stuff
  71 
  72 // EXMEM types:
  73 // EXMEM_RAMDISK   0
  74 // EXMEM_COM       1
  75 // EXMEM_COMTMP    2
  76 // EXMEM_FORMATTER 3
  77 // EXMEM_SHADING   4
  78 // EXMEM_FAMODE    5
  79 // EXMEM_FIRMUP    6
  80 // EXMEM_DVLPWORK  7
  81 // EXMEM_EVF       8
  82 // EXMEM_SCRIPT    9
  83 // EXMEM_FILESTORE 10
  84 // EXMEM_MOVIE_REC 11
  85 // EXMEM_MOVIE_PLY 12
  86 // EXMEM_WIDE      13
  87 // EXMEM_NARROW    14
  88 // EXMEM_CRAW_REC  15
  89 // EXMEM_PCEVF     16
  90 
  91 // LED table init @ 0xffa42cb8
  92 
  93 // Stubs below matched 100%.
  94 //    Name                                     Address                Comp to stubs_entry_2.S
  95 NHSTUB(AllocateUncacheableMemory              ,0xff81e664) //  1
  96 NHSTUB(Close                                  ,0xffaaec5c) //120
  97 NHSTUB(CreateBinarySemaphore                  ,0xffb410b0) //115
  98 NHSTUB(CreateTask                             ,0xffb41ac8) //120
  99 NHSTUB(DebugAssert                            ,0xffb4d970) //1100
 100 NHSTUB(DeleteFile_Fut                         ,0xffaaa230) //  1
 101 NHSTUB(DoAELock                               ,0xffb26a44) //120
 102 NHSTUB(DoAFLock                               ,0xffb26510) //120
 103 NHSTUB(ExecuteEventProcedure                  ,0xff814adc) //  1
 104 NHSTUB(ExitFromCompensationEVF                ,0xffb2693c) //  3
 105 NHSTUB(ExitTask                               ,0xffb41e88) //120
 106 NHSTUB(Fclose_Fut                             ,0xffaaa3a4) //120
 107 NHSTUB(Feof_Fut                               ,0xffaaa5a0) //  3
 108 NHSTUB(Fflush_Fut                             ,0xffaaa5dc) //  3
 109 NHSTUB(Fgets_Fut                              ,0xffaaa508) //  3
 110 NHSTUB(Fopen_Fut                              ,0xffaaa364) //120
 111 NHSTUB(Fread_Fut                              ,0xffaaa460) //120
 112 NHSTUB(Fseek_Fut                              ,0xffaaa554) //120
 113 NHSTUB(Fwrite_Fut                             ,0xffaaa4b4) //120
 114 NHSTUB(GetBatteryTemperature                  ,0xffa48d00) //102
 115 NHSTUB(GetCCDTemperature                      ,0xffa48cec) //102
 116 NHSTUB(GetCurrentAvValue                      ,0xffa63518) //120
 117 NHSTUB(GetCurrentShutterSpeed                 ,0xffa6317c) //120
 118 NHSTUB(GetUsableMaxAv                         ,0xffa637d4) //120
 119 NHSTUB(GetUsableMinAv                         ,0xffa637b0) //120
 120 NHSTUB(GetDrive_ClusterSize                   ,0xffaae448) //119
 121 NHSTUB(GetDrive_FreeClusters                  ,0xffaae4c0) //1103
 122 NHSTUB(GetDrive_TotalClusters                 ,0xffaae484) //119
 123 NHSTUB(GetOpticalTemperature                  ,0xffa48cd8) //120
 124 NHSTUB(GetZoomLensCurrentPoint                ,0xffaff734) //120
 125 NHSTUB(GetZoomLensCurrentPosition             ,0xffaff748) //102
 126 NHSTUB(GiveSemaphore                          ,0xffb41694) //120
 127 NHSTUB(IsStrobeChargeCompleted                ,0xff9b8f54) //  2
 128 NHSTUB(LEDDrive                               ,0xffa42820) //120
 129 NHSTUB(LocalTime                              ,0xffb4e23c) //115
 130 NHSTUB(LockMainPower                          ,0xffb63880) //120
 131 NHSTUB(MakeDirectory_Fut                      ,0xffaaa2e4) //  3
 132 NHSTUB(MoveFocusLensToDistance                ,0xffa6624c) //102
 133 NHSTUB(MoveIrisWithAv                         ,0xffaf2548) //120
 134 NHSTUB(MoveZoomLensWithPoint                  ,0xffaff658) //120
 135 NHSTUB(Open                                   ,0xffaaec34) //120
 136 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffb3883c) //120
 137 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffb38800) //120
 138 NHSTUB(PT_PlaySound                           ,0xffb38300) //  3
 139 NHSTUB(PostLogicalEventForNotPowerType        ,0xffb5f498) //120
 140 NHSTUB(PostLogicalEventToUI                   ,0xffb5f514) //120
 141 NHSTUB(Read                                   ,0xffaaecf0) //120
 142 NHSTUB(RefreshPhysicalScreen                  ,0xff916bd8) //120
 143 NHSTUB(RenameFile_Fut                         ,0xffaaa188) //  3
 144 NHSTUB(SetAE_ShutterSpeed                     ,0xffa698f8) //102
 145 NHSTUB(SetAutoShutdownTime                    ,0xffb63784) //120
 146 NHSTUB(SetCurrentCaptureModeType              ,0xff829c58) //120
 147 NHSTUB(SetFileAttributes                      ,0xffaaee44) //  3
 148 NHSTUB(SetLogicalEventActive                  ,0xffb61390) //1104
 149 NHSTUB(SetPropertyCase                        ,0xff81bc20) //  3
 150 NHSTUB(SetScriptMode                          ,0xffb613f4) //120
 151 NHSTUB(SleepTask                              ,0xffb419dc) //120
 152 NHSTUB(TakeSemaphore                          ,0xffb4148c) //1101
 153 NHSTUB(TurnOffBackLight                       ,0xff848a6c) //  2
 154 NHSTUB(TurnOnBackLight                        ,0xff848a3c) //  2
 155 NHSTUB(TurnOnDisplay                          ,0xffa368a4) //120
 156 NHSTUB(TurnOffDisplay                         ,0xffa368b4) //120
 157 NHSTUB(UnlockAE                               ,0xffb26a94) //120
 158 NHSTUB(UnlockAF                               ,0xffb26590) //120
 159 NHSTUB(UnlockMainPower                        ,0xffb63918) //120
 160 NHSTUB(UpdateMBROnFlash                       ,0xffaae17c) //  1
 161 NHSTUB(VbattGet                               ,0xffa409cc) //120
 162 NHSTUB(Write                                  ,0xffaaecfc) //120
 163 NHSTUB(WriteSDCard                            ,0xffac0ff8) //  3
 164 NHSTUB(_log                                   ,0xff91e554) //121
 165 NHSTUB(_log10                                 ,0xff91ac9c) //121
 166 NHSTUB(_pow                                   ,0xff91ae1c) //121
 167 NHSTUB(_sqrt                                  ,0xff91ccdc) //  1
 168 NHSTUB(apex2us                                ,0xff93c8cc) //  1
 169 NHSTUB(close                                  ,0xff92843c) //109
 170 NHSTUB(exmem_alloc                            ,0xff81e540) //102
 171 NHSTUB(exmem_ualloc                           ,0xff81e370) //102
 172 NHSTUB(exmem_ufree                            ,0xff81e440) //102
 173 NHSTUB(kbd_p1_f                               ,0xffa42f28) //  1
 174 NHSTUB(kbd_p1_f_cont                          ,0xffa42f34) //109
 175 NHSTUB(lseek                                  ,0xff928580) //  1
 176 NHSTUB(memcmp                                 ,0xff923674) //120
 177 NHSTUB(memcpy                                 ,0xff9236b0) //120
 178 NHSTUB(memset                                 ,0xff923728) //120
 179 NHSTUB(open                                   ,0xff928a80) //109
 180 NHSTUB(closedir                               ,0xffb7cc28) //  1
 181 NHSTUB(qsort                                  ,0xff922ed4) //  1
 182 NHSTUB(rand                                   ,0xff922ef8) //  1
 183 NHSTUB(realloc                                ,0xffb4d57c) //115
 184 NHSTUB(srand                                  ,0xff922f1c) //  1
 185 NHSTUB(stat                                   ,0xffb7ccf0) //  1
 186 NHSTUB(strcat                                 ,0xff923748) //  1
 187 NHSTUB(strchr                                 ,0xff923774) //  1
 188 NHSTUB(strcmp                                 ,0xff923798) //120
 189 NHSTUB(strcpy                                 ,0xff92392c) //120
 190 NHSTUB(strftime                               ,0xff924fb4) //  1
 191 NHSTUB(strlen                                 ,0xff923a90) //120
 192 NHSTUB(strncmp                                ,0xff923af4) //  1
 193 NHSTUB(strncpy                                ,0xff923b38) //  1
 194 NHSTUB(strrchr                                ,0xff923bbc) //  1
 195 NHSTUB(strtol                                 ,0xff923310) //  1
 196 NHSTUB(isdigit                                ,0xff91fa44) //  1
 197 NHSTUB(isspace                                ,0xff91fabc) //  1
 198 NHSTUB(isalpha                                ,0xff91fa14) //  1
 199 NHSTUB(isupper                                ,0xff91fad4) //  1
 200 NHSTUB(islower                                ,0xff91fa74) //  1
 201 NHSTUB(ispunct                                ,0xff91faa4) //  1
 202 NHSTUB(isxdigit                               ,0xff91faec) //  1
 203 NHSTUB(toupper                                ,0xff91fb14) //  1
 204 NHSTUB(tolower                                ,0xff91fb04) //  1
 205 NHSTUB(taskLock                               ,0xff935c80) //  1
 206 NHSTUB(taskUnlock                             ,0xff935d28) //  1
 207 NHSTUB(taskName                               ,0xff9354bc) //  1
 208 NHSTUB(errnoOfTaskGet                         ,0xff926090) //  1
 209 NHSTUB(readdir                                ,0xffb7cbf4) //  1
 210 NHSTUB(strtoul                                ,0xff9234b8) //  1
 211 NHSTUB(strpbrk                                ,0xff923b80) //  1
 212 NHSTUB(mktime                                 ,0xff92445c) //  1
 213 NHSTUB(opendir                                ,0xffb7cc5c) //  1
 214 NHSTUB(memchr                                 ,0xff923640) //  1
 215 NHSTUB(memPartInfoGet                         ,0xff92b89c) //  1
 216 NHSTUB(iosDrvInstall                          ,0xff929920) //  1
 217 NHSTUB(iosDevAdd                              ,0xff92965c) //  1
 218 NHSTUB(iosDevDelete                           ,0xff929634) //  1
 219 NHSTUB(GetCurrentTargetDistance               ,0xffa65fb4) //  1
 220 NHSTUB(taskCreateHookAdd                      ,0xff92e0dc) //  1
 221 NHSTUB(taskDeleteHookAdd                      ,0xff92e018) //  1
 222 NHSTUB(Unmount_FileSystem                     ,0xffaae028) //  1
 223 NHSTUB(taskSuspend                            ,0xff9356cc) //  1
 224 NHSTUB(taskResume                             ,0xff9358a0) //  1
 225 NHSTUB(time                                   ,0xff924fe0) //  1
 226 NHSTUB(vsprintf                               ,0xff9271e4) //115
 227 NHSTUB(EngDrvRead                             ,0xffa50c64) //102
 228 NHSTUB(PTM_GetCurrentItem                     ,0xffb64790) //102
 229 NHSTUB(CancelHPTimer                          ,0xff8146c8) //1100
 230 NHSTUB(SetHPTimerAfterNow                     ,0xff8141e0) //119
 231 NHSTUB(MFOn                                   ,0xffb391e4) //120
 232 NHSTUB(MFOff                                  ,0xffb391f4) //120
 233 NHSTUB(GetAdChValue                           ,0xffa3d89c) //120
 234 NHSTUB(get_ptp_buf_size                       ,0xff9eba8c) //122
 235 NHSTUB(get_ptp_file_buf                       ,0xffa043a0) //121

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