root/platform/a630/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 @ 0xffc0a398, "GM1.00C" @ 0xffc0a3a5
   6 //   Firmware build timestamp: Jul  4 2006 21:35:08
   7 //   Canon PowerShot A630
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12602 (0x313a) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x00094810
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d540 copied from 0xfff06100 (  48192 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                 ,0xffd4fd90) //  2 96%
  21 NHSTUB(GetFocusLensSubjectDistance            ,0xffe9b4fc) //  2 96%
  22 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe9bab0) //  2 57%
  23 NHSTUB(PutInNdFilter                          ,0xffea7484) //  1 92%
  24 NHSTUB(PutOutNdFilter                         ,0xffea74cc) //  1 94%
  25 //NHSTUB(Remove                               ,0xffcc0730) //  3 52%
  26 NHSTUB(Restart                                ,0xffc12fd4) //  1 96%
  27 NHSTUB(UnsetZoomForMovie                      ,0xffda1ce4) //  1 89%
  28 NHSTUB(add_ptp_handler                        ,0xffe5291c) //  1 96%
  29 // ERROR: free is not found.                               //--- ---    *** != 0xffef3284
  30 NHSTUB(malloc                                 ,0xffef3278) //  1 53%
  31 NHSTUB(taskIdListGet                          ,0xffeffea0) //  1 82%
  32 NHSTUB(localtime                              ,0xffeebeb4) //  1 93%
  33 NHSTUB(Mount_FileSystem                       ,0xffc60810) //  1 90%
  34 NHSTUB(MakeAFScan                             ,0xffd54358) //  2 79%
  35 
  36 // Check of modemap from 'platform/CAMERA/shooting.c':
  37 // Firmware modemap table found @ffd682d0 -> ffd682d0
  38 // Mode  8221 in firmware but not in current modemap
  39 
  40 // Values below can be overridden in 'stubs_min.S':
  41 //DEF(levent_table                            ,0xffd60ce4) // Found @0xffd60ce4,          stubs_min = 0xffd60ce4 (0xFFD60CE4)
  42 //DEF(FlashParamsTable                        ,0xffd6aa78) // Found @0xffd6aa78,          stubs_min = 0xffd6aa78 (0xFFD6AA78)
  43 DEF(fileio_semaphore                        ,0x0000273c) // Found @0xffc5ebb4
  44 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xffc01f28
  45 DEF(exmem_types_table                       ,0xffc01d3c) // Found @0xffc01d3c
  46 DEF_CONST(exmem_type_count                  ,0x0000000e)
  47 DEF(imager_active                           ,0x000054e8) // Found @0xffcc40dc (0x54e8 + 0)
  48 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xffd6c6b4
  49 
  50 // Values below go in 'lib.c':
  51 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xffd6d8c0
  52 
  53 // Values below go in 'platform_camera.h':
  54 //#define PARAM_CAMERA_NAME 4 // Found @0xffd6a218
  55 
  56 // Misc stuff
  57 
  58 // EXMEM types:
  59 // EXMEM_RAMDISK   0
  60 // EXMEM_COM       1
  61 // EXMEM_COMTMP    2
  62 // EXMEM_FORMATTER 3
  63 // EXMEM_SHADING   4
  64 // EXMEM_FAMODE    5
  65 // EXMEM_FIRMUP    6
  66 // EXMEM_DVLPWORK  7
  67 // EXMEM_FILESTORE 8
  68 // EXMEM_MOVIE_REC 9
  69 // EXMEM_MOVIE_PLY 10
  70 // EXMEM_WIDE      11
  71 // EXMEM_NARROW    12
  72 // EXMEM_PCEVF     13
  73 
  74 // LED table init @ 0xffc1e0e8
  75 // LED #1: 0xc022008c, offset 0x4
  76 // LED #2: 0xc0220088, offset 0x44
  77 // LED #3: 0xc0220090, offset 0x84
  78 // LED #4: 0xc0220094, offset 0xc4
  79 // LED #5: 0xc0220084, offset 0x204
  80 // LED #6: 0xc0220080, offset 0x244
  81 
  82 // Stubs below matched 100%.
  83 //    Name                                     Address                Comp to stubs_entry_2.S
  84 NHSTUB(AllocateUncacheableMemory              ,0xffc04b00) //  1
  85 NHSTUB(Close                                  ,0xffc614e8) //120
  86 NHSTUB(CreateBinarySemaphore                  ,0xffc1110c) //115
  87 NHSTUB(CreateTask                             ,0xffc11abc) //120
  88 NHSTUB(DebugAssert                            ,0xffc03cf8) //1100
  89 NHSTUB(DeleteFile_Fut                         ,0xffc5a398) //  1
  90 NHSTUB(DoAELock                               ,0xffd4fe30) //120
  91 NHSTUB(DoAFLock                               ,0xffd4fc44) //120
  92 NHSTUB(ExecuteEventProcedure                  ,0xffc0699c) //  1
  93 NHSTUB(ExitFromCompensationEVF                ,0xffd5337c) //  2
  94 NHSTUB(ExitTask                               ,0xffc11e7c) //120
  95 NHSTUB(Fclose_Fut                             ,0xffc5a4d8) //120
  96 NHSTUB(Feof_Fut                               ,0xffc5a6ec) //  1
  97 NHSTUB(Fflush_Fut                             ,0xffc5a724) //  1
  98 NHSTUB(Fgets_Fut                              ,0xffc5a65c) //  1
  99 NHSTUB(Fopen_Fut                              ,0xffc5a49c) //120
 100 NHSTUB(Fread_Fut                              ,0xffc5a5bc) //120
 101 NHSTUB(FreeUncacheableMemory                  ,0xffc04b34) //  1
 102 NHSTUB(Fseek_Fut                              ,0xffc5a6a4) //120
 103 NHSTUB(Fwrite_Fut                             ,0xffc5a60c) //120
 104 NHSTUB(GetBatteryTemperature                  ,0xffc1d7a4) //102
 105 NHSTUB(GetCCDTemperature                      ,0xffc1d790) //102
 106 NHSTUB(GetCurrentAvValue                      ,0xffea6ffc) //120
 107 NHSTUB(GetCurrentShutterSpeed                 ,0xffea6c3c) //120
 108 NHSTUB(GetUsableMaxAv                         ,0xffea72b8) //120
 109 NHSTUB(GetUsableMinAv                         ,0xffea7294) //120
 110 //NHSTUB(GetDrive_ClusterSize                 ,0xffc60cd4) //119            == 0xffc60cd4
 111 //NHSTUB(GetDrive_FreeClusters                ,0xffc60d4c) //1103            == 0xffc60d4c
 112 NHSTUB(GetDrive_TotalClusters                 ,0xffc60d10) //119
 113 NHSTUB(GetOpticalTemperature                  ,0xffc1d77c) //120
 114 NHSTUB(GetParameterData                       ,0xffd6d854) //  2
 115 NHSTUB(GetPropertyCase                        ,0xffc14de4) //  2
 116 NHSTUB(GetSystemTime                          ,0xffc04d38) //  2
 117 NHSTUB(GetZoomLensCurrentPoint                ,0xffe87928) //120
 118 NHSTUB(GetZoomLensCurrentPosition             ,0xffe8793c) //102
 119 NHSTUB(GiveSemaphore                          ,0xffc116b4) //120
 120 NHSTUB(IsStrobeChargeCompleted                ,0xffd08620) //  2
 121 NHSTUB(LEDDrive                               ,0xffc1dcfc) //120
 122 NHSTUB(LocalTime                              ,0xffc043c8) //115
 123 NHSTUB(LockMainPower                          ,0xffd68070) //120
 124 NHSTUB(MakeDirectory_Fut                      ,0xffc5a424) //  1
 125 NHSTUB(MoveFocusLensToDistance                ,0xffea9770) //102
 126 NHSTUB(MoveZoomLensWithPoint                  ,0xffe87808) //120
 127 NHSTUB(Open                                   ,0xffc614c0) //120
 128 NHSTUB(PT_PlaySound                           ,0xffd5eee0) //  1
 129 NHSTUB(PostLogicalEventForNotPowerType        ,0xffd63df0) //120
 130 NHSTUB(PostLogicalEventToUI                   ,0xffd63e6c) //120
 131 NHSTUB(Read                                   ,0xffc6157c) //120
 132 NHSTUB(RefreshPhysicalScreen                  ,0xffd7f49c) //120
 133 NHSTUB(RenameFile_Fut                         ,0xffc5a318) //  1
 134 NHSTUB(SetAE_ShutterSpeed                     ,0xffeac3e0) //102
 135 NHSTUB(SetAutoShutdownTime                    ,0xffd67f74) //120
 136 NHSTUB(SetCurrentCaptureModeType              ,0xffd964c8) //120
 137 NHSTUB(SetFileAttributes                      ,0xffc61710) //  1
 138 NHSTUB(SetLogicalEventActive                  ,0xffd65bd8) //1104
 139 NHSTUB(SetParameterData                       ,0xffd6d774) //  2
 140 NHSTUB(SetPropertyCase                        ,0xffc14c94) //  2
 141 //NHSTUB(SetScriptMode                        ,0xffd65c40) //120            == 0xffd65c40
 142 NHSTUB(SleepTask                              ,0xffc119d0) //120
 143 NHSTUB(TakeSemaphore                          ,0xffc114cc) //1101
 144 NHSTUB(TurnOffBackLight                       ,0xffdb63f4) //  2
 145 NHSTUB(TurnOnBackLight                        ,0xffdb63c4) //  2
 146 NHSTUB(TurnOnDisplay                          ,0xffd2cf00) //120
 147 NHSTUB(TurnOffDisplay                         ,0xffd2cf10) //120
 148 NHSTUB(UnlockAE                               ,0xffd4fe50) //120
 149 NHSTUB(UnlockAF                               ,0xffd4fc90) //120
 150 NHSTUB(UnlockMainPower                        ,0xffd68108) //120
 151 NHSTUB(UpdateMBROnFlash                       ,0xffc60a08) //  1
 152 NHSTUB(VbattGet                               ,0xffc1c6d0) //120
 153 NHSTUB(Write                                  ,0xffc61588) //120
 154 NHSTUB(WriteSDCard                            ,0xffc707ac) //  2
 155 NHSTUB(_log                                   ,0xffee5cf0) //121
 156 NHSTUB(_log10                                 ,0xffee2090) //121
 157 NHSTUB(_pow                                   ,0xffee2218) //121
 158 NHSTUB(_sqrt                                  ,0xffee40ec) //  1
 159 NHSTUB(apex2us                                ,0xffca4bf8) //  1
 160 NHSTUB(close                                  ,0xffef0238) //109
 161 NHSTUB(exmem_alloc                            ,0xffc02834) //122
 162 NHSTUB(exmem_free                             ,0xffc02904) //122
 163 NHSTUB(kbd_p1_f                               ,0xffc17478) //  1
 164 NHSTUB(kbd_p1_f_cont                          ,0xffc17484) //109
 165 NHSTUB(kbd_p2_f                               ,0xffc1785c) //  1
 166 NHSTUB(kbd_read_keys_r2                       ,0xffc18274) //  1
 167 NHSTUB(kbd_pwr_off                            ,0xffc188f0) //  1
 168 // ALT: NHSTUB(kbd_pwr_off, 0xffc18920) // 1 6/0
 169 // ALT: NHSTUB(kbd_pwr_off, 0xffc1893c) // 1 6/0
 170 NHSTUB(kbd_pwr_on                             ,0xffc188c8) //  1
 171 NHSTUB(lseek                                  ,0xffef037c) //  1
 172 NHSTUB(memcmp                                 ,0xffeeb294) //120
 173 NHSTUB(memcpy                                 ,0xffeeb2d0) //120
 174 NHSTUB(memset                                 ,0xffeeb348) //120
 175 NHSTUB(mkdir                                  ,0xffc61740) //  1
 176 NHSTUB(open                                   ,0xffef087c) //109
 177 NHSTUB(closedir                               ,0xffeed6c0) //  1
 178 NHSTUB(qsort                                  ,0xffeeaaf4) //  1
 179 NHSTUB(rand                                   ,0xffeeab18) //  1
 180 NHSTUB(realloc                                ,0xffedc240) //115
 181 NHSTUB(srand                                  ,0xffeeab3c) //  1
 182 NHSTUB(stat                                   ,0xffeed788) //  1
 183 NHSTUB(strcat                                 ,0xffeeb368) //  1
 184 NHSTUB(strchr                                 ,0xffeeb394) //  1
 185 NHSTUB(strcmp                                 ,0xffeeb3b8) //120
 186 NHSTUB(strcpy                                 ,0xffeeb54c) //120
 187 NHSTUB(strftime                               ,0xffeecbd4) //  1
 188 NHSTUB(strlen                                 ,0xffeeb6b0) //120
 189 NHSTUB(strncmp                                ,0xffeeb714) //  1
 190 NHSTUB(strncpy                                ,0xffeeb758) //  1
 191 NHSTUB(strrchr                                ,0xffeeb7dc) //  1
 192 NHSTUB(strtol                                 ,0xffeeaf30) //  1
 193 NHSTUB(isdigit                                ,0xffee7664) //  1
 194 NHSTUB(isspace                                ,0xffee76dc) //  1
 195 NHSTUB(isalpha                                ,0xffee7634) //  1
 196 NHSTUB(isupper                                ,0xffee76f4) //  1
 197 NHSTUB(islower                                ,0xffee7694) //  1
 198 NHSTUB(ispunct                                ,0xffee76c4) //  1
 199 NHSTUB(isxdigit                               ,0xffee770c) //  1
 200 NHSTUB(toupper                                ,0xffee7734) //  1
 201 NHSTUB(tolower                                ,0xffee7724) //  1
 202 NHSTUB(taskLock                               ,0xfff0055c) //  1
 203 NHSTUB(taskUnlock                             ,0xfff00604) //  1
 204 NHSTUB(taskName                               ,0xffeffd98) //  1
 205 NHSTUB(errnoOfTaskGet                         ,0xffeede8c) //  1
 206 NHSTUB(readdir                                ,0xffeed68c) //  1
 207 NHSTUB(strtoul                                ,0xffeeb0d8) //  1
 208 NHSTUB(strpbrk                                ,0xffeeb7a0) //  1
 209 NHSTUB(utime                                  ,0xffeed81c) //  1
 210 NHSTUB(mktime                                 ,0xffeec07c) //  1
 211 NHSTUB(opendir                                ,0xffeed6f4) //  1
 212 NHSTUB(memchr                                 ,0xffeeb260) //  1
 213 NHSTUB(memPartInfoGet                         ,0xffef3698) //  1
 214 NHSTUB(iosDrvInstall                          ,0xffef171c) //  1
 215 NHSTUB(iosDevAdd                              ,0xffef1458) //  1
 216 NHSTUB(iosDevDelete                           ,0xffef1430) //  1
 217 NHSTUB(GetCurrentTargetDistance               ,0xffea94d0) //  1
 218 NHSTUB(taskCreateHookAdd                      ,0xffef5ed8) //  1
 219 NHSTUB(taskDeleteHookAdd                      ,0xffef5e14) //  1
 220 NHSTUB(Unmount_FileSystem                     ,0xffc608b4) //  1
 221 NHSTUB(taskSuspend                            ,0xffefffa8) //  1
 222 NHSTUB(taskResume                             ,0xfff0017c) //  1
 223 NHSTUB(time                                   ,0xffeecc00) //  1
 224 NHSTUB(vsprintf                               ,0xffeeefe0) //115
 225 NHSTUB(EngDrvRead                             ,0xffc72e8c) //102
 226 NHSTUB(PTM_GetCurrentItem                     ,0xffd6b008) //102
 227 NHSTUB(CancelHPTimer                          ,0xffc05bfc) //119
 228 NHSTUB(SetHPTimerAfterNow                     ,0xffc05788) //119
 229 NHSTUB(MFOn                                   ,0xffd5098c) //120
 230 NHSTUB(MFOff                                  ,0xffd509bc) //120
 231 NHSTUB(GetAdChValue                           ,0xffc19b38) //120
 232 NHSTUB(get_ptp_buf_size                       ,0xffe43c4c) //122
 233 NHSTUB(get_ptp_file_buf                       ,0xffe635a0) //121

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