root/platform/tx1/sub/101b/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.01B   // Found @ 0xff8180ac, "GM1.01B" @ 0xff8180b9
   6 //   Firmware build timestamp: Mar 23 2007 11:29:53
   7 //   Canon PowerShot TX1
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12544 (0x3100) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x03ffffff
  12 //   MEMISOSTART = 0x000b84d0
  13 
  14 // Detected address ranges:
  15 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  16 // RAM data 0x00001900 - 0x0000e7a0 copied from 0xffbbe590 (  52896 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                 ,0xffb26938) //  3 96%
  21 NHSTUB(FreeUncacheableMemory                  ,0xff81e698) //  1 90%
  22 //NHSTUB(GetFocusLensSubjectDistance          ,0xffaea6d0) //  1 74%    *** != 0xffaea6d4
  23 // ERROR: GetFocusLensSubjectDistanceFromLens is not found.  //--- ---    *** != 0xffaeabd4
  24 NHSTUB(GetParameterData                       ,0xffb66c14) //  1 86%
  25 NHSTUB(GetPropertyCase                        ,0xff81bd58) //  2 89%
  26 NHSTUB(GetSystemTime                          ,0xff813770) //  1 96%
  27 NHSTUB(PutInNdFilter                          ,0xffa63a14) //  1 92%
  28 NHSTUB(PutOutNdFilter                         ,0xffa63a5c) //  1 94%
  29 NHSTUB(Restart                                ,0xff81b80c) //  1 96%
  30 NHSTUB(SetParameterData                       ,0xffb66b34) //  1 86%
  31 NHSTUB(add_ptp_handler                        ,0xff9f6410) //  1 96%
  32 // ERROR: free is not found.                               //--- ---    *** != 0xff92b488
  33 NHSTUB(kbd_p2_f                               ,0xffa433d0) //  1 56%
  34 //NHSTUB(kbd_read_keys_r2                     ,0xffa44644) //  1 76%    *** != 0xffa4457c
  35 NHSTUB(kbd_pwr_off                            ,0xffa42270) //  1 83%
  36 // ALT: NHSTUB(kbd_pwr_off, 0xffa4228c) // 1 5/1
  37 NHSTUB(kbd_pwr_on                             ,0xffa39bac) //  1 55%
  38 // ALT: NHSTUB(kbd_pwr_on, 0xffa39bd8) // 1 5/4
  39 NHSTUB(malloc                                 ,0xff92b47c) //  1 53%
  40 NHSTUB(mkdir                                  ,0xffaaef44) //  1 51%
  41 // ALT: NHSTUB(mkdir, 0xffaaf018) // 1 16/15
  42 NHSTUB(taskIdListGet                          ,0xff9355c4) //  1 82%
  43 NHSTUB(utime                                  ,0xffb7ce00) //  1 57%
  44 NHSTUB(localtime                              ,0xff924294) //  1 93%
  45 NHSTUB(Mount_FileSystem                       ,0xffaae000) //  3 93%
  46 NHSTUB(MakeAFScan                             ,0xffb2c864) //  2 79%
  47 
  48 // Check of modemap from 'platform/CAMERA/shooting.c':
  49 // Firmware modemap table found @ffb68da8 -> ffb68da8
  50 // No problems found with modemap table.
  51 
  52 // Values below can be overridden in 'stubs_min.S':
  53 DEF(levent_table                            ,0xffb5bfac) // Found @0xffb5bfac
  54 DEF(FlashParamsTable                        ,0xffb6af48) // Found @0xffb6af48
  55 DEF(fileio_semaphore                        ,0x0000a348) // Found @0xffab13a0
  56 DEF(exmem_alloc_table                       ,0x00001e24) // Found @0xff81da5c
  57 DEF(exmem_types_table                       ,0xff81d87c) // Found @0xff81d87c
  58 DEF_CONST(exmem_type_count                  ,0x00000011)
  59 DEF(imager_active                           ,0x00006c44) // Found @0xff9be1d0 (0x6c44 + 0)
  60 DEF_CONST(uiprop_count                      ,0x0000005d) // Found @0xffb65d14
  61 
  62 // Values below go in 'lib.c':
  63 //int get_flash_params_count(void) { return 0x6f; }                          // Found @0xffb66c80
  64 
  65 // Values below go in 'platform_camera.h':
  66 //#define PARAM_CAMERA_NAME 4 // Found @0xffb6a6d8
  67 
  68 // Misc stuff
  69 
  70 // EXMEM types:
  71 // EXMEM_RAMDISK   0
  72 // EXMEM_COM       1
  73 // EXMEM_COMTMP    2
  74 // EXMEM_FORMATTER 3
  75 // EXMEM_SHADING   4
  76 // EXMEM_FAMODE    5
  77 // EXMEM_FIRMUP    6
  78 // EXMEM_DVLPWORK  7
  79 // EXMEM_EVF       8
  80 // EXMEM_SCRIPT    9
  81 // EXMEM_FILESTORE 10
  82 // EXMEM_MOVIE_REC 11
  83 // EXMEM_MOVIE_PLY 12
  84 // EXMEM_WIDE      13
  85 // EXMEM_NARROW    14
  86 // EXMEM_CRAW_REC  15
  87 // EXMEM_PCEVF     16
  88 
  89 // LED table init @ 0xffa42d38
  90 
  91 // Stubs below matched 100%.
  92 //    Name                                     Address                Comp to stubs_entry_2.S
  93 NHSTUB(AllocateUncacheableMemory              ,0xff81e664) //  1
  94 NHSTUB(Close                                  ,0xffaaecdc) //120
  95 NHSTUB(CreateBinarySemaphore                  ,0xffb41130) //115
  96 NHSTUB(CreateTask                             ,0xffb41b48) //120
  97 NHSTUB(DebugAssert                            ,0xffb4d9f0) //1100
  98 NHSTUB(DeleteFile_Fut                         ,0xffaaa2b0) //  1
  99 NHSTUB(DoAELock                               ,0xffb26ac4) //120
 100 NHSTUB(DoAFLock                               ,0xffb26590) //120
 101 NHSTUB(ExecuteEventProcedure                  ,0xff814adc) //  1
 102 NHSTUB(ExitFromCompensationEVF                ,0xffb269bc) //  3
 103 NHSTUB(ExitTask                               ,0xffb41f08) //120
 104 NHSTUB(Fclose_Fut                             ,0xffaaa424) //120
 105 NHSTUB(Feof_Fut                               ,0xffaaa620) //  3
 106 NHSTUB(Fflush_Fut                             ,0xffaaa65c) //  3
 107 NHSTUB(Fgets_Fut                              ,0xffaaa588) //  3
 108 NHSTUB(Fopen_Fut                              ,0xffaaa3e4) //120
 109 NHSTUB(Fread_Fut                              ,0xffaaa4e0) //120
 110 NHSTUB(Fseek_Fut                              ,0xffaaa5d4) //120
 111 NHSTUB(Fwrite_Fut                             ,0xffaaa534) //120
 112 NHSTUB(GetBatteryTemperature                  ,0xffa48d80) //102
 113 NHSTUB(GetCCDTemperature                      ,0xffa48d6c) //102
 114 NHSTUB(GetCurrentAvValue                      ,0xffa63598) //120
 115 NHSTUB(GetCurrentShutterSpeed                 ,0xffa631fc) //120
 116 NHSTUB(GetUsableMaxAv                         ,0xffa63854) //120
 117 NHSTUB(GetUsableMinAv                         ,0xffa63830) //120
 118 NHSTUB(GetDrive_ClusterSize                   ,0xffaae4c8) //119
 119 NHSTUB(GetDrive_FreeClusters                  ,0xffaae540) //1103
 120 NHSTUB(GetDrive_TotalClusters                 ,0xffaae504) //119
 121 NHSTUB(GetOpticalTemperature                  ,0xffa48d58) //120
 122 NHSTUB(GetZoomLensCurrentPoint                ,0xffaff7b4) //120
 123 NHSTUB(GetZoomLensCurrentPosition             ,0xffaff7c8) //102
 124 NHSTUB(GiveSemaphore                          ,0xffb41714) //120
 125 NHSTUB(IsStrobeChargeCompleted                ,0xff9b8f54) //  2
 126 NHSTUB(LEDDrive                               ,0xffa428a0) //120
 127 NHSTUB(LocalTime                              ,0xffb4e2bc) //115
 128 NHSTUB(LockMainPower                          ,0xffb63900) //120
 129 NHSTUB(MakeDirectory_Fut                      ,0xffaaa364) //  3
 130 NHSTUB(MoveFocusLensToDistance                ,0xffa662cc) //102
 131 NHSTUB(MoveIrisWithAv                         ,0xffaf25c8) //120
 132 NHSTUB(MoveZoomLensWithPoint                  ,0xffaff6d8) //120
 133 NHSTUB(Open                                   ,0xffaaecb4) //120
 134 NHSTUB(PT_MoveDigitalZoomToWide               ,0xffb388bc) //120
 135 NHSTUB(PT_MoveOpticalZoomAt                   ,0xffb38880) //120
 136 NHSTUB(PT_PlaySound                           ,0xffb38380) //  3
 137 NHSTUB(PostLogicalEventForNotPowerType        ,0xffb5f518) //120
 138 NHSTUB(PostLogicalEventToUI                   ,0xffb5f594) //120
 139 NHSTUB(Read                                   ,0xffaaed70) //120
 140 NHSTUB(RefreshPhysicalScreen                  ,0xff916bd8) //120
 141 NHSTUB(RenameFile_Fut                         ,0xffaaa208) //  3
 142 NHSTUB(SetAE_ShutterSpeed                     ,0xffa69978) //102
 143 NHSTUB(SetAutoShutdownTime                    ,0xffb63804) //120
 144 NHSTUB(SetCurrentCaptureModeType              ,0xff829c58) //120
 145 NHSTUB(SetFileAttributes                      ,0xffaaeec4) //  3
 146 NHSTUB(SetLogicalEventActive                  ,0xffb61410) //1104
 147 NHSTUB(SetPropertyCase                        ,0xff81bc20) //  3
 148 NHSTUB(SetScriptMode                          ,0xffb61474) //120
 149 NHSTUB(SleepTask                              ,0xffb41a5c) //120
 150 NHSTUB(TakeSemaphore                          ,0xffb4150c) //1101
 151 NHSTUB(TurnOffBackLight                       ,0xff848a6c) //  2
 152 NHSTUB(TurnOnBackLight                        ,0xff848a3c) //  2
 153 NHSTUB(TurnOnDisplay                          ,0xffa36924) //120
 154 NHSTUB(TurnOffDisplay                         ,0xffa36934) //120
 155 NHSTUB(UnlockAE                               ,0xffb26b14) //120
 156 NHSTUB(UnlockAF                               ,0xffb26610) //120
 157 NHSTUB(UnlockMainPower                        ,0xffb63998) //120
 158 NHSTUB(UpdateMBROnFlash                       ,0xffaae1fc) //  1
 159 NHSTUB(VbattGet                               ,0xffa40a4c) //120
 160 NHSTUB(Write                                  ,0xffaaed7c) //120
 161 NHSTUB(WriteSDCard                            ,0xffac1078) //  3
 162 NHSTUB(_log                                   ,0xff91e554) //121
 163 NHSTUB(_log10                                 ,0xff91ac9c) //121
 164 NHSTUB(_pow                                   ,0xff91ae1c) //121
 165 NHSTUB(_sqrt                                  ,0xff91ccdc) //  1
 166 NHSTUB(apex2us                                ,0xff93c8cc) //  1
 167 NHSTUB(close                                  ,0xff92843c) //109
 168 NHSTUB(exmem_alloc                            ,0xff81e540) //102
 169 NHSTUB(exmem_free                             ,0xff81e5c0) //102
 170 NHSTUB(kbd_p1_f                               ,0xffa42fa8) //  1
 171 NHSTUB(kbd_p1_f_cont                          ,0xffa42fb4) //109
 172 NHSTUB(lseek                                  ,0xff928580) //  1
 173 NHSTUB(memcmp                                 ,0xff923674) //120
 174 NHSTUB(memcpy                                 ,0xff9236b0) //120
 175 NHSTUB(memset                                 ,0xff923728) //120
 176 NHSTUB(open                                   ,0xff928a80) //109
 177 NHSTUB(closedir                               ,0xffb7cca4) //  1
 178 NHSTUB(qsort                                  ,0xff922ed4) //  1
 179 NHSTUB(rand                                   ,0xff922ef8) //  1
 180 NHSTUB(realloc                                ,0xffb4d5fc) //115
 181 NHSTUB(srand                                  ,0xff922f1c) //  1
 182 NHSTUB(stat                                   ,0xffb7cd6c) //  1
 183 NHSTUB(strcat                                 ,0xff923748) //  1
 184 NHSTUB(strchr                                 ,0xff923774) //  1
 185 NHSTUB(strcmp                                 ,0xff923798) //120
 186 NHSTUB(strcpy                                 ,0xff92392c) //120
 187 NHSTUB(strftime                               ,0xff924fb4) //  1
 188 NHSTUB(strlen                                 ,0xff923a90) //120
 189 NHSTUB(strncmp                                ,0xff923af4) //  1
 190 NHSTUB(strncpy                                ,0xff923b38) //  1
 191 NHSTUB(strrchr                                ,0xff923bbc) //  1
 192 NHSTUB(strtol                                 ,0xff923310) //  1
 193 NHSTUB(isdigit                                ,0xff91fa44) //  1
 194 NHSTUB(isspace                                ,0xff91fabc) //  1
 195 NHSTUB(isalpha                                ,0xff91fa14) //  1
 196 NHSTUB(isupper                                ,0xff91fad4) //  1
 197 NHSTUB(islower                                ,0xff91fa74) //  1
 198 NHSTUB(ispunct                                ,0xff91faa4) //  1
 199 NHSTUB(isxdigit                               ,0xff91faec) //  1
 200 NHSTUB(toupper                                ,0xff91fb14) //  1
 201 NHSTUB(tolower                                ,0xff91fb04) //  1
 202 NHSTUB(taskLock                               ,0xff935c80) //  1
 203 NHSTUB(taskUnlock                             ,0xff935d28) //  1
 204 NHSTUB(taskName                               ,0xff9354bc) //  1
 205 NHSTUB(errnoOfTaskGet                         ,0xff926090) //  1
 206 NHSTUB(readdir                                ,0xffb7cc70) //  1
 207 NHSTUB(strtoul                                ,0xff9234b8) //  1
 208 NHSTUB(strpbrk                                ,0xff923b80) //  1
 209 NHSTUB(mktime                                 ,0xff92445c) //  1
 210 NHSTUB(opendir                                ,0xffb7ccd8) //  1
 211 NHSTUB(memchr                                 ,0xff923640) //  1
 212 NHSTUB(memPartInfoGet                         ,0xff92b89c) //  1
 213 NHSTUB(iosDrvInstall                          ,0xff929920) //  1
 214 NHSTUB(iosDevAdd                              ,0xff92965c) //  1
 215 NHSTUB(iosDevDelete                           ,0xff929634) //  1
 216 NHSTUB(GetCurrentTargetDistance               ,0xffa66034) //  1
 217 NHSTUB(taskCreateHookAdd                      ,0xff92e0dc) //  1
 218 NHSTUB(taskDeleteHookAdd                      ,0xff92e018) //  1
 219 NHSTUB(Unmount_FileSystem                     ,0xffaae0a8) //  1
 220 NHSTUB(taskSuspend                            ,0xff9356cc) //  1
 221 NHSTUB(taskResume                             ,0xff9358a0) //  1
 222 NHSTUB(time                                   ,0xff924fe0) //  1
 223 NHSTUB(vsprintf                               ,0xff9271e4) //115
 224 NHSTUB(EngDrvRead                             ,0xffa50ce4) //102
 225 NHSTUB(PTM_GetCurrentItem                     ,0xffb64810) //102
 226 NHSTUB(CancelHPTimer                          ,0xff8146c8) //1100
 227 NHSTUB(SetHPTimerAfterNow                     ,0xff8141e0) //119
 228 NHSTUB(MFOn                                   ,0xffb39264) //120
 229 NHSTUB(MFOff                                  ,0xffb39274) //120
 230 NHSTUB(GetAdChValue                           ,0xffa3d91c) //120
 231 NHSTUB(get_ptp_buf_size                       ,0xff9ebb0c) //122
 232 NHSTUB(get_ptp_file_buf                       ,0xffa04420) //121

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