root/platform/s2is/sub/100e/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.00E   // Found @ 0xff81ada0, "GM1.00E" @ 0xff81adad
   6 //   Firmware build timestamp: Apr 24 2005 11:34:13
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.03MB, should be 7.94MB
   9 //   Could not find Camera name - possible corrupt firmware dump
  10 
  11 // Values for makefile.inc
  12 //   MAXRAMADDR = 0x01ffffff
  13 //   MEMISOSTART = 0x0006ef50
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000f4b0 copied from 0xffb092a0 (  56240 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 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xff968150
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff96b6dc) //  1 70%    *** != 0xff9681a4
  23 NHSTUB(GetFocusLensSubjectDistance            ,0xffa8e96c) //  1 87%
  24 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffa8eef4
  25 NHSTUB(GetParameterData                       ,0xff987fe0) //  1 76%
  26 //NHSTUB(GetPropertyCase                      ,0xff825d04) //  2 71%    *** != 0xff825d08
  27 NHSTUB(GetSystemTime                          ,0xff814b98) //  1 96%
  28 //NHSTUB(GetZoomLensCurrentPoint              ,0xffa88160) //120        *** != 0xffaa87a4
  29 //NHSTUB(GetZoomLensCurrentPosition           ,0xffa88174) //102        *** != 0xffaa87b8
  30 NHSTUB(PutOutNdFilter                         ,0xffaa7130) //  1 94%
  31 //NHSTUB(Remove                               ,0xff8d2934) //  3 52%    *** != 0xff877380
  32 //NHSTUB(Restart                              ,0xff823de4) //  1 84%    *** != 0xff823de8
  33 NHSTUB(SetCurrentCaptureModeType              ,0xff9aed34) //  1 73%
  34 NHSTUB(SetFileAttributes                      ,0xff8774cc) //  1 58%
  35 //NHSTUB(SetParameterData                     ,0xff987fdc) //  1 66%    *** != 0xff987f0c
  36 // ERROR: SetPropertyCase is not found.                    //--- ---    *** != 0xff825c00
  37 NHSTUB(UpdateMBROnFlash                       ,0xff876480) //  1 96%
  38 // ERROR: WriteSDCard is not found.                        //--- ---    *** != 0x00000000
  39 NHSTUB(add_ptp_handler                        ,0xffa4bc48) //  1 96%
  40 // ERROR: free is not found.                               //--- ---    *** != 0xffaf750c
  41 // ERROR: kbd_p1_f is not found.                           //--- ---    *** != 0xff829470
  42 // ERROR: kbd_p1_f_cont is not found.                      //--- ---    *** != 0xff829484
  43 // ERROR: kbd_p2_f is not found.                           //--- ---    *** != 0xff829364
  44 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff829e58
  45 //NHSTUB(kbd_pwr_off                          ,0xff82b0d4) //  1 83%    *** != 0xff82ae84
  46 // ALT: NHSTUB(kbd_pwr_off, 0xff82b0f0) // 1 5/1
  47 // ALT: NHSTUB(kbd_pwr_off, 0xff82ae84) // 3 5/1
  48 // ALT: NHSTUB(kbd_pwr_off, 0xff82aea0) // 3 5/1
  49 // ALT: NHSTUB(kbd_pwr_off, 0xff82af70) // 3 5/1
  50 // ALT: NHSTUB(kbd_pwr_off, 0xff82af8c) // 3 5/1
  51 NHSTUB(kbd_pwr_on                             ,0xff9402d8) //  1 55%
  52 // ALT: NHSTUB(kbd_pwr_on, 0xff940304) // 1 5/4
  53 NHSTUB(malloc                                 ,0xffaf7500) //  1 53%
  54 NHSTUB(mkdir                                  ,0xff8774fc) //  1 61%
  55 // ALT: NHSTUB(mkdir, 0xff8775bc) // 1 19/12
  56 NHSTUB(taskIdListGet                          ,0xffb02664) //  1 82%
  57 NHSTUB(localtime                              ,0xffaeec54) //  1 93%
  58 // ERROR: Mount_FileSystem is not found.                   //--- ---    *** != 0xff876264
  59 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0x00000000
  60 
  61 // Check of modemap from 'platform/CAMERA/shooting.c':
  62 // Firmware modemap table found @ff983778 -> ff983778
  63 // Strange mode 0x00020011 in firmware but not in current modemap
  64 // Strange mode 0x00030012 in firmware but not in current modemap
  65 
  66 // Values below can be overridden in 'stubs_min.S':
  67 DEF(levent_table                            ,0xff97d92c) // Found @0xff97d92c
  68 DEF(FlashParamsTable                        ,0xff9858a0) // Found @0xff9858a0
  69 DEF(fileio_semaphore                        ,0x00003418) // Found @0xff874694
  70 DEF(exmem_alloc_table                       ,0x00001c30) // Found @0xff812278
  71 DEF(exmem_types_table                       ,0xff8120d0) // Found @0xff8120d0
  72 DEF_CONST(exmem_type_count                  ,0x0000000c)
  73 DEF(imager_active                           ,0x00003a40) // Found @0xff8d7140 (0x3a40 + 0)
  74 DEF_CONST(uiprop_count                      ,0x0000004f) // Found @0xff987598
  75 
  76 // Values below go in 'lib.c':
  77 //int get_flash_params_count(void) { return 0x55; }                          // Found @0xff98804c
  78 
  79 // Values below go in 'platform_camera.h':
  80 //#define PARAM_CAMERA_NAME 2 // Found @0xff985218
  81 
  82 // Misc stuff
  83 
  84 // EXMEM types:
  85 // EXMEM_RAMDISK   0
  86 // EXMEM_COM       1
  87 // EXMEM_FORMATTER 2
  88 // EXMEM_SHADING   3
  89 // EXMEM_FAMODE    4
  90 // EXMEM_FIRMUP    5
  91 // EXMEM_FILESTORE 6
  92 // EXMEM_MOVIE_REC 7
  93 // EXMEM_MOVIE_PLY 8
  94 // EXMEM_WIDE      9
  95 // EXMEM_NARROW    10
  96 // EXMEM_PCEVF     11
  97 
  98 // LED table init @ 0xff82ecb0
  99 // LED #1: 0xc022008c, offset 0x104
 100 // LED #2: 0xc0220088, offset 0x144
 101 // LED #3: 0xc02200fc, offset 0x1c4
 102 
 103 // Stubs below matched 100%.
 104 //    Name                                     Address                Comp to stubs_entry_2.S
 105 NHSTUB(AllocateUncacheableMemory              ,0xff814810) //  1
 106 NHSTUB(Close                                  ,0xff877374) //120
 107 NHSTUB(CreateBinarySemaphore                  ,0xff82176c) //115
 108 NHSTUB(CreateTask                             ,0xff82239c) //120
 109 NHSTUB(DebugAssert                            ,0xff813d58) //1100
 110 NHSTUB(DeleteFile_Fut                         ,0xff86fbf4) //  1
 111 NHSTUB(DoAELock                               ,0xff96826c) //120
 112 NHSTUB(DoAFLock                               ,0xff967f70) //120
 113 NHSTUB(ExecuteEventProcedure                  ,0xff816ab4) //  1
 114 NHSTUB(ExitTask                               ,0xff82275c) //120
 115 NHSTUB(Fclose_Fut                             ,0xff86fd34) //  1
 116 NHSTUB(Feof_Fut                               ,0xff86ff48) //  1
 117 NHSTUB(Fflush_Fut                             ,0xff86ff80) //  1
 118 NHSTUB(Fgets_Fut                              ,0xff86feb8) //  1
 119 NHSTUB(Fopen_Fut                              ,0xff86fcf8) //  1
 120 NHSTUB(Fread_Fut                              ,0xff86fe18) //  1
 121 NHSTUB(FreeUncacheableMemory                  ,0xff814844) //  1
 122 NHSTUB(Fseek_Fut                              ,0xff86ff00) //  1
 123 NHSTUB(Fwrite_Fut                             ,0xff86fe68) //  1
 124 NHSTUB(GetBatteryTemperature                  ,0xff82e368) //102
 125 NHSTUB(GetCCDTemperature                      ,0xff82e354) //102
 126 NHSTUB(GetCurrentAvValue                      ,0xffaa6cc4) //120
 127 NHSTUB(GetCurrentShutterSpeed                 ,0xffaa6918) //120
 128 NHSTUB(GetUsableMaxAv                         ,0xffaa6ef0) //120
 129 NHSTUB(GetUsableMinAv                         ,0xffaa6ecc) //120
 130 NHSTUB(GetDrive_ClusterSize                   ,0xff8767a0) //119
 131 NHSTUB(GetDrive_FreeClusters                  ,0xff876838) //1103
 132 NHSTUB(GetDrive_TotalClusters                 ,0xff8767fc) //119
 133 NHSTUB(GetOpticalTemperature                  ,0xff82e340) //120
 134 NHSTUB(GiveSemaphore                          ,0xff821d54) //120
 135 NHSTUB(IsStrobeChargeCompleted                ,0xff912f08) //  1
 136 NHSTUB(LEDDrive                               ,0xff82e880) //120
 137 NHSTUB(LocalTime                              ,0xff8144d8) //115
 138 NHSTUB(LockMainPower                          ,0xff9834f0) //120
 139 NHSTUB(MakeDirectory_Fut                      ,0xff86fc80) //  1
 140 NHSTUB(MoveFocusLensToDistance                ,0xffaa8eb0) //102
 141 NHSTUB(MoveZoomLensWithPoint                  ,0xffa87f80) //120
 142 NHSTUB(Open                                   ,0xff877368) //120
 143 NHSTUB(PT_PlaySound                           ,0xff97bd40) //  1
 144 NHSTUB(PostLogicalEventForNotPowerType        ,0xff980180) //120
 145 NHSTUB(PostLogicalEventToUI                   ,0xff98020c) //120
 146 NHSTUB(PutInNdFilter                          ,0xffaa6cd8) //  2
 147 // ALT: NHSTUB(PutInNdFilter, 0xffaa6d20) // 2 27/0
 148 NHSTUB(Read                                   ,0xff8773d4) //120
 149 NHSTUB(RefreshPhysicalScreen                  ,0xff9988dc) //120
 150 NHSTUB(RenameFile_Fut                         ,0xff86fb74) //  1
 151 NHSTUB(SetAE_ShutterSpeed                     ,0xffaabd8c) //102
 152 NHSTUB(SetAutoShutdownTime                    ,0xff9833e8) //120
 153 NHSTUB(SetLogicalEventActive                  ,0xff981990) //1104
 154 NHSTUB(SetScriptMode                          ,0xff9819f4) //120
 155 NHSTUB(SleepTask                              ,0xff8221fc) //120
 156 NHSTUB(TakeSemaphore                          ,0xff821b6c) //1101
 157 NHSTUB(TurnOffBackLight                       ,0xff9cbf00) //  1
 158 NHSTUB(TurnOnBackLight                        ,0xff9cbed4) //  1
 159 NHSTUB(TurnOnDisplay                          ,0xff93d078) //120
 160 NHSTUB(TurnOffDisplay                         ,0xff93d088) //120
 161 NHSTUB(UnlockAE                               ,0xff9682c0) //120
 162 NHSTUB(UnlockAF                               ,0xff96804c) //120
 163 NHSTUB(UnlockMainPower                        ,0xff9835a4) //120
 164 NHSTUB(VbattGet                               ,0xff82d570) //120
 165 NHSTUB(Write                                  ,0xff8773e0) //120
 166 NHSTUB(_log                                   ,0xffae0a40) //121
 167 NHSTUB(_log10                                 ,0xffae10e8) //121
 168 NHSTUB(_pow                                   ,0xffae15d8) //121
 169 NHSTUB(_sqrt                                  ,0xffae5924) //  1
 170 NHSTUB(apex2us                                ,0xff8bbe50) //  1
 171 NHSTUB(close                                  ,0xffaf44c0) //109
 172 NHSTUB(exmem_alloc                            ,0xff812a74) //122
 173 NHSTUB(exmem_free                             ,0xff812ac0) //122
 174 NHSTUB(get_nd_value                           ,0xffa7eea0) //120
 175 NHSTUB(get_current_nd_value                   ,0xffa7ee8c) //120
 176 NHSTUB(lseek                                  ,0xffaf4604) //  1
 177 NHSTUB(memcmp                                 ,0xffaee034) //120
 178 NHSTUB(memcpy                                 ,0xffaee070) //120
 179 NHSTUB(memset                                 ,0xffaee0e8) //120
 180 NHSTUB(open                                   ,0xffaf4b04) //  1
 181 NHSTUB(closedir                               ,0xffaf0460) //  1
 182 NHSTUB(qsort                                  ,0xffaed894) //  1
 183 NHSTUB(rand                                   ,0xffaed8b8) //  1
 184 NHSTUB(realloc                                ,0xffad7534) //115
 185 NHSTUB(srand                                  ,0xffaed8dc) //  1
 186 NHSTUB(stat                                   ,0xffaf0528) //  1
 187 NHSTUB(strcat                                 ,0xffaee108) //  1
 188 NHSTUB(strchr                                 ,0xffaee134) //  1
 189 NHSTUB(strcmp                                 ,0xffaee158) //120
 190 NHSTUB(strcpy                                 ,0xffaee2ec) //120
 191 NHSTUB(strftime                               ,0xffaef974) //  1
 192 NHSTUB(strlen                                 ,0xffaee450) //120
 193 NHSTUB(strncmp                                ,0xffaee4b4) //  1
 194 NHSTUB(strncpy                                ,0xffaee4f8) //  1
 195 NHSTUB(strrchr                                ,0xffaee57c) //  1
 196 NHSTUB(strtol                                 ,0xffaedcd0) //  1
 197 NHSTUB(isdigit                                ,0xffaea404) //  1
 198 NHSTUB(isspace                                ,0xffaea47c) //  1
 199 NHSTUB(isalpha                                ,0xffaea3d4) //  1
 200 NHSTUB(isupper                                ,0xffaea494) //  1
 201 NHSTUB(islower                                ,0xffaea434) //  1
 202 NHSTUB(ispunct                                ,0xffaea464) //  1
 203 NHSTUB(isxdigit                               ,0xffaea4ac) //  1
 204 NHSTUB(toupper                                ,0xffaea4d4) //  1
 205 NHSTUB(tolower                                ,0xffaea4c4) //  1
 206 NHSTUB(taskLock                               ,0xffb02d20) //  1
 207 NHSTUB(taskUnlock                             ,0xffb02dc8) //  1
 208 NHSTUB(taskName                               ,0xffb0255c) //  1
 209 NHSTUB(errnoOfTaskGet                         ,0xffaf0c2c) //  1
 210 NHSTUB(readdir                                ,0xffaf042c) //  1
 211 NHSTUB(strtoul                                ,0xffaede78) //  1
 212 NHSTUB(strpbrk                                ,0xffaee540) //  1
 213 NHSTUB(utime                                  ,0xffaf05bc) //  1
 214 NHSTUB(mktime                                 ,0xffaeee1c) //  1
 215 NHSTUB(opendir                                ,0xffaf0494) //  1
 216 NHSTUB(memchr                                 ,0xffaee000) //  1
 217 NHSTUB(memPartInfoGet                         ,0xffaf7920) //  1
 218 NHSTUB(iosDrvInstall                          ,0xffaf59a4) //  1
 219 NHSTUB(iosDevAdd                              ,0xffaf56e0) //  1
 220 NHSTUB(iosDevDelete                           ,0xffaf56b8) //  1
 221 NHSTUB(GetCurrentTargetDistance               ,0xffaa8c20) //  1
 222 NHSTUB(taskCreateHookAdd                      ,0xffafab80) //  1
 223 NHSTUB(taskDeleteHookAdd                      ,0xffafaabc) //  1
 224 NHSTUB(Unmount_FileSystem                     ,0xff8762d4) //  1
 225 NHSTUB(taskSuspend                            ,0xffb0276c) //  1
 226 NHSTUB(taskResume                             ,0xffb02940) //  1
 227 NHSTUB(time                                   ,0xffaef9a0) //  1
 228 NHSTUB(vsprintf                               ,0xffaf1d80) //115
 229 NHSTUB(EngDrvRead                             ,0xff88b540) //102
 230 NHSTUB(PTM_GetCurrentItem                     ,0xff985ed8) //102
 231 NHSTUB(CancelHPTimer                          ,0xff815b98) //119
 232 NHSTUB(SetHPTimerAfterNow                     ,0xff815724) //119
 233 NHSTUB(GetAdChValue                           ,0xff82b848) //120

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