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

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