root/platform/a560/sub/100a/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.00A   // Found @ 0xffc08048, "GM1.00A" @ 0xffc08055
   6 //   Firmware build timestamp: Dec 14 2006 20:14:41
   7 //   Canon PowerShot A560
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12621 (0x314d) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x01ffffff
  12 //   MEMISOSTART = 0x000a6090
  13 
  14 // Detected address ranges:
  15 // ROM      0xffc00000 - 0xffffffff (4194304 bytes)
  16 // RAM data 0x00001900 - 0x0000d540 copied from 0xfff182e0 (  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                 ,0xffe90258) //  3 96%
  21 NHSTUB(FreeUncacheableMemory                  ,0xffc0e5f8) //  1 90%
  22 //NHSTUB(GetFocusLensSubjectDistance          ,0xffe66598) //  1 90%    *** != 0xffe685a0
  23 NHSTUB(GetParameterData                       ,0xffecefe8) //  1 86%
  24 NHSTUB(GetPropertyCase                        ,0xffc0bcb8) //  2 89%
  25 NHSTUB(GetSystemTime                          ,0xffc0370c) //  1 96%
  26 NHSTUB(PutInNdFilter                          ,0xffdfb8b4) //  1 92%
  27 NHSTUB(PutOutNdFilter                         ,0xffdfb8fc) //  1 94%
  28 NHSTUB(Restart                                ,0xffc0b76c) //  1 96%
  29 NHSTUB(SetParameterData                       ,0xffecef08) //  1 86%
  30 NHSTUB(UnsetZoomForMovie                      ,0xffc232b4) //  1 89%
  31 NHSTUB(add_ptp_handler                        ,0xffd915d0) //  1 96%
  32 // ERROR: free is not found.                               //--- ---    *** != 0xffcd1704
  33 NHSTUB(kbd_p2_f                               ,0xffddbe68) //  1 56%
  34 //NHSTUB(kbd_read_keys_r2                     ,0xffddd0dc) //  3 62%    *** != 0xffddd0c0
  35 NHSTUB(kbd_pwr_on                             ,0xffddd6e0) //  1 88%
  36 NHSTUB(malloc                                 ,0xffcd16f8) //  1 53%
  37 NHSTUB(mkdir                                  ,0xffe3b87c) //  1 51%
  38 // ALT: NHSTUB(mkdir, 0xffe3b950) // 1 16/15
  39 NHSTUB(taskIdListGet                          ,0xffcdb840) //  1 82%
  40 NHSTUB(utime                                  ,0xffee4ff0) //  1 57%
  41 NHSTUB(localtime                              ,0xffcca510) //  1 93%
  42 NHSTUB(Mount_FileSystem                       ,0xffe3a938) //  3 93%
  43 NHSTUB(MakeAFScan                             ,0xffe952b8) //  2 86%
  44 
  45 // Check of modemap from 'platform/CAMERA/shooting.c':
  46 // Firmware modemap table found @ffed1124 -> ffed1124
  47 // No problems found with modemap table.
  48 
  49 // Values below can be overridden in 'stubs_min.S':
  50 DEF(levent_table                            ,0xffec4568) // Found @0xffec4568
  51 DEF(FlashParamsTable                        ,0xffed3430) // Found @0xffed3430
  52 DEF(fileio_semaphore                        ,0x0000948c) // Found @0xffe3dcd8
  53 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xffc0d9bc
  54 DEF(exmem_types_table                       ,0xffc0d7dc) // Found @0xffc0d7dc
  55 DEF_CONST(exmem_type_count                  ,0x00000011)
  56 DEF(imager_active                           ,0x000062dc) // Found @0xffd594ec (0x62dc + 0)
  57 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffece0e8
  58 
  59 // Values below go in 'lib.c':
  60 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffecf054
  61 
  62 // Values below go in 'platform_camera.h':
  63 //#define PARAM_CAMERA_NAME 4 // Found @0xffed2bc0
  64 
  65 // Misc stuff
  66 
  67 // EXMEM types:
  68 // EXMEM_RAMDISK   0
  69 // EXMEM_COM       1
  70 // EXMEM_COMTMP    2
  71 // EXMEM_FORMATTER 3
  72 // EXMEM_SHADING   4
  73 // EXMEM_FAMODE    5
  74 // EXMEM_FIRMUP    6
  75 // EXMEM_DVLPWORK  7
  76 // EXMEM_EVF       8
  77 // EXMEM_SCRIPT    9
  78 // EXMEM_FILESTORE 10
  79 // EXMEM_MOVIE_REC 11
  80 // EXMEM_MOVIE_PLY 12
  81 // EXMEM_WIDE      13
  82 // EXMEM_NARROW    14
  83 // EXMEM_CRAW_REC  15
  84 // EXMEM_PCEVF     16
  85 
  86 // LED table init @ 0xffddb778
  87 // LED #1: 0xc02200cc, offset 0x4
  88 // LED #2: 0xc02200c8, offset 0x44
  89 // LED #3: 0xc02200d0, offset 0x84
  90 // LED #4: 0xc02200c4, offset 0x204
  91 // LED #5: 0xc02200c0, offset 0x244
  92 
  93 // Stubs below matched 100%.
  94 //    Name                                     Address                Comp to stubs_entry_2.S
  95 NHSTUB(AllocateUncacheableMemory              ,0xffc0e5c4) //  1
  96 NHSTUB(Close                                  ,0xffe3b614) //120
  97 NHSTUB(CreateBinarySemaphore                  ,0xffea8d10) //115
  98 NHSTUB(CreateTask                             ,0xffea9728) //120
  99 NHSTUB(DebugAssert                            ,0xffeb5664) //1100
 100 NHSTUB(DeleteFile_Fut                         ,0xffe36be8) //  1
 101 NHSTUB(DoAELock                               ,0xffe903e4) //120
 102 NHSTUB(DoAFLock                               ,0xffe8feb0) //120
 103 NHSTUB(ExecuteEventProcedure                  ,0xffc04a78) //  1
 104 NHSTUB(ExitFromCompensationEVF                ,0xffe902dc) //  3
 105 NHSTUB(ExitTask                               ,0xffea9ae8) //120
 106 NHSTUB(Fclose_Fut                             ,0xffe36d5c) //120
 107 NHSTUB(Feof_Fut                               ,0xffe36f58) //  3
 108 NHSTUB(Fflush_Fut                             ,0xffe36f94) //  3
 109 NHSTUB(Fgets_Fut                              ,0xffe36ec0) //  3
 110 NHSTUB(Fopen_Fut                              ,0xffe36d1c) //120
 111 NHSTUB(Fread_Fut                              ,0xffe36e18) //120
 112 NHSTUB(Fseek_Fut                              ,0xffe36f0c) //120
 113 NHSTUB(Fwrite_Fut                             ,0xffe36e6c) //120
 114 NHSTUB(GetBatteryTemperature                  ,0xffde0734) //102
 115 NHSTUB(GetCCDTemperature                      ,0xffde0720) //102
 116 NHSTUB(GetCurrentAvValue                      ,0xffdfb6d0) //120
 117 NHSTUB(GetCurrentShutterSpeed                 ,0xffdfb38c) //120
 118 NHSTUB(GetDrive_ClusterSize                   ,0xffe3ae00) //119
 119 NHSTUB(GetDrive_FreeClusters                  ,0xffe3ae78) //1103
 120 NHSTUB(GetDrive_TotalClusters                 ,0xffe3ae3c) //119
 121 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffe66a8c) //  3
 122 NHSTUB(GetOpticalTemperature                  ,0xffde070c) //120
 123 NHSTUB(GetZoomLensCurrentPoint                ,0xffe79288) //120
 124 NHSTUB(GetZoomLensCurrentPosition             ,0xffe7929c) //102
 125 NHSTUB(GiveSemaphore                          ,0xffea92f4) //120
 126 NHSTUB(IsStrobeChargeCompleted                ,0xffd5488c) //  2
 127 NHSTUB(LEDDrive                               ,0xffddb38c) //120
 128 NHSTUB(LocalTime                              ,0xffeb5f78) //115
 129 NHSTUB(LockMainPower                          ,0xffecbea4) //120
 130 NHSTUB(MakeDirectory_Fut                      ,0xffe36c9c) //  3
 131 NHSTUB(MoveFocusLensToDistance                ,0xffdfddc0) //102
 132 NHSTUB(MoveIrisWithAv                         ,0xffe6d404) //120
 133 NHSTUB(MoveZoomLensWithPoint                  ,0xffe79160) //120
 134 NHSTUB(Open                                   ,0xffe3b5ec) //120
 135 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffea0730) //120
 136 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffea06f4) //120
 137 NHSTUB(PT_PlaySound                           ,0xffea01f4) //  3
 138 NHSTUB(PostLogicalEventForNotPowerType        ,0xffec7ad4) //120
 139 NHSTUB(PostLogicalEventToUI                   ,0xffec7b50) //120
 140 NHSTUB(Read                                   ,0xffe3b6a8) //120
 141 NHSTUB(RefreshPhysicalScreen                  ,0xffcbdfec) //120
 142 NHSTUB(RenameFile_Fut                         ,0xffe36b40) //  3
 143 NHSTUB(SetAE_ShutterSpeed                     ,0xffe00ec0) //102
 144 NHSTUB(SetAutoShutdownTime                    ,0xffecbda8) //120
 145 NHSTUB(SetCurrentCaptureModeType              ,0xffc183b4) //120
 146 NHSTUB(SetFileAttributes                      ,0xffe3b7fc) //  3
 147 NHSTUB(SetLogicalEventActive                  ,0xffec99b0) //1104
 148 NHSTUB(SetPropertyCase                        ,0xffc0bb80) //  3
 149 NHSTUB(SetScriptMode                          ,0xffec9a14) //120
 150 NHSTUB(SleepTask                              ,0xffea963c) //120
 151 NHSTUB(TakeSemaphore                          ,0xffea90ec) //1101
 152 NHSTUB(TurnOffBackLight                       ,0xffc304cc) //  2
 153 NHSTUB(TurnOnBackLight                        ,0xffc3049c) //  2
 154 NHSTUB(TurnOnDisplay                          ,0xffdd0ce4) //120
 155 NHSTUB(TurnOffDisplay                         ,0xffdd0cf4) //120
 156 NHSTUB(UnlockAE                               ,0xffe90434) //120
 157 NHSTUB(UnlockAF                               ,0xffe8ff30) //120
 158 NHSTUB(UnlockMainPower                        ,0xffecbf3c) //120
 159 NHSTUB(UpdateMBROnFlash                       ,0xffe3ab34) //  1
 160 NHSTUB(VbattGet                               ,0xffdd9568) //120
 161 NHSTUB(Write                                  ,0xffe3b6b4) //120
 162 NHSTUB(WriteSDCard                            ,0xffe4d9a8) //  3
 163 NHSTUB(_log                                   ,0xffee37d4) //121
 164 NHSTUB(_log10                                 ,0xffee2c54) //121
 165 NHSTUB(_pow                                   ,0xffcc1f30) //121
 166 NHSTUB(_sqrt                                  ,0xffcc3df0) //  1
 167 NHSTUB(apex2us                                ,0xffce2b80) //  1
 168 NHSTUB(close                                  ,0xffcce6b8) //109
 169 NHSTUB(exmem_alloc                            ,0xffc0e4a0) //102
 170 NHSTUB(exmem_free                             ,0xffc0e520) //102
 171 NHSTUB(get_nd_value                           ,0xffe71ed8) //115
 172 NHSTUB(get_current_nd_value                   ,0xffe71ec4) //122
 173 NHSTUB(kbd_p1_f                               ,0xffddba38) //  1
 174 NHSTUB(kbd_p1_f_cont                          ,0xffddba44) //109
 175 NHSTUB(kbd_pwr_off                            ,0xffddd708) //  3
 176 // ALT: NHSTUB(kbd_pwr_off, 0xffddd738) // 3 6/0
 177 // ALT: NHSTUB(kbd_pwr_off, 0xffddd754) // 3 6/0
 178 NHSTUB(lseek                                  ,0xffcce7fc) //  1
 179 NHSTUB(memcmp                                 ,0xffcc98f0) //120
 180 NHSTUB(memcpy                                 ,0xffcc992c) //120
 181 NHSTUB(memset                                 ,0xffcc99a4) //120
 182 NHSTUB(open                                   ,0xffccecfc) //109
 183 NHSTUB(closedir                               ,0xffee4e94) //  1
 184 NHSTUB(qsort                                  ,0xffcc9150) //  1
 185 NHSTUB(rand                                   ,0xffcc9174) //  1
 186 NHSTUB(realloc                                ,0xffeb5270) //115
 187 NHSTUB(srand                                  ,0xffcc9198) //  1
 188 NHSTUB(stat                                   ,0xffee4f5c) //  1
 189 NHSTUB(strcat                                 ,0xffcc99c4) //  1
 190 NHSTUB(strchr                                 ,0xffcc99f0) //  1
 191 NHSTUB(strcmp                                 ,0xffcc9a14) //120
 192 NHSTUB(strcpy                                 ,0xffcc9ba8) //120
 193 NHSTUB(strftime                               ,0xffccb230) //  1
 194 NHSTUB(strlen                                 ,0xffcc9d0c) //120
 195 NHSTUB(strncmp                                ,0xffcc9d70) //  1
 196 NHSTUB(strncpy                                ,0xffcc9db4) //  1
 197 NHSTUB(strrchr                                ,0xffcc9e38) //  1
 198 NHSTUB(strtol                                 ,0xffcc958c) //  1
 199 NHSTUB(isdigit                                ,0xffcc5cc0) //  1
 200 NHSTUB(isspace                                ,0xffcc5d38) //  1
 201 NHSTUB(isalpha                                ,0xffcc5c90) //  1
 202 NHSTUB(isupper                                ,0xffcc5d50) //  1
 203 NHSTUB(islower                                ,0xffcc5cf0) //  1
 204 NHSTUB(ispunct                                ,0xffcc5d20) //  1
 205 NHSTUB(isxdigit                               ,0xffcc5d68) //  1
 206 NHSTUB(toupper                                ,0xffcc5d90) //  1
 207 NHSTUB(tolower                                ,0xffcc5d80) //  1
 208 NHSTUB(taskLock                               ,0xffcdbefc) //  1
 209 NHSTUB(taskUnlock                             ,0xffcdbfa4) //  1
 210 NHSTUB(taskName                               ,0xffcdb738) //  1
 211 NHSTUB(errnoOfTaskGet                         ,0xffccc30c) //  1
 212 NHSTUB(readdir                                ,0xffee4e60) //  1
 213 NHSTUB(strtoul                                ,0xffcc9734) //  1
 214 NHSTUB(strpbrk                                ,0xffcc9dfc) //  1
 215 NHSTUB(mktime                                 ,0xffcca6d8) //  1
 216 NHSTUB(opendir                                ,0xffee4ec8) //  1
 217 NHSTUB(memchr                                 ,0xffcc98bc) //  1
 218 NHSTUB(memPartInfoGet                         ,0xffcd1b18) //  1
 219 NHSTUB(iosDrvInstall                          ,0xffccfb9c) //  1
 220 NHSTUB(iosDevAdd                              ,0xffccf8d8) //  1
 221 NHSTUB(iosDevDelete                           ,0xffccf8b0) //  1
 222 NHSTUB(GetCurrentTargetDistance               ,0xffdfdb28) //  1
 223 NHSTUB(taskCreateHookAdd                      ,0xffcd4358) //  1
 224 NHSTUB(taskDeleteHookAdd                      ,0xffcd4294) //  1
 225 NHSTUB(Unmount_FileSystem                     ,0xffe3a9e0) //  1
 226 NHSTUB(taskSuspend                            ,0xffcdb948) //  1
 227 NHSTUB(taskResume                             ,0xffcdbb1c) //  1
 228 NHSTUB(time                                   ,0xffccb25c) //  1
 229 NHSTUB(vsprintf                               ,0xffccd460) //115
 230 NHSTUB(EngDrvRead                             ,0xffde8e30) //102
 231 NHSTUB(PTM_GetCurrentItem                     ,0xffeccd9c) //102
 232 NHSTUB(CancelHPTimer                          ,0xffc04664) //1100
 233 NHSTUB(SetHPTimerAfterNow                     ,0xffc0417c) //119
 234 NHSTUB(MFOn                                   ,0xffea10d8) //120
 235 NHSTUB(MFOff                                  ,0xffea10e8) //120
 236 NHSTUB(GetAdChValue                           ,0xffdd640c) //120
 237 NHSTUB(get_ptp_buf_size                       ,0xffd86cd8) //122
 238 NHSTUB(get_ptp_file_buf                       ,0xffd9ee7c) //121

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