root/platform/a540/sub/100b/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.00B   // Found @ 0xffc0a204, "GM1.00B" @ 0xffc0a211
   6 //   Firmware build timestamp: Jan 31 2006 11:02:45
   7 //   Canon PowerShot A540
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12571 (0x311b) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x000922d0
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d210 copied from 0xffef3df0 (  47376 bytes)
  17 
  18 // Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
  19 //    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
  20 // ERROR: EnterToCompensationEVF is not found.             //--- ---    *** != 0xffd43ac8
  21 //NHSTUB(ExitFromCompensationEVF              ,0xffd43b60) //  1 73%    *** != 0xffd43b28
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffe8b798) //  1 54%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe8bd34) //  2 92%
  24 NHSTUB(GetParameterData                       ,0xffd5d738) //  1 86%
  25 NHSTUB(GetSystemTime                          ,0xffc04b28) //  1 96%
  26 NHSTUB(PutInNdFilter                          ,0xffe972e0) //  1 92%
  27 // ALT: NHSTUB(PutInNdFilter, 0xffe97328) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffe976ec) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffe9927c) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffe992c4) // 1 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffe97328) // 2 25/2
  32 // ALT: NHSTUB(PutInNdFilter, 0xffe976ec) // 2 25/2
  33 // ALT: NHSTUB(PutInNdFilter, 0xffe9927c) // 2 25/2
  34 // ALT: NHSTUB(PutInNdFilter, 0xffe992c4) // 2 25/2
  35 NHSTUB(PutOutNdFilter                         ,0xffe97734) //  1 94%
  36 //NHSTUB(Remove                               ,0xffcb832c) //  3 52%
  37 NHSTUB(SetParameterData                       ,0xffd5d658) //  1 86%
  38 NHSTUB(UnsetZoomForMovie                      ,0xffd93bdc) //  1 89%
  39 //NHSTUB(WriteSDCard                          ,0xffc6cf38) //  3 64%    *** != 0xffc6d0e0
  40 NHSTUB(add_ptp_handler                        ,0xffe46ddc) //  1 96%
  41 // ERROR: free is not found.                               //--- ---    *** != 0xffee0f70
  42 NHSTUB(malloc                                 ,0xffee0f64) //  1 53%
  43 NHSTUB(taskIdListGet                          ,0xffeedb8c) //  1 82%
  44 NHSTUB(localtime                              ,0xffed9ba0) //  1 93%
  45 NHSTUB(Mount_FileSystem                       ,0xffc5d768) //  1 90%
  46 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0xffd4656c
  47 
  48 // Check of modemap from 'platform/CAMERA/shooting.c':
  49 // Firmware modemap table found @ffd588d4 -> ffd588d4
  50 // No problems found with modemap table.
  51 
  52 // Values below can be overridden in 'stubs_min.S':
  53 //DEF(levent_table                            ,0xffd517bc) // Found @0xffd517bc,          stubs_min = 0xffd517bc (0xFFD517BC)
  54 //DEF(FlashParamsTable                        ,0xffd5af48) // Found @0xffd5af48,          stubs_min = 0xffd5af48 (0xFFD5AF48)
  55 DEF(fileio_semaphore                        ,0x000027d8) // Found @0xffc5bb8c
  56 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xffc01f14
  57 DEF(exmem_types_table                       ,0xffc01d2c) // Found @0xffc01d2c
  58 DEF_CONST(exmem_type_count                  ,0x0000000d)
  59 DEF(imager_active                           ,0x000054a0) // Found @0xffcbb248 (0x54a0 + 0)
  60 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xffd5c9a8
  61 
  62 // Values below go in 'lib.c':
  63 //int get_flash_params_count(void) { return 0x6c; }                          // Found @0xffd5d7a4
  64 
  65 // Values below go in 'platform_camera.h':
  66 //#define PARAM_CAMERA_NAME 3 // Found @0xffd5a704
  67 
  68 // Misc stuff
  69 
  70 // EXMEM types:
  71 // EXMEM_RAMDISK   0
  72 // EXMEM_COM       1
  73 // EXMEM_COMTMP    2
  74 // EXMEM_FORMATTER 3
  75 // EXMEM_SHADING   4
  76 // EXMEM_FAMODE    5
  77 // EXMEM_FIRMUP    6
  78 // EXMEM_FILESTORE 7
  79 // EXMEM_MOVIE_REC 8
  80 // EXMEM_MOVIE_PLY 9
  81 // EXMEM_WIDE      10
  82 // EXMEM_NARROW    11
  83 // EXMEM_PCEVF     12
  84 
  85 // LED table init @ 0xffc1d988
  86 // LED #1: 0xc022008c, offset 0x4
  87 // LED #2: 0xc0220088, offset 0x44
  88 // LED #3: 0xc0220090, offset 0x84
  89 // LED #4: 0xc0220094, offset 0xc4
  90 // LED #5: 0xc0220084, offset 0x204
  91 // LED #6: 0xc0220080, offset 0x244
  92 
  93 // Stubs below matched 100%.
  94 //    Name                                     Address                Comp to stubs_entry_2.S
  95 NHSTUB(AllocateUncacheableMemory              ,0xffc048f0) //  1
  96 NHSTUB(Close                                  ,0xffc5e4c4) //120
  97 NHSTUB(CreateBinarySemaphore                  ,0xffc108ac) //115
  98 NHSTUB(CreateTask                             ,0xffc1125c) //120
  99 NHSTUB(DebugAssert                            ,0xffc03ae8) //1100
 100 NHSTUB(DeleteFile_Fut                         ,0xffc57634) //  1
 101 NHSTUB(DoAELock                               ,0xffd41dbc) //120
 102 //NHSTUB(DoAFLock                             ,0xffd41c64) //120            == 0xffd41c64
 103 NHSTUB(ExecuteEventProcedure                  ,0xffc06808) //  1
 104 NHSTUB(ExitTask                               ,0xffc1161c) //120
 105 NHSTUB(Fclose_Fut                             ,0xffc57774) //120
 106 NHSTUB(Feof_Fut                               ,0xffc57988) //  1
 107 NHSTUB(Fflush_Fut                             ,0xffc579c0) //  1
 108 NHSTUB(Fgets_Fut                              ,0xffc578f8) //  1
 109 NHSTUB(Fopen_Fut                              ,0xffc57738) //120
 110 NHSTUB(Fread_Fut                              ,0xffc57858) //120
 111 NHSTUB(FreeUncacheableMemory                  ,0xffc04924) //  1
 112 NHSTUB(Fseek_Fut                              ,0xffc57940) //120
 113 NHSTUB(Fwrite_Fut                             ,0xffc578a8) //120
 114 NHSTUB(GetBatteryTemperature                  ,0xffc1d044) //102
 115 NHSTUB(GetCCDTemperature                      ,0xffc1d030) //102
 116 NHSTUB(GetCurrentAvValue                      ,0xffe972cc) //120
 117 NHSTUB(GetCurrentShutterSpeed                 ,0xffe96f24) //120
 118 NHSTUB(GetUsableMaxAv                         ,0xffe974f8) //120
 119 NHSTUB(GetUsableMinAv                         ,0xffe974d4) //120
 120 //NHSTUB(GetDrive_ClusterSize                 ,0xffc5dc9c) //119            == 0xffc5dc9c
 121 //NHSTUB(GetDrive_FreeClusters                ,0xffc5dd14) //1103            == 0xffc5dd14
 122 //NHSTUB(GetDrive_TotalClusters               ,0xffc5dcd8) //119            == 0xffc5dcd8
 123 NHSTUB(GetOpticalTemperature                  ,0xffc1d01c) //120
 124 NHSTUB(GetPropertyCase                        ,0xffc144f0) //  1
 125 NHSTUB(GetZoomLensCurrentPoint                ,0xffe781a0) //120
 126 NHSTUB(GetZoomLensCurrentPosition             ,0xffe781b4) //102
 127 NHSTUB(GiveSemaphore                          ,0xffc10e54) //120
 128 NHSTUB(IsStrobeChargeCompleted                ,0xffcfe554) //  1
 129 NHSTUB(LEDDrive                               ,0xffc1d59c) //120
 130 NHSTUB(LocalTime                              ,0xffc041b8) //115
 131 NHSTUB(LockMainPower                          ,0xffd58674) //120
 132 NHSTUB(MakeDirectory_Fut                      ,0xffc576c0) //  1
 133 NHSTUB(MoveFocusLensToDistance                ,0xffe9991c) //102
 134 NHSTUB(MoveZoomLensWithPoint                  ,0xffe78080) //120
 135 NHSTUB(Open                                   ,0xffc5e49c) //120
 136 NHSTUB(PT_PlaySound                           ,0xffd4fb34) //  1
 137 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd54630) //120
 138 NHSTUB(PostLogicalEventToUI                   ,0xffd546ac) //120
 139 NHSTUB(Read                                   ,0xffc5e558) //120
 140 NHSTUB(RefreshPhysicalScreen                  ,0xffd6f828) //120
 141 NHSTUB(RenameFile_Fut                         ,0xffc575b4) //  1
 142 NHSTUB(Restart                                ,0xffc12774) //  1
 143 NHSTUB(SetAE_ShutterSpeed                     ,0xffe9d1c4) //102
 144 NHSTUB(SetAutoShutdownTime                    ,0xffd58578) //120
 145 NHSTUB(SetCurrentCaptureModeType              ,0xffd88b20) //120
 146 NHSTUB(SetFileAttributes                      ,0xffc5e67c) //  1
 147 NHSTUB(SetLogicalEventActive                  ,0xffd563f8) //1104
 148 NHSTUB(SetPropertyCase                        ,0xffc143d4) //  1
 149 //NHSTUB(SetScriptMode                        ,0xffd56460) //120            == 0xffd56460
 150 NHSTUB(SleepTask                              ,0xffc11170) //120
 151 NHSTUB(TakeSemaphore                          ,0xffc10c6c) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffda486c) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffda483c) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xffd218fc) //120
 155 NHSTUB(TurnOffDisplay                         ,0xffd2190c) //120
 156 NHSTUB(UnlockAE                               ,0xffd41ddc) //120
 157 //NHSTUB(UnlockAF                             ,0xffd41ca8) //120            == 0xffd41ca8
 158 NHSTUB(UnlockMainPower                        ,0xffd5870c) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xffc5d9d4) //  1
 160 //NHSTUB(VbattGet                             ,0xffc1c014) //120            == 0xffc1c014
 161 NHSTUB(Write                                  ,0xffc5e564) //120
 162 NHSTUB(_log                                   ,0xffed331c) //121
 163 NHSTUB(_log10                                 ,0xffecf7f4) //121
 164 NHSTUB(_pow                                   ,0xffecf97c) //121
 165 NHSTUB(_sqrt                                  ,0xffed1718) //  1
 166 NHSTUB(apex2us                                ,0xffc9f288) //  1
 167 NHSTUB(close                                  ,0xffeddf24) //109
 168 NHSTUB(exmem_alloc                            ,0xffc02818) //122
 169 NHSTUB(exmem_free                             ,0xffc028e8) //122
 170 NHSTUB(kbd_p1_f                               ,0xffc1692c) //  1
 171 NHSTUB(kbd_p1_f_cont                          ,0xffc16938) //109
 172 NHSTUB(kbd_p2_f                               ,0xffc16d10) //  1
 173 NHSTUB(kbd_read_keys_r2                       ,0xffc17730) //  1
 174 NHSTUB(kbd_pwr_off                            ,0xffc17ce8) //  1
 175 // ALT: NHSTUB(kbd_pwr_off, 0xffc17d18) // 1 6/0
 176 // ALT: NHSTUB(kbd_pwr_off, 0xffc17d34) // 1 6/0
 177 NHSTUB(kbd_pwr_on                             ,0xffc17cc0) //  1
 178 NHSTUB(lseek                                  ,0xffede068) //  1
 179 NHSTUB(memcmp                                 ,0xffed8f80) //120
 180 NHSTUB(memcpy                                 ,0xffed8fbc) //120
 181 NHSTUB(memset                                 ,0xffed9034) //120
 182 NHSTUB(mkdir                                  ,0xffc5e6ac) //  1
 183 NHSTUB(open                                   ,0xffede568) //109
 184 NHSTUB(closedir                               ,0xffedb3ac) //  1
 185 NHSTUB(qsort                                  ,0xffed87e0) //  1
 186 NHSTUB(rand                                   ,0xffed8804) //  1
 187 NHSTUB(realloc                                ,0xffec9fbc) //115
 188 NHSTUB(srand                                  ,0xffed8828) //  1
 189 NHSTUB(stat                                   ,0xffedb474) //  1
 190 NHSTUB(strcat                                 ,0xffed9054) //  1
 191 NHSTUB(strchr                                 ,0xffed9080) //  1
 192 NHSTUB(strcmp                                 ,0xffed90a4) //120
 193 NHSTUB(strcpy                                 ,0xffed9238) //120
 194 NHSTUB(strftime                               ,0xffeda8c0) //  1
 195 NHSTUB(strlen                                 ,0xffed939c) //120
 196 NHSTUB(strncmp                                ,0xffed9400) //  1
 197 NHSTUB(strncpy                                ,0xffed9444) //  1
 198 NHSTUB(strrchr                                ,0xffed94c8) //  1
 199 NHSTUB(strtol                                 ,0xffed8c1c) //  1
 200 NHSTUB(isdigit                                ,0xffed5350) //  1
 201 NHSTUB(isspace                                ,0xffed53c8) //  1
 202 NHSTUB(isalpha                                ,0xffed5320) //  1
 203 NHSTUB(isupper                                ,0xffed53e0) //  1
 204 NHSTUB(islower                                ,0xffed5380) //  1
 205 NHSTUB(ispunct                                ,0xffed53b0) //  1
 206 NHSTUB(isxdigit                               ,0xffed53f8) //  1
 207 NHSTUB(toupper                                ,0xffed5420) //  1
 208 NHSTUB(tolower                                ,0xffed5410) //  1
 209 NHSTUB(taskLock                               ,0xffeee248) //  1
 210 NHSTUB(taskUnlock                             ,0xffeee2f0) //  1
 211 NHSTUB(taskName                               ,0xffeeda84) //  1
 212 NHSTUB(errnoOfTaskGet                         ,0xffedbb78) //  1
 213 NHSTUB(readdir                                ,0xffedb378) //  1
 214 NHSTUB(strtoul                                ,0xffed8dc4) //  1
 215 NHSTUB(strpbrk                                ,0xffed948c) //  1
 216 NHSTUB(utime                                  ,0xffedb508) //  1
 217 NHSTUB(mktime                                 ,0xffed9d68) //  1
 218 NHSTUB(opendir                                ,0xffedb3e0) //  1
 219 NHSTUB(memchr                                 ,0xffed8f4c) //  1
 220 NHSTUB(memPartInfoGet                         ,0xffee1384) //  1
 221 NHSTUB(iosDrvInstall                          ,0xffedf408) //  1
 222 NHSTUB(iosDevAdd                              ,0xffedf144) //  1
 223 NHSTUB(iosDevDelete                           ,0xffedf11c) //  1
 224 NHSTUB(GetCurrentTargetDistance               ,0xffe9967c) //  1
 225 NHSTUB(taskCreateHookAdd                      ,0xffee3bc4) //  1
 226 NHSTUB(taskDeleteHookAdd                      ,0xffee3b00) //  1
 227 NHSTUB(Unmount_FileSystem                     ,0xffc5d880) //  1
 228 NHSTUB(taskSuspend                            ,0xffeedc94) //  1
 229 NHSTUB(taskResume                             ,0xffeede68) //  1
 230 NHSTUB(time                                   ,0xffeda8ec) //  1
 231 NHSTUB(vsprintf                               ,0xffedcccc) //115
 232 NHSTUB(EngDrvRead                             ,0xffc6f478) //102
 233 NHSTUB(PTM_GetCurrentItem                     ,0xffd5b678) //102
 234 NHSTUB(CancelHPTimer                          ,0xffc059ec) //119
 235 NHSTUB(SetHPTimerAfterNow                     ,0xffc05578) //119
 236 NHSTUB(MFOn                                   ,0xffd42738) //120
 237 NHSTUB(MFOff                                  ,0xffd42768) //120
 238 NHSTUB(GetAdChValue                           ,0xffc197d0) //120
 239 NHSTUB(get_ptp_buf_size                       ,0xffe38264) //122
 240 NHSTUB(get_ptp_file_buf                       ,0xffe57498) //121

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