root/platform/a640/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 @ 0xffc0a398, "GM1.00B" @ 0xffc0a3a5
   6 //   Firmware build timestamp: Jul 10 2006 21:16:20
   7 //   Canon PowerShot A640
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12601 (0x3139) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x00094d10
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d6b0 copied from 0xfff10030 (  48560 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 NHSTUB(EnterToCompensationEVF                 ,0xffd5235c) //  2 90%
  21 //NHSTUB(ExitFromCompensationEVF              ,0xffd55af8) //  2 66%    *** != 0xffd55be0
  22 // ALT: NHSTUB(ExitFromCompensationEVF, 0xffd55b54) // 2 20/10
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xffd55c10) // 2 20/10
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffea4e74) //  2 96%
  25 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffea5428) //  2 57%
  26 NHSTUB(GetPropertyCase                        ,0xffc15484) //  2 92%
  27 NHSTUB(PutInNdFilter                          ,0xffeb0e50) //  1 92%
  28 NHSTUB(PutOutNdFilter                         ,0xffeb0e98) //  1 94%
  29 //NHSTUB(Remove                               ,0xffcc2470) //  3 52%
  30 NHSTUB(Restart                                ,0xffc13674) //  1 96%
  31 NHSTUB(UnsetZoomForMovie                      ,0xffda5544) //  1 89%
  32 NHSTUB(add_ptp_handler                        ,0xffe57464) //  1 96%
  33 // ERROR: free is not found.                               //--- ---    *** != 0xffefd1ac
  34 NHSTUB(malloc                                 ,0xffefd1a0) //  1 53%
  35 NHSTUB(taskIdListGet                          ,0xfff09dc8) //  1 82%
  36 NHSTUB(localtime                              ,0xffef5ddc) //  1 93%
  37 NHSTUB(Mount_FileSystem                       ,0xffc618d0) //  1 90%
  38 NHSTUB(MakeAFScan                             ,0xffd56c30) //  2 79%
  39 
  40 // Check of modemap from 'platform/CAMERA/shooting.c':
  41 // Firmware modemap table found @ffd6ade8 -> ffd6ade8
  42 // Mode  8221 in firmware but not in current modemap
  43 
  44 // Values below can be overridden in 'stubs_min.S':
  45 DEF(levent_table                            ,0xffd63808) // Found @0xffd63808
  46 DEF(FlashParamsTable                        ,0xffd6d590) // Found @0xffd6d590
  47 DEF(fileio_semaphore                        ,0x0000277c) // Found @0xffc5fc74
  48 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xffc01f28
  49 DEF(exmem_types_table                       ,0xffc01d3c) // Found @0xffc01d3c
  50 DEF_CONST(exmem_type_count                  ,0x0000000e)
  51 DEF(imager_active                           ,0x0000552c) // Found @0xffcc5cf4 (0x552c + 0)
  52 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xffd6f358
  53 
  54 // Values below go in 'lib.c':
  55 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xffd70564
  56 
  57 // Values below go in 'platform_camera.h':
  58 //#define PARAM_CAMERA_NAME 4 // Found @0xffd6cd30
  59 
  60 // Misc stuff
  61 
  62 // EXMEM types:
  63 // EXMEM_RAMDISK   0
  64 // EXMEM_COM       1
  65 // EXMEM_COMTMP    2
  66 // EXMEM_FORMATTER 3
  67 // EXMEM_SHADING   4
  68 // EXMEM_FAMODE    5
  69 // EXMEM_FIRMUP    6
  70 // EXMEM_DVLPWORK  7
  71 // EXMEM_FILESTORE 8
  72 // EXMEM_MOVIE_REC 9
  73 // EXMEM_MOVIE_PLY 10
  74 // EXMEM_WIDE      11
  75 // EXMEM_NARROW    12
  76 // EXMEM_PCEVF     13
  77 
  78 // LED table init @ 0xffc1e788
  79 // LED #1: 0xc022008c, offset 0x4
  80 // LED #2: 0xc0220088, offset 0x44
  81 // LED #3: 0xc0220090, offset 0x84
  82 // LED #4: 0xc0220094, offset 0xc4
  83 // LED #5: 0xc0220084, offset 0x204
  84 // LED #6: 0xc0220080, offset 0x244
  85 
  86 // Stubs below matched 100%.
  87 //    Name                                     Address                Comp to stubs_entry_2.S
  88 NHSTUB(AllocateUncacheableMemory              ,0xffc04b00) //  1
  89 NHSTUB(Close                                  ,0xffc625a8) //120
  90 NHSTUB(CreateBinarySemaphore                  ,0xffc117a4) //115
  91 NHSTUB(CreateTask                             ,0xffc12154) //120
  92 NHSTUB(DebugAssert                            ,0xffc03cf8) //1100
  93 NHSTUB(DeleteFile_Fut                         ,0xffc5b46c) //  1
  94 NHSTUB(DoAELock                               ,0xffd523fc) //120
  95 NHSTUB(DoAFLock                               ,0xffd521e8) //120
  96 NHSTUB(ExecuteEventProcedure                  ,0xffc0699c) //  1
  97 NHSTUB(ExitTask                               ,0xffc12514) //120
  98 NHSTUB(Fclose_Fut                             ,0xffc5b5e0) //120
  99 NHSTUB(Feof_Fut                               ,0xffc5b7dc) //  3
 100 NHSTUB(Fflush_Fut                             ,0xffc5b818) //  3
 101 NHSTUB(Fgets_Fut                              ,0xffc5b744) //  3
 102 NHSTUB(Fopen_Fut                              ,0xffc5b5a0) //120
 103 NHSTUB(Fread_Fut                              ,0xffc5b69c) //120
 104 NHSTUB(FreeUncacheableMemory                  ,0xffc04b34) //  1
 105 NHSTUB(Fseek_Fut                              ,0xffc5b790) //120
 106 NHSTUB(Fwrite_Fut                             ,0xffc5b6f0) //120
 107 NHSTUB(GetBatteryTemperature                  ,0xffc1de44) //102
 108 NHSTUB(GetCCDTemperature                      ,0xffc1de30) //102
 109 NHSTUB(GetCurrentAvValue                      ,0xffeb09c8) //120
 110 NHSTUB(GetCurrentShutterSpeed                 ,0xffeb061c) //120
 111 NHSTUB(GetUsableMaxAv                         ,0xffeb0c84) //120
 112 NHSTUB(GetUsableMinAv                         ,0xffeb0c60) //120
 113 NHSTUB(GetDrive_ClusterSize                   ,0xffc61d94) //119
 114 NHSTUB(GetDrive_FreeClusters                  ,0xffc61e0c) //1103
 115 NHSTUB(GetDrive_TotalClusters                 ,0xffc61dd0) //119
 116 NHSTUB(GetOpticalTemperature                  ,0xffc1de1c) //120
 117 NHSTUB(GetParameterData                       ,0xffd704f8) //  2
 118 NHSTUB(GetSystemTime                          ,0xffc04d38) //  2
 119 NHSTUB(GetZoomLensCurrentPoint                ,0xffe912a0) //120
 120 NHSTUB(GetZoomLensCurrentPosition             ,0xffe912b4) //102
 121 NHSTUB(GiveSemaphore                          ,0xffc11d4c) //120
 122 NHSTUB(IsStrobeChargeCompleted                ,0xffd0a4a8) //  2
 123 NHSTUB(LEDDrive                               ,0xffc1e39c) //120
 124 NHSTUB(LocalTime                              ,0xffc043c8) //115
 125 NHSTUB(LockMainPower                          ,0xffd6ab88) //120
 126 NHSTUB(MakeDirectory_Fut                      ,0xffc5b520) //  3
 127 NHSTUB(MoveFocusLensToDistance                ,0xffeb3168) //102
 128 NHSTUB(MoveZoomLensWithPoint                  ,0xffe91180) //120
 129 NHSTUB(Open                                   ,0xffc62580) //120
 130 NHSTUB(PT_PlaySound                           ,0xffd61a04) //  1
 131 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd66914) //120
 132 NHSTUB(PostLogicalEventToUI                   ,0xffd66990) //120
 133 NHSTUB(Read                                   ,0xffc6263c) //120
 134 NHSTUB(RefreshPhysicalScreen                  ,0xffd822a0) //120
 135 NHSTUB(RenameFile_Fut                         ,0xffc5b3c4) //  3
 136 NHSTUB(SetAE_ShutterSpeed                     ,0xffeb5e3c) //102
 137 NHSTUB(SetAutoShutdownTime                    ,0xffd6aa8c) //120
 138 NHSTUB(SetCurrentCaptureModeType              ,0xffd99768) //120
 139 NHSTUB(SetFileAttributes                      ,0xffc627d0) //  1
 140 NHSTUB(SetLogicalEventActive                  ,0xffd686e8) //1104
 141 NHSTUB(SetParameterData                       ,0xffd70418) //  2
 142 NHSTUB(SetPropertyCase                        ,0xffc15334) //  2
 143 NHSTUB(SetScriptMode                          ,0xffd68750) //120
 144 NHSTUB(SleepTask                              ,0xffc12068) //120
 145 NHSTUB(TakeSemaphore                          ,0xffc11b64) //1101
 146 NHSTUB(TurnOffBackLight                       ,0xffdba500) //  2
 147 NHSTUB(TurnOnBackLight                        ,0xffdba4d0) //  2
 148 NHSTUB(TurnOnDisplay                          ,0xffd2ee4c) //120
 149 NHSTUB(TurnOffDisplay                         ,0xffd2ee5c) //120
 150 NHSTUB(UnlockAE                               ,0xffd5241c) //120
 151 NHSTUB(UnlockAF                               ,0xffd5225c) //120
 152 NHSTUB(UnlockMainPower                        ,0xffd6ac20) //120
 153 NHSTUB(UpdateMBROnFlash                       ,0xffc61ac8) //  1
 154 NHSTUB(VbattGet                               ,0xffc1cd70) //120
 155 NHSTUB(Write                                  ,0xffc62648) //120
 156 NHSTUB(WriteSDCard                            ,0xffc718b8) //  2
 157 NHSTUB(_log                                   ,0xffeefc18) //121
 158 NHSTUB(_log10                                 ,0xffeebfb8) //121
 159 NHSTUB(_pow                                   ,0xffeec140) //121
 160 NHSTUB(_sqrt                                  ,0xffeee014) //  1
 161 NHSTUB(apex2us                                ,0xffca536c) //  1
 162 NHSTUB(close                                  ,0xffefa160) //109
 163 NHSTUB(exmem_alloc                            ,0xffc02834) //122
 164 NHSTUB(exmem_free                             ,0xffc02904) //122
 165 NHSTUB(kbd_p1_f                               ,0xffc17b18) //  1
 166 NHSTUB(kbd_p1_f_cont                          ,0xffc17b24) //109
 167 NHSTUB(kbd_p2_f                               ,0xffc17efc) //  1
 168 NHSTUB(kbd_read_keys_r2                       ,0xffc18914) //  1
 169 NHSTUB(kbd_pwr_off                            ,0xffc18f90) //  1
 170 // ALT: NHSTUB(kbd_pwr_off, 0xffc18fc0) // 1 6/0
 171 // ALT: NHSTUB(kbd_pwr_off, 0xffc18fdc) // 1 6/0
 172 NHSTUB(kbd_pwr_on                             ,0xffc18f68) //  1
 173 NHSTUB(lseek                                  ,0xffefa2a4) //  1
 174 NHSTUB(memcmp                                 ,0xffef51bc) //120
 175 NHSTUB(memcpy                                 ,0xffef51f8) //120
 176 NHSTUB(memset                                 ,0xffef5270) //120
 177 NHSTUB(mkdir                                  ,0xffc62800) //  1
 178 NHSTUB(open                                   ,0xffefa7a4) //109
 179 NHSTUB(closedir                               ,0xffef75e8) //  1
 180 NHSTUB(qsort                                  ,0xffef4a1c) //  1
 181 NHSTUB(rand                                   ,0xffef4a40) //  1
 182 NHSTUB(realloc                                ,0xffee616c) //115
 183 NHSTUB(srand                                  ,0xffef4a64) //  1
 184 NHSTUB(stat                                   ,0xffef76b0) //  1
 185 NHSTUB(strcat                                 ,0xffef5290) //  1
 186 NHSTUB(strchr                                 ,0xffef52bc) //  1
 187 NHSTUB(strcmp                                 ,0xffef52e0) //120
 188 NHSTUB(strcpy                                 ,0xffef5474) //120
 189 NHSTUB(strftime                               ,0xffef6afc) //  1
 190 NHSTUB(strlen                                 ,0xffef55d8) //120
 191 NHSTUB(strncmp                                ,0xffef563c) //  1
 192 NHSTUB(strncpy                                ,0xffef5680) //  1
 193 NHSTUB(strrchr                                ,0xffef5704) //  1
 194 NHSTUB(strtol                                 ,0xffef4e58) //  1
 195 NHSTUB(isdigit                                ,0xffef158c) //  1
 196 NHSTUB(isspace                                ,0xffef1604) //  1
 197 NHSTUB(isalpha                                ,0xffef155c) //  1
 198 NHSTUB(isupper                                ,0xffef161c) //  1
 199 NHSTUB(islower                                ,0xffef15bc) //  1
 200 NHSTUB(ispunct                                ,0xffef15ec) //  1
 201 NHSTUB(isxdigit                               ,0xffef1634) //  1
 202 NHSTUB(toupper                                ,0xffef165c) //  1
 203 NHSTUB(tolower                                ,0xffef164c) //  1
 204 NHSTUB(taskLock                               ,0xfff0a484) //  1
 205 NHSTUB(taskUnlock                             ,0xfff0a52c) //  1
 206 NHSTUB(taskName                               ,0xfff09cc0) //  1
 207 NHSTUB(errnoOfTaskGet                         ,0xffef7db4) //  1
 208 NHSTUB(readdir                                ,0xffef75b4) //  1
 209 NHSTUB(strtoul                                ,0xffef5000) //  1
 210 NHSTUB(strpbrk                                ,0xffef56c8) //  1
 211 NHSTUB(utime                                  ,0xffef7744) //  1
 212 NHSTUB(mktime                                 ,0xffef5fa4) //  1
 213 NHSTUB(opendir                                ,0xffef761c) //  1
 214 NHSTUB(memchr                                 ,0xffef5188) //  1
 215 NHSTUB(memPartInfoGet                         ,0xffefd5c0) //  1
 216 NHSTUB(iosDrvInstall                          ,0xffefb644) //  1
 217 NHSTUB(iosDevAdd                              ,0xffefb380) //  1
 218 NHSTUB(iosDevDelete                           ,0xffefb358) //  1
 219 NHSTUB(GetCurrentTargetDistance               ,0xffeb2ec8) //  1
 220 NHSTUB(taskCreateHookAdd                      ,0xffeffe00) //  1
 221 NHSTUB(taskDeleteHookAdd                      ,0xffeffd3c) //  1
 222 NHSTUB(Unmount_FileSystem                     ,0xffc61974) //  1
 223 NHSTUB(taskSuspend                            ,0xfff09ed0) //  1
 224 NHSTUB(taskResume                             ,0xfff0a0a4) //  1
 225 NHSTUB(time                                   ,0xffef6b28) //  1
 226 NHSTUB(vsprintf                               ,0xffef8f08) //115
 227 NHSTUB(EngDrvRead                             ,0xffc73f98) //102
 228 NHSTUB(PTM_GetCurrentItem                     ,0xffd6db20) //102
 229 NHSTUB(CancelHPTimer                          ,0xffc05bfc) //119
 230 NHSTUB(SetHPTimerAfterNow                     ,0xffc05788) //119
 231 NHSTUB(MFOn                                   ,0xffd53104) //120
 232 NHSTUB(MFOff                                  ,0xffd53134) //120
 233 NHSTUB(GetAdChValue                           ,0xffc1a1d8) //120
 234 NHSTUB(get_ptp_buf_size                       ,0xffe48774) //122
 235 NHSTUB(get_ptp_file_buf                       ,0xffe68100) //121

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