root/platform/a430/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 @ 0xffc0a208, "GM1.00B" @ 0xffc0a215
   6 //   Firmware build timestamp: Dec  6 2005 09:17:55
   7 //   Canon PowerShot A430
   8 
   9 // Values for makefile.inc
  10 //   DIGIC = 20# DIGIC II
  11 //   PLATFORMID = 12536# (0x30f8) Found @ 0xfffe0130
  12 //   MAXRAMADDR = 0x00ffffff
  13 //   MEMISOSTART = 0x0009f7d0
  14 
  15 // Detected address ranges:
  16 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  17 // RAM data 0x00001900 - 0x0000ebc0 copied from 0xffec54f0 (  53952 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.             //--- ---    *** != 0xffd28268
  22 //NHSTUB(ExitFromCompensationEVF              ,0xffd2832c) //  1 76%    *** != 0xffd282c4
  23 NHSTUB(GetFocusLensSubjectDistance            ,0xffe5bc90) //  1 96%
  24 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe5c230) //  3 52%
  25 NHSTUB(GetParameterData                       ,0xffd40e2c) //  1 86%
  26 NHSTUB(GetSystemTime                          ,0xffc04b2c) //  1 96%
  27 NHSTUB(PutInNdFilter                          ,0xffe674bc) //  1 92%
  28 // ALT: NHSTUB(PutInNdFilter, 0xffe6904c) // 1 25/2
  29 // ALT: NHSTUB(PutInNdFilter, 0xffe69094) // 1 25/2
  30 // ALT: NHSTUB(PutInNdFilter, 0xffe6904c) // 2 25/2
  31 // ALT: NHSTUB(PutInNdFilter, 0xffe69094) // 2 25/2
  32 NHSTUB(PutOutNdFilter                         ,0xffe67504) //  1 94%
  33 NHSTUB(SetParameterData                       ,0xffd40d4c) //  1 86%
  34 NHSTUB(UnsetZoomForMovie                      ,0xffd76190) //  1 89%
  35 //NHSTUB(WriteSDCard                          ,0xffc6c234) //  3 64%    *** != 0xffc6c3dc
  36 NHSTUB(add_ptp_handler                        ,0xffe1bc34) //  1 96%
  37 // ERROR: free is not found.                               //--- ---    *** != 0xffeb1eb0
  38 //NHSTUB(kbd_pwr_off                          ,0xffc18e98) //  1 83%    *** != 0x00000000
  39 // ALT: NHSTUB(kbd_pwr_off, 0xffc18eb4) // 1 5/1
  40 // ALT: NHSTUB(kbd_pwr_off, 0xffc18b40) // 3 5/1
  41 // ALT: NHSTUB(kbd_pwr_off, 0xffc18b5c) // 3 5/1
  42 // ALT: NHSTUB(kbd_pwr_off, 0xffc18c48) // 3 5/1
  43 // ALT: NHSTUB(kbd_pwr_off, 0xffc18c64) // 3 5/1
  44 // ALT: NHSTUB(kbd_pwr_off, 0xffc18d34) // 3 5/1
  45 // ALT: NHSTUB(kbd_pwr_off, 0xffc18d50) // 3 5/1
  46 // ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0x00000000
  47 NHSTUB(malloc                                 ,0xffeb1ea4) //  1 53%
  48 NHSTUB(taskIdListGet                          ,0xffebeacc) //  1 82%
  49 NHSTUB(localtime                              ,0xffeaaae0) //  1 93%
  50 NHSTUB(Mount_FileSystem                       ,0xffc5ca48) //  1 90%
  51 // ERROR: MakeAFScan is not found.                         //--- ---    *** != 0xffd2ac58
  52 
  53 // Check of modemap from 'platform/CAMERA/shooting.c':
  54 // Firmware modemap table found @ffd3c47c -> ffd3c47c
  55 // Mode  3614 in firmware but not in current modemap
  56 // Mode  3615 in firmware but not in current modemap
  57 // Mode  3616 in firmware but not in current modemap
  58 // Mode  3618 in firmware but not in current modemap
  59 // Current modemap entry not found in firmware - MODE_VIDEO_COLOR_SWAP     2592
  60 // Current modemap entry not found in firmware - MODE_VIDEO_COLOR_ACCENT   2591
  61 // Current modemap entry not found in firmware - MODE_VIDEO_COMPACT        2595
  62 // Current modemap entry not found in firmware - MODE_VIDEO_SPEED          2594
  63 // Current modemap entry not found in firmware - MODE_VIDEO_STD            3613
  64 
  65 // Values below can be overridden in 'stubs_min.S':
  66 DEF(levent_table                            ,0xffd3547c) // Found @0xffd3547c
  67 DEF(FlashParamsTable                        ,0xffd3e68c) // Found @0xffd3e68c
  68 DEF(fileio_semaphore                        ,0x000027b4) // Found @0xffc5ae6c
  69 DEF(exmem_alloc_table                       ,0x00001bc8) // Found @0xffc01f18
  70 DEF(exmem_types_table                       ,0xffc01d30) // Found @0xffc01d30
  71 DEF_CONST(exmem_type_count                  ,0x0000000d)
  72 DEF(imager_active                           ,0x00005428) // Found @0xffcb11c8 (0x5428 + 0)
  73 DEF_CONST(uiprop_count                      ,0x00000057) // Found @0xffd400a0
  74 
  75 // Values below go in 'lib.c':
  76 //int get_flash_params_count(void) { return 0x6c; }                          // Found @0xffd40e98
  77 
  78 // Values below go in 'platform_camera.h':
  79 //#define PARAM_CAMERA_NAME 3 // Found @0xffd3de48
  80 
  81 // Misc stuff
  82 
  83 // EXMEM types:
  84 // EXMEM_RAMDISK   0
  85 // EXMEM_COM       1
  86 // EXMEM_COMTMP    2
  87 // EXMEM_FORMATTER 3
  88 // EXMEM_SHADING   4
  89 // EXMEM_FAMODE    5
  90 // EXMEM_FIRMUP    6
  91 // EXMEM_FILESTORE 7
  92 // EXMEM_MOVIE_REC 8
  93 // EXMEM_MOVIE_PLY 9
  94 // EXMEM_WIDE      10
  95 // EXMEM_NARROW    11
  96 // EXMEM_PCEVF     12
  97 
  98 // LED table init @ 0xffc1d614
  99 // LED #1: 0xc022008c, offset 0x4
 100 // LED #2: 0xc0220088, offset 0x44
 101 // LED #3: 0xc0220090, offset 0x84
 102 // LED #4: 0xc0220084, offset 0x204
 103 // LED #5: 0xc0220080, offset 0x244
 104 
 105 
 106 // For capt_seq.c
 107 DEF(_nrflag,0x60e8) // Found @ ffd2c978 (0x60e8)
 108 //static long *nrflag = (long*)(0x60e8);       // Found @ ffd2c978
 109 
 110 // Stubs below matched 100%.
 111 //    Name                                     Address                Comp to stubs_entry_2.S
 112 NHSTUB(AllocateUncacheableMemory              ,0xffc048f4) //  1
 113 NHSTUB(Close                                  ,0xffc5d7a8) //120
 114 NHSTUB(CreateBinarySemaphore                  ,0xffc108b0) //115
 115 NHSTUB(CreateTask                             ,0xffc11260) //120
 116 NHSTUB(DebugAssert                            ,0xffc03aec) //1100
 117 NHSTUB(DeleteFile_Fut                         ,0xffc56944) //  1
 118 NHSTUB(DoAELock                               ,0xffd265cc) //120
 119 NHSTUB(DoAFLock                               ,0xffd2647c) //120
 120 NHSTUB(ExecuteEventProcedure                  ,0xffc0680c) //  1
 121 NHSTUB(ExitTask                               ,0xffc11620) //120
 122 NHSTUB(Fclose_Fut                             ,0xffc56a84) //120
 123 NHSTUB(Feof_Fut                               ,0xffc56c98) //  1
 124 NHSTUB(Fflush_Fut                             ,0xffc56cd0) //  1
 125 NHSTUB(Fgets_Fut                              ,0xffc56c08) //  1
 126 NHSTUB(Fopen_Fut                              ,0xffc56a48) //120
 127 NHSTUB(Fread_Fut                              ,0xffc56b68) //120
 128 NHSTUB(FreeUncacheableMemory                  ,0xffc04928) //  1
 129 NHSTUB(Fseek_Fut                              ,0xffc56c50) //120
 130 NHSTUB(Fwrite_Fut                             ,0xffc56bb8) //120
 131 NHSTUB(GetBatteryTemperature                  ,0xffc1ccd0) //102
 132 NHSTUB(GetCCDTemperature                      ,0xffc1ccbc) //102
 133 NHSTUB(GetCurrentAvValue                      ,0xffe67338) //120
 134 NHSTUB(GetCurrentShutterSpeed                 ,0xffe66fe8) //120
 135 NHSTUB(GetDrive_ClusterSize                   ,0xffc5cf80) //119
 136 NHSTUB(GetDrive_FreeClusters                  ,0xffc5cff8) //1103
 137 NHSTUB(GetDrive_TotalClusters                 ,0xffc5cfbc) //119
 138 NHSTUB(GetOpticalTemperature                  ,0xffc1cca8) //120
 139 NHSTUB(GetPropertyCase                        ,0xffc14518) //  1
 140 NHSTUB(GetZoomLensCurrentPoint                ,0xffe4c738) //120
 141 NHSTUB(GetZoomLensCurrentPosition             ,0xffe4c74c) //102
 142 NHSTUB(GiveSemaphore                          ,0xffc10e58) //120
 143 NHSTUB(IsStrobeChargeCompleted                ,0xffce7fac) //  1
 144 NHSTUB(LEDDrive                               ,0xffc1d228) //120
 145 NHSTUB(LocalTime                              ,0xffc041bc) //115
 146 NHSTUB(LockMainPower                          ,0xffd3c1f4) //120
 147 NHSTUB(MakeDirectory_Fut                      ,0xffc569d0) //  1
 148 NHSTUB(MoveFocusLensToDistance                ,0xffe696e8) //102
 149 NHSTUB(MoveZoomLensWithPoint                  ,0xffe4c618) //120
 150 NHSTUB(Open                                   ,0xffc5d780) //120
 151 NHSTUB(PT_PlaySound                           ,0xffd33988) //  1
 152 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd382ec) //120
 153 NHSTUB(PostLogicalEventToUI                   ,0xffd38368) //120
 154 NHSTUB(Read                                   ,0xffc5d83c) //120
 155 NHSTUB(RefreshPhysicalScreen                  ,0xffd52390) //120
 156 NHSTUB(RenameFile_Fut                         ,0xffc568c4) //  1
 157 NHSTUB(Restart                                ,0xffc1277c) //  1
 158 NHSTUB(SetAE_ShutterSpeed                     ,0xffe6cb9c) //102
 159 NHSTUB(SetAutoShutdownTime                    ,0xffd3c0ec) //120
 160 NHSTUB(SetCurrentCaptureModeType              ,0xffd6b100) //120
 161 NHSTUB(SetFileAttributes                      ,0xffc5d960) //  1
 162 NHSTUB(SetLogicalEventActive                  ,0xffd3a0c4) //1104
 163 NHSTUB(SetPropertyCase                        ,0xffc143ec) //  1
 164 NHSTUB(SetScriptMode                          ,0xffd3a12c) //120
 165 NHSTUB(SleepTask                              ,0xffc11174) //120
 166 NHSTUB(TakeSemaphore                          ,0xffc10c70) //1101
 167 NHSTUB(TurnOffBackLight                       ,0xffd81e3c) //  2
 168 NHSTUB(TurnOnBackLight                        ,0xffd81e0c) //  2
 169 NHSTUB(TurnOnDisplay                          ,0xffd0b068) //120
 170 NHSTUB(TurnOffDisplay                         ,0xffd0b078) //120
 171 NHSTUB(UnlockAE                               ,0xffd265ec) //120
 172 NHSTUB(UnlockAF                               ,0xffd264c0) //120
 173 NHSTUB(UnlockMainPower                        ,0xffd3c2a8) //120
 174 NHSTUB(UpdateMBROnFlash                       ,0xffc5ccb4) //  1
 175 NHSTUB(VbattGet                               ,0xffc1bca0) //120
 176 NHSTUB(Write                                  ,0xffc5d848) //120
 177 NHSTUB(_log                                   ,0xffea2c50) //121
 178 NHSTUB(_log10                                 ,0xffe9f128) //121
 179 NHSTUB(_pow                                   ,0xffe9f2b0) //121
 180 NHSTUB(_sqrt                                  ,0xffea104c) //  1
 181 NHSTUB(apex2us                                ,0xffc96f4c) //  1
 182 NHSTUB(close                                  ,0xffeaee64) //109
 183 NHSTUB(exmem_alloc                            ,0xffc02968) //122
 184 NHSTUB(exmem_ualloc                           ,0xffc0281c) //122
 185 NHSTUB(exmem_ufree                            ,0xffc028ec) //122
 186 NHSTUB(get_nd_value                           ,0xffe5508c) //115
 187 NHSTUB(get_current_nd_value                   ,0xffe54fe8) //122
 188 NHSTUB(kbd_p1_f                               ,0xffc16914) //  1
 189 NHSTUB(kbd_p1_f_cont                          ,0xffc16920) //109
 190 NHSTUB(kbd_p2_f                               ,0xffc16cf0) //  1
 191 NHSTUB(kbd_read_keys_r2                       ,0xffc17678) //  1
 192 NHSTUB(lseek                                  ,0xffeaefa8) //  1
 193 NHSTUB(memcmp                                 ,0xffea9ec0) //120
 194 NHSTUB(memcpy                                 ,0xffea9efc) //120
 195 NHSTUB(memset                                 ,0xffea9f74) //120
 196 NHSTUB(mkdir                                  ,0xffc5d990) //  1
 197 NHSTUB(open                                   ,0xffeaf4a8) //109
 198 NHSTUB(closedir                               ,0xffeac2ec) //  1
 199 NHSTUB(qsort                                  ,0xffea9720) //  1
 200 NHSTUB(rand                                   ,0xffea9744) //  1
 201 NHSTUB(realloc                                ,0xffe999f4) //115
 202 NHSTUB(srand                                  ,0xffea9768) //  1
 203 NHSTUB(stat                                   ,0xffeac3b4) //  1
 204 NHSTUB(strcat                                 ,0xffea9f94) //  1
 205 NHSTUB(strchr                                 ,0xffea9fc0) //  1
 206 NHSTUB(strcmp                                 ,0xffea9fe4) //120
 207 NHSTUB(strcpy                                 ,0xffeaa178) //120
 208 NHSTUB(strftime                               ,0xffeab800) //  1
 209 NHSTUB(strlen                                 ,0xffeaa2dc) //120
 210 NHSTUB(strncmp                                ,0xffeaa340) //  1
 211 NHSTUB(strncpy                                ,0xffeaa384) //  1
 212 NHSTUB(strrchr                                ,0xffeaa408) //  1
 213 NHSTUB(strtol                                 ,0xffea9b5c) //  1
 214 NHSTUB(isdigit                                ,0xffea63c0) //  1
 215 NHSTUB(isspace                                ,0xffea6438) //  1
 216 NHSTUB(isalpha                                ,0xffea6390) //  1
 217 NHSTUB(isupper                                ,0xffea6450) //  1
 218 NHSTUB(islower                                ,0xffea63f0) //  1
 219 NHSTUB(ispunct                                ,0xffea6420) //  1
 220 NHSTUB(isxdigit                               ,0xffea6468) //  1
 221 NHSTUB(toupper                                ,0xffea6490) //  1
 222 NHSTUB(tolower                                ,0xffea6480) //  1
 223 NHSTUB(taskLock                               ,0xffebf188) //  1
 224 NHSTUB(taskUnlock                             ,0xffebf230) //  1
 225 NHSTUB(taskName                               ,0xffebe9c4) //  1
 226 NHSTUB(errnoOfTaskGet                         ,0xffeacab8) //  1
 227 NHSTUB(readdir                                ,0xffeac2b8) //  1
 228 NHSTUB(strtoul                                ,0xffea9d04) //  1
 229 NHSTUB(strpbrk                                ,0xffeaa3cc) //  1
 230 NHSTUB(utime                                  ,0xffeac448) //  1
 231 NHSTUB(mktime                                 ,0xffeaaca8) //  1
 232 NHSTUB(opendir                                ,0xffeac320) //  1
 233 NHSTUB(memchr                                 ,0xffea9e8c) //  1
 234 NHSTUB(memPartInfoGet                         ,0xffeb22c4) //  1
 235 NHSTUB(iosDrvInstall                          ,0xffeb0348) //  1
 236 NHSTUB(iosDevAdd                              ,0xffeb0084) //  1
 237 NHSTUB(iosDevDelete                           ,0xffeb005c) //  1
 238 NHSTUB(GetCurrentTargetDistance               ,0xffe69448) //  1
 239 NHSTUB(taskCreateHookAdd                      ,0xffeb4b04) //  1
 240 NHSTUB(taskDeleteHookAdd                      ,0xffeb4a40) //  1
 241 NHSTUB(Unmount_FileSystem                     ,0xffc5cb60) //  1
 242 NHSTUB(taskSuspend                            ,0xffebebd4) //  1
 243 NHSTUB(taskResume                             ,0xffebeda8) //  1
 244 NHSTUB(time                                   ,0xffeab82c) //  1
 245 NHSTUB(vsprintf                               ,0xffeadc0c) //115
 246 NHSTUB(EngDrvRead                             ,0xffc6e774) //102
 247 NHSTUB(PTM_GetCurrentItem                     ,0xffd3edc8) //102
 248 NHSTUB(CancelHPTimer                          ,0xffc059f0) //119
 249 NHSTUB(SetHPTimerAfterNow                     ,0xffc0557c) //119
 250 NHSTUB(MFOn                                   ,0xffd26f44) //120
 251 NHSTUB(MFOff                                  ,0xffd26f74) //120
 252 NHSTUB(GetAdChValue                           ,0xffc195f4) //120
 253 NHSTUB(get_ptp_buf_size                       ,0xffe10c74) //122
 254 NHSTUB(get_ptp_file_buf                       ,0xffe2bfac) //121

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