root/platform/g7/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 @ 0xff81a738, "GM1.00E" @ 0xff81a745
   6 //   Firmware build timestamp: Aug  9 2006 10:53:01
   7 //   Possible corrupt firmware dump - file size too small for start address 0xff810000
   8 //     file size = 3.94MB, 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 = 0x000a7910
  14 
  15 // Detected address ranges:
  16 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  17 // RAM data 0x00001900 - 0x0000ef10 copied from 0xffbb18f0 (  54800 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               ,0xff99b188) //  2 87%    *** != 0x00000000
  22 //NHSTUB(ExitFromCompensationEVF              ,0xff99f044) //  2 66%    *** != 0x00000000
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f0a0) // 2 20/10
  24 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f15c) // 2 20/10
  25 NHSTUB(GetFocusLensSubjectDistance            ,0xffb3d81c) //  1 83%
  26 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffb3dd88) //  2 92%
  27 NHSTUB(GetPropertyCase                        ,0xff8258d4) //  2 92%
  28 NHSTUB(GetSystemTime                          ,0xff8150d8) //  1 96%
  29 NHSTUB(PutInNdFilter                          ,0xffb50450) //  1 92%
  30 NHSTUB(PutOutNdFilter                         ,0xffb50498) //  1 94%
  31 //NHSTUB(Remove                               ,0xff8e7ac8) //  3 52%
  32 //NHSTUB(Restart                              ,0xff823ac0) //  1 92%    *** != 0xff823abc
  33 NHSTUB(UnsetZoomForMovie                      ,0xff9f6ba4) //  1 89%
  34 //NHSTUB(WriteSDCard                          ,0xff88bcd0) //  2 93%    *** != 0xff88be6c
  35 NHSTUB(add_ptp_handler                        ,0xffaef02c) //  1 96%
  36 // ERROR: free is not found.                               //--- ---    *** != 0xffb9ea6c
  37 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff828e70
  38 NHSTUB(kbd_pwr_off                            ,0xff82ab3c) //  1 83%
  39 // ALT: NHSTUB(kbd_pwr_off, 0xff82ab58) // 1 5/1
  40 NHSTUB(kbd_pwr_on                             ,0xff9670e0) //  1 55%
  41 // ALT: NHSTUB(kbd_pwr_on, 0xff96710c) // 1 5/4
  42 NHSTUB(malloc                                 ,0xffb9ea60) //  1 53%
  43 NHSTUB(taskIdListGet                          ,0xffbab688) //  1 82%
  44 NHSTUB(localtime                              ,0xffb9769c) //  1 93%
  45 NHSTUB(Mount_FileSystem                       ,0xff87be74) //  1 90%
  46 NHSTUB(MakeAFScan                             ,0xff9a04e0) //  2 79%
  47 
  48 // Check of modemap from 'platform/CAMERA/shooting.c':
  49 // Firmware modemap table found @ff9b62b0 -> ff9b62b0
  50 // Mode  8222 in firmware but not in current modemap
  51 // Mode  8223 in firmware but not in current modemap
  52 
  53 // Values below can be overridden in 'stubs_min.S':
  54 DEF(levent_table                            ,0xff9ae7d4) // Found @0xff9ae7d4
  55 DEF(FlashParamsTable                        ,0xff9b8d0c) // Found @0xff9b8d0c
  56 DEF(fileio_semaphore                        ,0x00002984) // Found @0xff87a218
  57 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xff811f28
  58 DEF(exmem_types_table                       ,0xff811d3c) // Found @0xff811d3c
  59 DEF_CONST(exmem_type_count                  ,0x0000000e)
  60 DEF(imager_active                           ,0x00005a60) // Found @0xff8eb40c (0x5a60 + 0)
  61 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xff9babbc
  62 
  63 // Values below go in 'lib.c':
  64 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xff9bbdcc
  65 
  66 // Values below go in 'platform_camera.h':
  67 //#define PARAM_CAMERA_NAME 4 // Found @0xff9b84ac
  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_FILESTORE 8
  81 // EXMEM_MOVIE_REC 9
  82 // EXMEM_MOVIE_PLY 10
  83 // EXMEM_WIDE      11
  84 // EXMEM_NARROW    12
  85 // EXMEM_PCEVF     13
  86 
  87 // LED table init @ 0xff82f464
  88 // LED #1: 0xc0220068, offset 0xc4
  89 // LED #2: 0xc022006c, offset 0x204
  90 // LED #3: 0xc0220094, offset 0x244
  91 // LED #4: 0xc02200b0, offset 0x384
  92 
  93 // Stubs below matched 100%.
  94 //    Name                                     Address                Comp to stubs_entry_2.S
  95 NHSTUB(AllocateUncacheableMemory              ,0xff814ea0) //  1
  96 NHSTUB(Close                                  ,0xff87cb4c) //120
  97 NHSTUB(CreateBinarySemaphore                  ,0xff821be4) //115
  98 NHSTUB(CreateTask                             ,0xff822594) //120
  99 NHSTUB(DebugAssert                            ,0xff813d70) //1100
 100 NHSTUB(DeleteFile_Fut                         ,0xff875a0c) //  1
 101 NHSTUB(DoAELock                               ,0xff99b228) //120
 102 NHSTUB(DoAFLock                               ,0xff99af54) //120
 103 NHSTUB(ExecuteEventProcedure                  ,0xff816d3c) //  1
 104 NHSTUB(ExitTask                               ,0xff822954) //120
 105 NHSTUB(Fclose_Fut                             ,0xff875b80) //120
 106 NHSTUB(Feof_Fut                               ,0xff875d7c) //  3
 107 NHSTUB(Fflush_Fut                             ,0xff875db8) //  3
 108 NHSTUB(Fgets_Fut                              ,0xff875ce4) //  3
 109 NHSTUB(Fopen_Fut                              ,0xff875b40) //120
 110 NHSTUB(Fread_Fut                              ,0xff875c3c) //120
 111 NHSTUB(FreeUncacheableMemory                  ,0xff814ed4) //  1
 112 NHSTUB(Fseek_Fut                              ,0xff875d30) //120
 113 NHSTUB(Fwrite_Fut                             ,0xff875c90) //120
 114 NHSTUB(GetBatteryTemperature                  ,0xff82eb20) //102
 115 NHSTUB(GetCCDTemperature                      ,0xff82eb0c) //102
 116 NHSTUB(GetCurrentAvValue                      ,0xffb4ffc0) //120
 117 NHSTUB(GetCurrentShutterSpeed                 ,0xffb4fc14) //120
 118 NHSTUB(GetUsableMaxAv                         ,0xffb5027c) //120
 119 NHSTUB(GetUsableMinAv                         ,0xffb50258) //120
 120 NHSTUB(GetDrive_ClusterSize                   ,0xff87c338) //119
 121 NHSTUB(GetDrive_FreeClusters                  ,0xff87c3b0) //1103
 122 NHSTUB(GetDrive_TotalClusters                 ,0xff87c374) //119
 123 NHSTUB(GetOpticalTemperature                  ,0xff82eaf8) //120
 124 NHSTUB(GetParameterData                       ,0xff9bbd60) //  2
 125 NHSTUB(GetZoomLensCurrentPoint                ,0xffb29c20) //120
 126 NHSTUB(GetZoomLensCurrentPosition             ,0xffb29c34) //102
 127 NHSTUB(GiveSemaphore                          ,0xff82218c) //120
 128 NHSTUB(IsStrobeChargeCompleted                ,0xff939f1c) //  2
 129 NHSTUB(LEDDrive                               ,0xff82f078) //120
 130 NHSTUB(LocalTime                              ,0xff8143f8) //115
 131 NHSTUB(LockMainPower                          ,0xff9b6050) //120
 132 NHSTUB(MakeDirectory_Fut                      ,0xff875ac0) //  3
 133 NHSTUB(MoveFocusLensToDistance                ,0xffb52778) //102
 134 NHSTUB(MoveZoomLensWithPoint                  ,0xffb29b00) //120
 135 NHSTUB(Open                                   ,0xff87cb24) //120
 136 NHSTUB(PT_PlaySound                           ,0xff9ac9d0) //  1
 137 NHSTUB(PostLogicalEventForNotPowerType        ,0xff9b18e0) //120
 138 NHSTUB(PostLogicalEventToUI                   ,0xff9b195c) //120
 139 NHSTUB(Read                                   ,0xff87cbe0) //120
 140 NHSTUB(RefreshPhysicalScreen                  ,0xff9ce274) //120
 141 NHSTUB(RenameFile_Fut                         ,0xff875964) //  3
 142 NHSTUB(SetAE_ShutterSpeed                     ,0xffb5544c) //102
 143 NHSTUB(SetAutoShutdownTime                    ,0xff9b5f54) //120
 144 NHSTUB(SetCurrentCaptureModeType              ,0xff9e9dd8) //120
 145 NHSTUB(SetFileAttributes                      ,0xff87cd74) //  1
 146 NHSTUB(SetLogicalEventActive                  ,0xff9b387c) //1104
 147 NHSTUB(SetParameterData                       ,0xff9bbc80) //  2
 148 NHSTUB(SetPropertyCase                        ,0xff825784) //  2
 149 NHSTUB(SetScriptMode                          ,0xff9b38e4) //120
 150 NHSTUB(SleepTask                              ,0xff8224a8) //120
 151 NHSTUB(TakeSemaphore                          ,0xff821fa4) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffa12e4c) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffa12e1c) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xff964860) //120
 155 NHSTUB(TurnOffDisplay                         ,0xff964870) //120
 156 NHSTUB(UnlockAE                               ,0xff99b248) //120
 157 NHSTUB(UnlockAF                               ,0xff99afc8) //120
 158 NHSTUB(UnlockMainPower                        ,0xff9b60e8) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xff87c06c) //  1
 160 NHSTUB(VbattGet                               ,0xff82d9bc) //120
 161 NHSTUB(Write                                  ,0xff87cbec) //120
 162 NHSTUB(_log                                   ,0xffb90e64) //121
 163 NHSTUB(_log10                                 ,0xffb8cd20) //121
 164 NHSTUB(_pow                                   ,0xffb8cea8) //121
 165 NHSTUB(_sqrt                                  ,0xffb8f098) //  1
 166 NHSTUB(apex2us                                ,0xff8c8a28) //  1
 167 NHSTUB(close                                  ,0xffb9ba20) //109
 168 NHSTUB(exmem_alloc                            ,0xff812834) //122
 169 NHSTUB(exmem_free                             ,0xff812904) //122
 170 NHSTUB(get_nd_value                           ,0xffb37128) //122
 171 NHSTUB(get_current_nd_value                   ,0xffb370d0) //122
 172 NHSTUB(kbd_p1_f                               ,0xff828014) //  1
 173 NHSTUB(kbd_p1_f_cont                          ,0xff828020) //109
 174 NHSTUB(kbd_p2_f                               ,0xff8283f0) //  1
 175 NHSTUB(lseek                                  ,0xffb9bb64) //  1
 176 NHSTUB(memcmp                                 ,0xffb96a7c) //120
 177 NHSTUB(memcpy                                 ,0xffb96ab8) //120
 178 NHSTUB(memset                                 ,0xffb96b30) //120
 179 NHSTUB(mkdir                                  ,0xff87cda4) //  1
 180 NHSTUB(open                                   ,0xffb9c064) //109
 181 NHSTUB(closedir                               ,0xffb98ea8) //  1
 182 NHSTUB(qsort                                  ,0xffb962dc) //  1
 183 NHSTUB(rand                                   ,0xffb96300) //  1
 184 NHSTUB(realloc                                ,0xffb86e60) //115
 185 NHSTUB(srand                                  ,0xffb96324) //  1
 186 NHSTUB(stat                                   ,0xffb98f70) //  1
 187 NHSTUB(strcat                                 ,0xffb96b50) //  1
 188 NHSTUB(strchr                                 ,0xffb96b7c) //  1
 189 NHSTUB(strcmp                                 ,0xffb96ba0) //120
 190 NHSTUB(strcpy                                 ,0xffb96d34) //120
 191 NHSTUB(strftime                               ,0xffb983bc) //  1
 192 NHSTUB(strlen                                 ,0xffb96e98) //120
 193 NHSTUB(strncmp                                ,0xffb96efc) //  1
 194 NHSTUB(strncpy                                ,0xffb96f40) //  1
 195 NHSTUB(strrchr                                ,0xffb96fc4) //  1
 196 NHSTUB(strtol                                 ,0xffb96718) //  1
 197 NHSTUB(isdigit                                ,0xffb92e4c) //  1
 198 NHSTUB(isspace                                ,0xffb92ec4) //  1
 199 NHSTUB(isalpha                                ,0xffb92e1c) //  1
 200 NHSTUB(isupper                                ,0xffb92edc) //  1
 201 NHSTUB(islower                                ,0xffb92e7c) //  1
 202 NHSTUB(ispunct                                ,0xffb92eac) //  1
 203 NHSTUB(isxdigit                               ,0xffb92ef4) //  1
 204 NHSTUB(toupper                                ,0xffb92f1c) //  1
 205 NHSTUB(tolower                                ,0xffb92f0c) //  1
 206 NHSTUB(taskLock                               ,0xffbabd44) //  1
 207 NHSTUB(taskUnlock                             ,0xffbabdec) //  1
 208 NHSTUB(taskName                               ,0xffbab580) //  1
 209 NHSTUB(errnoOfTaskGet                         ,0xffb99674) //  1
 210 NHSTUB(readdir                                ,0xffb98e74) //  1
 211 NHSTUB(strtoul                                ,0xffb968c0) //  1
 212 NHSTUB(strpbrk                                ,0xffb96f88) //  1
 213 NHSTUB(utime                                  ,0xffb99004) //  1
 214 NHSTUB(mktime                                 ,0xffb97864) //  1
 215 NHSTUB(opendir                                ,0xffb98edc) //  1
 216 NHSTUB(memchr                                 ,0xffb96a48) //  1
 217 NHSTUB(memPartInfoGet                         ,0xffb9ee80) //  1
 218 NHSTUB(iosDrvInstall                          ,0xffb9cf04) //  1
 219 NHSTUB(iosDevAdd                              ,0xffb9cc40) //  1
 220 NHSTUB(iosDevDelete                           ,0xffb9cc18) //  1
 221 NHSTUB(GetCurrentTargetDistance               ,0xffb524d8) //  1
 222 NHSTUB(taskCreateHookAdd                      ,0xffba16c0) //  1
 223 NHSTUB(taskDeleteHookAdd                      ,0xffba15fc) //  1
 224 NHSTUB(Unmount_FileSystem                     ,0xff87bf18) //  1
 225 NHSTUB(taskSuspend                            ,0xffbab790) //  1
 226 NHSTUB(taskResume                             ,0xffbab964) //  1
 227 NHSTUB(time                                   ,0xffb983e8) //  1
 228 NHSTUB(vsprintf                               ,0xffb9a7c8) //115
 229 NHSTUB(EngDrvRead                             ,0xff88e5bc) //102
 230 NHSTUB(PTM_GetCurrentItem                     ,0xff9b92c4) //102
 231 NHSTUB(CancelHPTimer                          ,0xff815f9c) //119
 232 NHSTUB(SetHPTimerAfterNow                     ,0xff815b28) //119
 233 NHSTUB(MFOn                                   ,0xff99c020) //120
 234 NHSTUB(MFOff                                  ,0xff99c054) //120
 235 NHSTUB(GetAdChValue                           ,0xff82ac74) //120
 236 NHSTUB(get_ptp_buf_size                       ,0xffae2760) //122
 237 NHSTUB(get_ptp_file_buf                       ,0xffaffd0c) //121

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