root/platform/a700/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 12 2006 15:31:55
   7 //   Canon PowerShot A700
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12567 (0x3117) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x0009c090
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d260 copied from 0xffefb340 (  47456 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.             //--- ---    *** != 0xffd4424c
  21 //NHSTUB(ExitFromCompensationEVF              ,0xffd442e4) //  1 73%    *** != 0xffd442ac
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffe92c14) //  1 54%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe931b0) //  2 92%
  24 NHSTUB(GetParameterData                       ,0xffd5ded4) //  1 86%
  25 NHSTUB(GetSystemTime                          ,0xffc04b28) //  1 96%
  26 NHSTUB(PutInNdFilter                          ,0xffe9e938) //  1 92%
  27 // ALT: NHSTUB(PutInNdFilter, 0xffe9e980) // 1 25/2
  28 // ALT: NHSTUB(PutInNdFilter, 0xffe9ed44) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffea08d4) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffea091c) // 1 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffe9e980) // 2 25/2
  32 // ALT: NHSTUB(PutInNdFilter, 0xffe9ed44) // 2 25/2
  33 // ALT: NHSTUB(PutInNdFilter, 0xffea08d4) // 2 25/2
  34 // ALT: NHSTUB(PutInNdFilter, 0xffea091c) // 2 25/2
  35 NHSTUB(PutOutNdFilter                         ,0xffe9ed8c) //  1 94%
  36 NHSTUB(SetParameterData                       ,0xffd5ddf4) //  1 86%
  37 NHSTUB(UnsetZoomForMovie                      ,0xffd95090) //  1 89%
  38 NHSTUB(WriteSDCard                            ,0xffc6c4f0) //  3 64%
  39 NHSTUB(add_ptp_handler                        ,0xffe4e284) //  1 96%
  40 // ERROR: free is not found.                               //--- ---    *** != 0xffee84c8
  41 NHSTUB(malloc                                 ,0xffee84bc) //  1 53%
  42 NHSTUB(taskIdListGet                          ,0xffef50e4) //  1 82%
  43 NHSTUB(localtime                              ,0xffee10f8) //  1 93%
  44 NHSTUB(Mount_FileSystem                       ,0xffc5cdf8) //  1 90%
  45 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0xffd46cf0
  46 
  47 // Check of modemap from 'platform/CAMERA/shooting.c':
  48 // Firmware modemap table found @ffd5912c -> ffd5912c
  49 // No problems found with modemap table.
  50 
  51 // Values below can be overridden in 'stubs_min.S':
  52 DEF(levent_table                            ,0xffd51f94) // Found @0xffd51f94
  53 DEF(FlashParamsTable                        ,0xffd5b6e4) // Found @0xffd5b6e4
  54 DEF(fileio_semaphore                        ,0x000027b0) // Found @0xffc5b21c
  55 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xffc01f14
  56 DEF(exmem_types_table                       ,0xffc01d2c) // Found @0xffc01d2c
  57 DEF_CONST(exmem_type_count                  ,0x0000000d)
  58 DEF(imager_active                           ,0x0000547c) // Found @0xffcbb2b8 (0x547c + 0)
  59 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xffd5d144
  60 
  61 // Values below go in 'lib.c':
  62 //int get_flash_params_count(void) { return 0x6c; }                          // Found @0xffd5df40
  63 
  64 // Values below go in 'platform_camera.h':
  65 //#define PARAM_CAMERA_NAME 3 // Found @0xffd5aea0
  66 
  67 // Misc stuff
  68 
  69 // EXMEM types:
  70 // EXMEM_RAMDISK   0
  71 // EXMEM_COM       1
  72 // EXMEM_COMTMP    2
  73 // EXMEM_FORMATTER 3
  74 // EXMEM_SHADING   4
  75 // EXMEM_FAMODE    5
  76 // EXMEM_FIRMUP    6
  77 // EXMEM_FILESTORE 7
  78 // EXMEM_MOVIE_REC 8
  79 // EXMEM_MOVIE_PLY 9
  80 // EXMEM_WIDE      10
  81 // EXMEM_NARROW    11
  82 // EXMEM_PCEVF     12
  83 
  84 // LED table init @ 0xffc1d300
  85 // LED #1: 0xc022008c, offset 0x4
  86 // LED #2: 0xc0220088, offset 0x44
  87 // LED #3: 0xc0220090, offset 0x84
  88 // LED #4: 0xc0220094, offset 0xc4
  89 // LED #5: 0xc0220084, offset 0x204
  90 // LED #6: 0xc0220080, offset 0x244
  91 
  92 // Stubs below matched 100%.
  93 //    Name                                     Address                Comp to stubs_entry_2.S
  94 NHSTUB(AllocateUncacheableMemory              ,0xffc048f0) //  1
  95 NHSTUB(Close                                  ,0xffc5dac8) //120
  96 NHSTUB(CreateBinarySemaphore                  ,0xffc108ac) //115
  97 NHSTUB(CreateTask                             ,0xffc1125c) //120
  98 NHSTUB(DebugAssert                            ,0xffc03ae8) //1100
  99 NHSTUB(DeleteFile_Fut                         ,0xffc56cc4) //  1
 100 NHSTUB(DoAELock                               ,0xffd42540) //120
 101 NHSTUB(DoAFLock                               ,0xffd423e8) //120
 102 NHSTUB(ExecuteEventProcedure                  ,0xffc06808) //  1
 103 NHSTUB(ExitTask                               ,0xffc1161c) //120
 104 NHSTUB(Fclose_Fut                             ,0xffc56e04) //120
 105 NHSTUB(Feof_Fut                               ,0xffc57018) //  1
 106 NHSTUB(Fflush_Fut                             ,0xffc57050) //  1
 107 NHSTUB(Fgets_Fut                              ,0xffc56f88) //  1
 108 NHSTUB(Fopen_Fut                              ,0xffc56dc8) //120
 109 NHSTUB(Fread_Fut                              ,0xffc56ee8) //120
 110 NHSTUB(FreeUncacheableMemory                  ,0xffc04924) //  1
 111 NHSTUB(Fseek_Fut                              ,0xffc56fd0) //120
 112 NHSTUB(Fwrite_Fut                             ,0xffc56f38) //120
 113 NHSTUB(GetBatteryTemperature                  ,0xffc1c9bc) //102
 114 NHSTUB(GetCCDTemperature                      ,0xffc1c9a8) //102
 115 NHSTUB(GetCurrentAvValue                      ,0xffe9e924) //120
 116 NHSTUB(GetCurrentShutterSpeed                 ,0xffe9e57c) //120
 117 NHSTUB(GetUsableMaxAv                         ,0xffe9eb50) //120
 118 NHSTUB(GetUsableMinAv                         ,0xffe9eb2c) //120
 119 NHSTUB(GetDrive_ClusterSize                   ,0xffc5d2b4) //119
 120 NHSTUB(GetDrive_FreeClusters                  ,0xffc5d32c) //1103
 121 NHSTUB(GetDrive_TotalClusters                 ,0xffc5d2f0) //119
 122 NHSTUB(GetOpticalTemperature                  ,0xffc1c994) //120
 123 NHSTUB(GetPropertyCase                        ,0xffc144f0) //  1
 124 NHSTUB(GetZoomLensCurrentPoint                ,0xffe7f680) //120
 125 NHSTUB(GetZoomLensCurrentPosition             ,0xffe7f694) //102
 126 NHSTUB(GiveSemaphore                          ,0xffc10e54) //120
 127 NHSTUB(IsStrobeChargeCompleted                ,0xffcfed8c) //  1
 128 NHSTUB(LEDDrive                               ,0xffc1cf14) //120
 129 NHSTUB(LocalTime                              ,0xffc041b8) //115
 130 NHSTUB(LockMainPower                          ,0xffd58ecc) //120
 131 NHSTUB(MakeDirectory_Fut                      ,0xffc56d50) //  1
 132 NHSTUB(MoveFocusLensToDistance                ,0xffea0f74) //102
 133 NHSTUB(MoveZoomLensWithPoint                  ,0xffe7f560) //120
 134 NHSTUB(Open                                   ,0xffc5daa0) //120
 135 NHSTUB(PT_PlaySound                           ,0xffd5030c) //  1
 136 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd54dfc) //120
 137 NHSTUB(PostLogicalEventToUI                   ,0xffd54e78) //120
 138 NHSTUB(Read                                   ,0xffc5db5c) //120
 139 NHSTUB(RefreshPhysicalScreen                  ,0xffd703c0) //120
 140 NHSTUB(RenameFile_Fut                         ,0xffc56c44) //  1
 141 NHSTUB(Restart                                ,0xffc12774) //  1
 142 NHSTUB(SetAE_ShutterSpeed                     ,0xffea481c) //102
 143 NHSTUB(SetAutoShutdownTime                    ,0xffd58dd0) //120
 144 NHSTUB(SetCurrentCaptureModeType              ,0xffd89ee0) //120
 145 NHSTUB(SetFileAttributes                      ,0xffc5dc80) //  1
 146 NHSTUB(SetLogicalEventActive                  ,0xffd56bc4) //1104
 147 NHSTUB(SetPropertyCase                        ,0xffc143d4) //  1
 148 NHSTUB(SetScriptMode                          ,0xffd56c2c) //120
 149 NHSTUB(SleepTask                              ,0xffc11170) //120
 150 NHSTUB(TakeSemaphore                          ,0xffc10c6c) //1101
 151 NHSTUB(TurnOffBackLight                       ,0xffda7f60) //  2
 152 NHSTUB(TurnOnBackLight                        ,0xffda7f30) //  2
 153 NHSTUB(TurnOnDisplay                          ,0xffd22134) //120
 154 NHSTUB(TurnOffDisplay                         ,0xffd22144) //120
 155 NHSTUB(UnlockAE                               ,0xffd42560) //120
 156 NHSTUB(UnlockAF                               ,0xffd4242c) //120
 157 NHSTUB(UnlockMainPower                        ,0xffd58f64) //120
 158 NHSTUB(UpdateMBROnFlash                       ,0xffc5cfec) //  1
 159 NHSTUB(VbattGet                               ,0xffc1b990) //120
 160 NHSTUB(Write                                  ,0xffc5db68) //120
 161 NHSTUB(_log                                   ,0xffedaee8) //121
 162 NHSTUB(_log10                                 ,0xffed73c0) //121
 163 NHSTUB(_pow                                   ,0xffed7548) //121
 164 NHSTUB(_sqrt                                  ,0xffed92e4) //  1
 165 NHSTUB(apex2us                                ,0xffc9f300) //  1
 166 NHSTUB(close                                  ,0xffee547c) //109
 167 NHSTUB(exmem_alloc                            ,0xffc02818) //122
 168 NHSTUB(exmem_free                             ,0xffc028e8) //122
 169 NHSTUB(kbd_p1_f                               ,0xffc168e8) //  1
 170 NHSTUB(kbd_p1_f_cont                          ,0xffc168f4) //109
 171 NHSTUB(kbd_p2_f                               ,0xffc16ccc) //  1
 172 NHSTUB(kbd_read_keys_r2                       ,0xffc1771c) //  1
 173 NHSTUB(kbd_pwr_off                            ,0xffc17ca8) //  1
 174 // ALT: NHSTUB(kbd_pwr_off, 0xffc17cd8) // 1 6/0
 175 // ALT: NHSTUB(kbd_pwr_off, 0xffc17cf4) // 1 6/0
 176 NHSTUB(kbd_pwr_on                             ,0xffc17c80) //  1
 177 NHSTUB(lseek                                  ,0xffee55c0) //  1
 178 NHSTUB(memcmp                                 ,0xffee04d8) //120
 179 NHSTUB(memcpy                                 ,0xffee0514) //120
 180 NHSTUB(memset                                 ,0xffee058c) //120
 181 NHSTUB(mkdir                                  ,0xffc5dcb0) //  1
 182 NHSTUB(open                                   ,0xffee5ac0) //109
 183 NHSTUB(closedir                               ,0xffee2904) //  1
 184 NHSTUB(qsort                                  ,0xffedfd38) //  1
 185 NHSTUB(rand                                   ,0xffedfd5c) //  1
 186 NHSTUB(realloc                                ,0xffed1c68) //115
 187 NHSTUB(srand                                  ,0xffedfd80) //  1
 188 NHSTUB(stat                                   ,0xffee29cc) //  1
 189 NHSTUB(strcat                                 ,0xffee05ac) //  1
 190 NHSTUB(strchr                                 ,0xffee05d8) //  1
 191 NHSTUB(strcmp                                 ,0xffee05fc) //120
 192 NHSTUB(strcpy                                 ,0xffee0790) //120
 193 NHSTUB(strftime                               ,0xffee1e18) //  1
 194 NHSTUB(strlen                                 ,0xffee08f4) //120
 195 NHSTUB(strncmp                                ,0xffee0958) //  1
 196 NHSTUB(strncpy                                ,0xffee099c) //  1
 197 NHSTUB(strrchr                                ,0xffee0a20) //  1
 198 NHSTUB(strtol                                 ,0xffee0174) //  1
 199 NHSTUB(isdigit                                ,0xffedc8a8) //  1
 200 NHSTUB(isspace                                ,0xffedc920) //  1
 201 NHSTUB(isalpha                                ,0xffedc878) //  1
 202 NHSTUB(isupper                                ,0xffedc938) //  1
 203 NHSTUB(islower                                ,0xffedc8d8) //  1
 204 NHSTUB(ispunct                                ,0xffedc908) //  1
 205 NHSTUB(isxdigit                               ,0xffedc950) //  1
 206 NHSTUB(toupper                                ,0xffedc978) //  1
 207 NHSTUB(tolower                                ,0xffedc968) //  1
 208 NHSTUB(taskLock                               ,0xffef57a0) //  1
 209 NHSTUB(taskUnlock                             ,0xffef5848) //  1
 210 NHSTUB(taskName                               ,0xffef4fdc) //  1
 211 NHSTUB(errnoOfTaskGet                         ,0xffee30d0) //  1
 212 NHSTUB(readdir                                ,0xffee28d0) //  1
 213 NHSTUB(strtoul                                ,0xffee031c) //  1
 214 NHSTUB(strpbrk                                ,0xffee09e4) //  1
 215 NHSTUB(utime                                  ,0xffee2a60) //  1
 216 NHSTUB(mktime                                 ,0xffee12c0) //  1
 217 NHSTUB(opendir                                ,0xffee2938) //  1
 218 NHSTUB(memchr                                 ,0xffee04a4) //  1
 219 NHSTUB(memPartInfoGet                         ,0xffee88dc) //  1
 220 NHSTUB(iosDrvInstall                          ,0xffee6960) //  1
 221 NHSTUB(iosDevAdd                              ,0xffee669c) //  1
 222 NHSTUB(iosDevDelete                           ,0xffee6674) //  1
 223 NHSTUB(GetCurrentTargetDistance               ,0xffea0cd4) //  1
 224 NHSTUB(taskCreateHookAdd                      ,0xffeeb11c) //  1
 225 NHSTUB(taskDeleteHookAdd                      ,0xffeeb058) //  1
 226 NHSTUB(Unmount_FileSystem                     ,0xffc5ce9c) //  1
 227 NHSTUB(taskSuspend                            ,0xffef51ec) //  1
 228 NHSTUB(taskResume                             ,0xffef53c0) //  1
 229 NHSTUB(time                                   ,0xffee1e44) //  1
 230 NHSTUB(vsprintf                               ,0xffee4224) //115
 231 NHSTUB(EngDrvRead                             ,0xffc6ea30) //102
 232 NHSTUB(PTM_GetCurrentItem                     ,0xffd5be14) //102
 233 NHSTUB(CancelHPTimer                          ,0xffc059ec) //119
 234 NHSTUB(SetHPTimerAfterNow                     ,0xffc05578) //119
 235 NHSTUB(MFOn                                   ,0xffd42ebc) //120
 236 NHSTUB(MFOff                                  ,0xffd42eec) //120
 237 NHSTUB(GetAdChValue                           ,0xffc1911c) //120
 238 NHSTUB(get_ptp_buf_size                       ,0xffe3f70c) //122
 239 NHSTUB(get_ptp_file_buf                       ,0xffe5e924) //121

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