root/platform/a550/sub/100c/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.00C   // Found @ 0xffc07c68, "GM1.00C" @ 0xffc07c75
   6 //   Firmware build timestamp: Dec  4 2006 07:46:45
   7 //   Canon PowerShot A550
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12624 (0x3150) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x0009f2b0
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000ce40 copied from 0xffeeb4d0 (  46400 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                 ,0xffe6b9b0) //  3 96%
  21 NHSTUB(FreeUncacheableMemory                  ,0xffc0e104) //  1 90%
  22 NHSTUB(GetFocusLensSubjectDistance            ,0xffe43b08) //  1 83%
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe4400c) //  2 92%
  24 NHSTUB(GetParameterData                       ,0xffea7dc8) //  1 86%
  25 NHSTUB(GetPropertyCase                        ,0xffc0b7c4) //  2 89%
  26 NHSTUB(GetSystemTime                          ,0xffc033c0) //  1 96%
  27 NHSTUB(PutInNdFilter                          ,0xffde2d88) //  1 92%
  28 NHSTUB(PutOutNdFilter                         ,0xffde2dd0) //  1 94%
  29 NHSTUB(Restart                                ,0xffc0b278) //  1 96%
  30 NHSTUB(SetParameterData                       ,0xffea7ce8) //  1 86%
  31 NHSTUB(SetPropertyCase                        ,0xffc0b68c) //  3 96%
  32 NHSTUB(UnsetZoomForMovie                      ,0xffc227d4) //  1 89%
  33 //NHSTUB(WriteSDCard                          ,0xffe3437c) //  3 74%    *** != 0xffe34524
  34 NHSTUB(add_ptp_handler                        ,0xffd7dff8) //  1 96%
  35 // ERROR: free is not found.                               //--- ---    *** != 0xffcc8154
  36 NHSTUB(kbd_p2_f                               ,0xffdca148) //  1 56%
  37 //NHSTUB(kbd_read_keys_r2                     ,0xffdcb3a0) //  3 58%    *** != 0xffdcb384
  38 NHSTUB(malloc                                 ,0xffcc8148) //  1 53%
  39 NHSTUB(mkdir                                  ,0xffe22408) //  1 51%
  40 // ALT: NHSTUB(mkdir, 0xffe224dc) // 1 16/15
  41 NHSTUB(taskIdListGet                          ,0xffcd2290) //  1 82%
  42 NHSTUB(utime                                  ,0xffebdeac) //  1 57%
  43 NHSTUB(localtime                              ,0xffcc0f60) //  1 93%
  44 NHSTUB(Mount_FileSystem                       ,0xffe214c4) //  3 93%
  45 NHSTUB(MakeAFScan                             ,0xffe708d4) //  2 86%
  46 
  47 // Check of modemap from 'platform/CAMERA/shooting.c':
  48 // Firmware modemap table found @ffea9f04 -> ffea9f04
  49 // No problems found with modemap table.
  50 
  51 // Values below can be overridden in 'stubs_min.S':
  52 DEF(levent_table                            ,0xffe9d378) // Found @0xffe9d378
  53 DEF(FlashParamsTable                        ,0xffeac254) // Found @0xffeac254
  54 DEF(fileio_semaphore                        ,0x00008e24) // Found @0xffe24864
  55 DEF(exmem_alloc_table                       ,0x00001e14) // Found @0xffc0d4c8
  56 DEF(exmem_types_table                       ,0xffc0d2e8) // Found @0xffc0d2e8
  57 DEF_CONST(exmem_type_count                  ,0x00000011)
  58 DEF(imager_active                           ,0x00005d58) // Found @0xffd474b0 (0x5d58 + 0)
  59 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffea6ec8
  60 
  61 // Values below go in 'lib.c':
  62 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffea7e34
  63 
  64 // Values below go in 'platform_camera.h':
  65 //#define PARAM_CAMERA_NAME 4 // Found @0xffeab9e4
  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_DVLPWORK  7
  78 // EXMEM_EVF       8
  79 // EXMEM_SCRIPT    9
  80 // EXMEM_FILESTORE 10
  81 // EXMEM_MOVIE_REC 11
  82 // EXMEM_MOVIE_PLY 12
  83 // EXMEM_WIDE      13
  84 // EXMEM_NARROW    14
  85 // EXMEM_CRAW_REC  15
  86 // EXMEM_PCEVF     16
  87 
  88 // LED table init @ 0xffdc9a58
  89 // LED #1: 0xc022008c, offset 0x4
  90 // LED #2: 0xc0220088, offset 0x44
  91 // LED #3: 0xc0220090, offset 0x84
  92 // LED #4: 0xc0220084, offset 0x204
  93 // LED #5: 0xc0220080, offset 0x244
  94 
  95 // Stubs below matched 100%.
  96 //    Name                                     Address                Comp to stubs_entry_2.S
  97 NHSTUB(AllocateUncacheableMemory              ,0xffc0e0d0) //  1
  98 NHSTUB(Close                                  ,0xffe221a0) //120
  99 NHSTUB(CreateBinarySemaphore                  ,0xffe831e8) //115
 100 NHSTUB(CreateTask                             ,0xffe83c00) //120
 101 NHSTUB(DebugAssert                            ,0xffe8fb40) //1100
 102 NHSTUB(DeleteFile_Fut                         ,0xffe1d778) //  1
 103 NHSTUB(DoAELock                               ,0xffe6bb3c) //120
 104 NHSTUB(DoAFLock                               ,0xffe6b77c) //120
 105 NHSTUB(ExecuteEventProcedure                  ,0xffc04698) //  1
 106 NHSTUB(ExitFromCompensationEVF                ,0xffe6ba34) //  3
 107 NHSTUB(ExitTask                               ,0xffe83fc0) //120
 108 NHSTUB(Fclose_Fut                             ,0xffe1d8ec) //120
 109 NHSTUB(Feof_Fut                               ,0xffe1dae8) //  3
 110 NHSTUB(Fflush_Fut                             ,0xffe1db24) //  3
 111 NHSTUB(Fgets_Fut                              ,0xffe1da50) //  3
 112 NHSTUB(Fopen_Fut                              ,0xffe1d8ac) //120
 113 NHSTUB(Fread_Fut                              ,0xffe1d9a8) //120
 114 NHSTUB(Fseek_Fut                              ,0xffe1da9c) //120
 115 NHSTUB(Fwrite_Fut                             ,0xffe1d9fc) //120
 116 NHSTUB(GetBatteryTemperature                  ,0xffdce750) //102
 117 NHSTUB(GetCCDTemperature                      ,0xffdce73c) //102
 118 NHSTUB(GetCurrentAvValue                      ,0xffde2ba4) //120
 119 NHSTUB(GetCurrentShutterSpeed                 ,0xffde2860) //120
 120 NHSTUB(GetDrive_ClusterSize                   ,0xffe2198c) //119
 121 NHSTUB(GetDrive_FreeClusters                  ,0xffe21a04) //1103
 122 NHSTUB(GetDrive_TotalClusters                 ,0xffe219c8) //119
 123 NHSTUB(GetOpticalTemperature                  ,0xffdce728) //120
 124 NHSTUB(GetZoomLensCurrentPoint                ,0xffe55a40) //120
 125 NHSTUB(GetZoomLensCurrentPosition             ,0xffe55a54) //102
 126 NHSTUB(GiveSemaphore                          ,0xffe837cc) //120
 127 NHSTUB(IsStrobeChargeCompleted                ,0xffd4269c) //  2
 128 NHSTUB(LEDDrive                               ,0xffdc966c) //120
 129 NHSTUB(LocalTime                              ,0xffe90454) //115
 130 NHSTUB(LockMainPower                          ,0xffea4ccc) //120
 131 NHSTUB(MakeDirectory_Fut                      ,0xffe1d82c) //  3
 132 NHSTUB(MoveFocusLensToDistance                ,0xffde51b4) //102
 133 NHSTUB(MoveIrisWithAv                         ,0xffe4a6b4) //120
 134 NHSTUB(MoveZoomLensWithPoint                  ,0xffe55918) //120
 135 NHSTUB(Open                                   ,0xffe22178) //120
 136 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffe7b5f4) //120
 137 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffe7b5b8) //120
 138 NHSTUB(PT_PlaySound                           ,0xffe7b0b8) //  3
 139 NHSTUB(PostLogicalEventForNotPowerType        ,0xffea08e4) //120
 140 NHSTUB(PostLogicalEventToUI                   ,0xffea0960) //120
 141 NHSTUB(Read                                   ,0xffe22234) //120
 142 NHSTUB(RefreshPhysicalScreen                  ,0xffcb4b74) //120
 143 NHSTUB(RenameFile_Fut                         ,0xffe1d6d0) //  3
 144 NHSTUB(SetAE_ShutterSpeed                     ,0xffde82b4) //102
 145 NHSTUB(SetAutoShutdownTime                    ,0xffea4bd0) //120
 146 NHSTUB(SetCurrentCaptureModeType              ,0xffc17ec4) //120
 147 NHSTUB(SetFileAttributes                      ,0xffe22388) //  3
 148 NHSTUB(SetLogicalEventActive                  ,0xffea27dc) //1104
 149 NHSTUB(SetScriptMode                          ,0xffea2844) //120
 150 NHSTUB(SleepTask                              ,0xffe83b14) //120
 151 NHSTUB(TakeSemaphore                          ,0xffe835c4) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffc2ee94) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffc2ee64) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xffdbf72c) //120
 155 NHSTUB(TurnOffDisplay                         ,0xffdbf73c) //120
 156 NHSTUB(UnlockAE                               ,0xffe6bb8c) //120
 157 NHSTUB(UnlockAF                               ,0xffe6b7fc) //120
 158 NHSTUB(UnlockMainPower                        ,0xffea4d64) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xffe216c0) //  1
 160 NHSTUB(VbattGet                               ,0xffdc78f4) //120
 161 NHSTUB(Write                                  ,0xffe22240) //120
 162 NHSTUB(_log                                   ,0xffebc690) //121
 163 NHSTUB(_log10                                 ,0xffebbb10) //121
 164 NHSTUB(_pow                                   ,0xffcb8ab8) //121
 165 NHSTUB(_sqrt                                  ,0xffcba840) //  1
 166 NHSTUB(apex2us                                ,0xffcd95d0) //  1
 167 NHSTUB(close                                  ,0xffcc5108) //109
 168 NHSTUB(exmem_alloc                            ,0xffc0dfac) //102
 169 NHSTUB(exmem_free                             ,0xffc0e02c) //102
 170 NHSTUB(get_nd_value                           ,0xffe4eb68) //115
 171 NHSTUB(get_current_nd_value                   ,0xffe4eb54) //122
 172 NHSTUB(kbd_p1_f                               ,0xffdc9d18) //  1
 173 NHSTUB(kbd_p1_f_cont                          ,0xffdc9d24) //109
 174 NHSTUB(kbd_pwr_off                            ,0xffdcb968) //  1
 175 // ALT: NHSTUB(kbd_pwr_off, 0xffdcb998) // 1 6/0
 176 // ALT: NHSTUB(kbd_pwr_off, 0xffdcb9b4) // 1 6/0
 177 NHSTUB(kbd_pwr_on                             ,0xffdcb940) //  1
 178 NHSTUB(lseek                                  ,0xffcc524c) //  1
 179 NHSTUB(memcmp                                 ,0xffcc0340) //120
 180 NHSTUB(memcpy                                 ,0xffcc037c) //120
 181 NHSTUB(memset                                 ,0xffcc03f4) //120
 182 NHSTUB(open                                   ,0xffcc574c) //109
 183 NHSTUB(closedir                               ,0xffebdd50) //  1
 184 NHSTUB(qsort                                  ,0xffcbfba0) //  1
 185 NHSTUB(rand                                   ,0xffcbfbc4) //  1
 186 NHSTUB(realloc                                ,0xffe8f74c) //115
 187 NHSTUB(srand                                  ,0xffcbfbe8) //  1
 188 NHSTUB(stat                                   ,0xffebde18) //  1
 189 NHSTUB(strcat                                 ,0xffcc0414) //  1
 190 NHSTUB(strchr                                 ,0xffcc0440) //  1
 191 NHSTUB(strcmp                                 ,0xffcc0464) //120
 192 NHSTUB(strcpy                                 ,0xffcc05f8) //120
 193 NHSTUB(strftime                               ,0xffcc1c80) //  1
 194 NHSTUB(strlen                                 ,0xffcc075c) //120
 195 NHSTUB(strncmp                                ,0xffcc07c0) //  1
 196 NHSTUB(strncpy                                ,0xffcc0804) //  1
 197 NHSTUB(strrchr                                ,0xffcc0888) //  1
 198 NHSTUB(strtol                                 ,0xffcbffdc) //  1
 199 NHSTUB(isdigit                                ,0xffcbc710) //  1
 200 NHSTUB(isspace                                ,0xffcbc788) //  1
 201 NHSTUB(isalpha                                ,0xffcbc6e0) //  1
 202 NHSTUB(isupper                                ,0xffcbc7a0) //  1
 203 NHSTUB(islower                                ,0xffcbc740) //  1
 204 NHSTUB(ispunct                                ,0xffcbc770) //  1
 205 NHSTUB(isxdigit                               ,0xffcbc7b8) //  1
 206 NHSTUB(toupper                                ,0xffcbc7e0) //  1
 207 NHSTUB(tolower                                ,0xffcbc7d0) //  1
 208 NHSTUB(taskLock                               ,0xffcd294c) //  1
 209 NHSTUB(taskUnlock                             ,0xffcd29f4) //  1
 210 NHSTUB(taskName                               ,0xffcd2188) //  1
 211 NHSTUB(errnoOfTaskGet                         ,0xffcc2d5c) //  1
 212 NHSTUB(readdir                                ,0xffebdd1c) //  1
 213 NHSTUB(strtoul                                ,0xffcc0184) //  1
 214 NHSTUB(strpbrk                                ,0xffcc084c) //  1
 215 NHSTUB(mktime                                 ,0xffcc1128) //  1
 216 NHSTUB(opendir                                ,0xffebdd84) //  1
 217 NHSTUB(memchr                                 ,0xffcc030c) //  1
 218 NHSTUB(memPartInfoGet                         ,0xffcc8568) //  1
 219 NHSTUB(iosDrvInstall                          ,0xffcc65ec) //  1
 220 NHSTUB(iosDevAdd                              ,0xffcc6328) //  1
 221 NHSTUB(iosDevDelete                           ,0xffcc6300) //  1
 222 NHSTUB(GetCurrentTargetDistance               ,0xffde4f1c) //  1
 223 NHSTUB(taskCreateHookAdd                      ,0xffccada8) //  1
 224 NHSTUB(taskDeleteHookAdd                      ,0xffccace4) //  1
 225 NHSTUB(Unmount_FileSystem                     ,0xffe2156c) //  1
 226 NHSTUB(taskSuspend                            ,0xffcd2398) //  1
 227 NHSTUB(taskResume                             ,0xffcd256c) //  1
 228 NHSTUB(time                                   ,0xffcc1cac) //  1
 229 NHSTUB(vsprintf                               ,0xffcc3eb0) //115
 230 NHSTUB(EngDrvRead                             ,0xffdd4054) //102
 231 NHSTUB(PTM_GetCurrentItem                     ,0xffea5bc4) //102
 232 NHSTUB(CancelHPTimer                          ,0xffc04284) //119
 233 NHSTUB(SetHPTimerAfterNow                     ,0xffc03e10) //119
 234 NHSTUB(MFOn                                   ,0xffe7bf9c) //120
 235 NHSTUB(MFOff                                  ,0xffe7bfac) //120
 236 NHSTUB(GetAdChValue                           ,0xffdc4b7c) //120
 237 NHSTUB(get_ptp_buf_size                       ,0xffd73700) //122
 238 NHSTUB(get_ptp_file_buf                       ,0xffd8b8a4) //121

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