root/platform/g7/sub/100i/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.00I   // Found @ 0xff81a738, "GM1.00I" @ 0xff81a745
   6 //   Firmware build timestamp: Nov  1 2006 12:00:20
   7 //   Canon PowerShot G7
   8 
   9 // Values for makefile.inc
  10 //   PLATFORMID = 12581 (0x3125) // Found @ 0xfffe0130
  11 //   MAXRAMADDR = 0x03ffffff
  12 //   MEMISOSTART = 0x000a7910
  13 
  14 // Detected address ranges:
  15 // ROM      0xff810000 - 0xffffffff (8323072 bytes)
  16 // RAM data 0x00001900 - 0x0000ef10 copied from 0xffbb1ac0 (  54800 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               ,0xff99b204) //  2 87%        == 0xff99b204
  21 //NHSTUB(ExitFromCompensationEVF              ,0xff99f0c0) //  2 66%    *** != 0xff99b244
  22 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f11c) // 2 20/10
  23 // ALT: NHSTUB(ExitFromCompensationEVF, 0xff99f1d8) // 2 20/10
  24 NHSTUB(GetFocusLensSubjectDistance            ,0xffb3d8c4) //  1 83%
  25 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xffb3de30) //  2 92%
  26 NHSTUB(GetPropertyCase                        ,0xff8258d4) //  2 92%
  27 NHSTUB(GetSystemTime                          ,0xff8150d8) //  1 96%
  28 NHSTUB(PutInNdFilter                          ,0xffb505d8) //  1 92%
  29 NHSTUB(PutOutNdFilter                         ,0xffb50620) //  1 94%
  30 //NHSTUB(Remove                               ,0xff8e7ac8) //  3 52%
  31 //NHSTUB(Restart                              ,0xff823ac0) //  1 92%    *** != 0xff823abc
  32 NHSTUB(UnsetZoomForMovie                      ,0xff9f6c4c) //  1 89%
  33 //NHSTUB(WriteSDCard                          ,0xff88bcd0) //  2 93%    *** != 0xff88be6c
  34 NHSTUB(add_ptp_handler                        ,0xffaef0d4) //  1 96%
  35 // ERROR: free is not found.                               //--- ---    *** != 0xffb9ec44
  36 // ERROR: kbd_read_keys_r2 is not found.                   //--- ---    *** != 0xff828e70
  37 NHSTUB(kbd_pwr_off                            ,0xff82ab3c) //  1 83%
  38 // ALT: NHSTUB(kbd_pwr_off, 0xff82ab58) // 1 5/1
  39 NHSTUB(kbd_pwr_on                             ,0xff96715c) //  1 55%
  40 // ALT: NHSTUB(kbd_pwr_on, 0xff967188) // 1 5/4
  41 NHSTUB(malloc                                 ,0xffb9ec38) //  1 53%
  42 NHSTUB(taskIdListGet                          ,0xffbab860) //  1 82%
  43 NHSTUB(localtime                              ,0xffb97874) //  1 93%
  44 NHSTUB(Mount_FileSystem                       ,0xff87be74) //  1 90%
  45 NHSTUB(MakeAFScan                             ,0xff9a0560) //  2 79%
  46 
  47 // Check of modemap from 'platform/CAMERA/shooting.c':
  48 // Firmware modemap table found @ff9b6358 -> ff9b6358
  49 // Mode  8222 in firmware but not in current modemap
  50 // Mode  8223 in firmware but not in current modemap
  51 
  52 // Values below can be overridden in 'stubs_min.S':
  53 DEF(levent_table                            ,0xff9ae87c) // Found @0xff9ae87c
  54 DEF(FlashParamsTable                        ,0xff9b8db4) // Found @0xff9b8db4
  55 DEF(fileio_semaphore                        ,0x00002984) // Found @0xff87a218
  56 DEF(exmem_alloc_table                       ,0x00001bcc) // Found @0xff811f28
  57 DEF(exmem_types_table                       ,0xff811d3c) // Found @0xff811d3c
  58 DEF_CONST(exmem_type_count                  ,0x0000000e)
  59 DEF(imager_active                           ,0x00005a60) // Found @0xff8eb40c (0x5a60 + 0)
  60 DEF_CONST(uiprop_count                      ,0x0000005b) // Found @0xff9bac64
  61 
  62 // Values below go in 'lib.c':
  63 //int get_flash_params_count(void) { return 0x6e; }                          // Found @0xff9bbe74
  64 
  65 // Values below go in 'platform_camera.h':
  66 //#define PARAM_CAMERA_NAME 4 // Found @0xff9b8554
  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_FILESTORE 8
  80 // EXMEM_MOVIE_REC 9
  81 // EXMEM_MOVIE_PLY 10
  82 // EXMEM_WIDE      11
  83 // EXMEM_NARROW    12
  84 // EXMEM_PCEVF     13
  85 
  86 // LED table init @ 0xff82f464
  87 // LED #1: 0xc0220068, offset 0xc4
  88 // LED #2: 0xc022006c, offset 0x204
  89 // LED #3: 0xc0220094, offset 0x244
  90 // LED #4: 0xc02200b0, offset 0x384
  91 
  92 // Stubs below matched 100%.
  93 //    Name                                     Address                Comp to stubs_entry_2.S
  94 NHSTUB(AllocateUncacheableMemory              ,0xff814ea0) //  1
  95 NHSTUB(Close                                  ,0xff87cb4c) //120
  96 NHSTUB(CreateBinarySemaphore                  ,0xff821be4) //115
  97 NHSTUB(CreateTask                             ,0xff822594) //120
  98 NHSTUB(DebugAssert                            ,0xff813d70) //1100
  99 NHSTUB(DeleteFile_Fut                         ,0xff875a0c) //  1
 100 NHSTUB(DoAELock                               ,0xff99b2a4) //120
 101 NHSTUB(DoAFLock                               ,0xff99afd0) //120
 102 NHSTUB(ExecuteEventProcedure                  ,0xff816d3c) //  1
 103 NHSTUB(ExitTask                               ,0xff822954) //120
 104 NHSTUB(Fclose_Fut                             ,0xff875b80) //120
 105 NHSTUB(Feof_Fut                               ,0xff875d7c) //  3
 106 NHSTUB(Fflush_Fut                             ,0xff875db8) //  3
 107 NHSTUB(Fgets_Fut                              ,0xff875ce4) //  3
 108 NHSTUB(Fopen_Fut                              ,0xff875b40) //120
 109 NHSTUB(Fread_Fut                              ,0xff875c3c) //120
 110 NHSTUB(FreeUncacheableMemory                  ,0xff814ed4) //  1
 111 NHSTUB(Fseek_Fut                              ,0xff875d30) //120
 112 NHSTUB(Fwrite_Fut                             ,0xff875c90) //120
 113 NHSTUB(GetBatteryTemperature                  ,0xff82eb20) //102
 114 NHSTUB(GetCCDTemperature                      ,0xff82eb0c) //102
 115 NHSTUB(GetCurrentAvValue                      ,0xffb50148) //120
 116 NHSTUB(GetCurrentShutterSpeed                 ,0xffb4fd9c) //120
 117 NHSTUB(GetUsableMaxAv                         ,0xffb50404) //120
 118 NHSTUB(GetUsableMinAv                         ,0xffb503e0) //120
 119 NHSTUB(GetDrive_ClusterSize                   ,0xff87c338) //119
 120 NHSTUB(GetDrive_FreeClusters                  ,0xff87c3b0) //1103
 121 NHSTUB(GetDrive_TotalClusters                 ,0xff87c374) //119
 122 NHSTUB(GetOpticalTemperature                  ,0xff82eaf8) //120
 123 NHSTUB(GetParameterData                       ,0xff9bbe08) //  2
 124 NHSTUB(GetZoomLensCurrentPoint                ,0xffb29cc8) //120
 125 NHSTUB(GetZoomLensCurrentPosition             ,0xffb29cdc) //102
 126 NHSTUB(GiveSemaphore                          ,0xff82218c) //120
 127 NHSTUB(IsStrobeChargeCompleted                ,0xff939f98) //  2
 128 NHSTUB(LEDDrive                               ,0xff82f078) //120
 129 NHSTUB(LocalTime                              ,0xff8143f8) //115
 130 NHSTUB(LockMainPower                          ,0xff9b60f8) //120
 131 NHSTUB(MakeDirectory_Fut                      ,0xff875ac0) //  3
 132 NHSTUB(MoveFocusLensToDistance                ,0xffb52900) //102
 133 NHSTUB(MoveZoomLensWithPoint                  ,0xffb29ba8) //120
 134 NHSTUB(Open                                   ,0xff87cb24) //120
 135 NHSTUB(PT_PlaySound                           ,0xff9aca78) //  1
 136 NHSTUB(PostLogicalEventForNotPowerType        ,0xff9b1988) //120
 137 NHSTUB(PostLogicalEventToUI                   ,0xff9b1a04) //120
 138 NHSTUB(Read                                   ,0xff87cbe0) //120
 139 NHSTUB(RefreshPhysicalScreen                  ,0xff9ce31c) //120
 140 NHSTUB(RenameFile_Fut                         ,0xff875964) //  3
 141 NHSTUB(SetAE_ShutterSpeed                     ,0xffb555d4) //102
 142 NHSTUB(SetAutoShutdownTime                    ,0xff9b5ffc) //120
 143 NHSTUB(SetCurrentCaptureModeType              ,0xff9e9e80) //120
 144 NHSTUB(SetFileAttributes                      ,0xff87cd74) //  1
 145 NHSTUB(SetLogicalEventActive                  ,0xff9b3924) //1104
 146 NHSTUB(SetParameterData                       ,0xff9bbd28) //  2
 147 NHSTUB(SetPropertyCase                        ,0xff825784) //  2
 148 NHSTUB(SetScriptMode                          ,0xff9b398c) //120
 149 NHSTUB(SleepTask                              ,0xff8224a8) //120
 150 NHSTUB(TakeSemaphore                          ,0xff821fa4) //1101
 151 NHSTUB(TurnOffBackLight                       ,0xffa12ef4) //  2
 152 NHSTUB(TurnOnBackLight                        ,0xffa12ec4) //  2
 153 NHSTUB(TurnOnDisplay                          ,0xff9648dc) //120
 154 NHSTUB(TurnOffDisplay                         ,0xff9648ec) //120
 155 NHSTUB(UnlockAE                               ,0xff99b2c4) //120
 156 NHSTUB(UnlockAF                               ,0xff99b044) //120
 157 NHSTUB(UnlockMainPower                        ,0xff9b6190) //120
 158 NHSTUB(UpdateMBROnFlash                       ,0xff87c06c) //  1
 159 NHSTUB(VbattGet                               ,0xff82d9bc) //120
 160 NHSTUB(Write                                  ,0xff87cbec) //120
 161 NHSTUB(_log                                   ,0xffb9103c) //121
 162 NHSTUB(_log10                                 ,0xffb8cef8) //121
 163 NHSTUB(_pow                                   ,0xffb8d080) //121
 164 NHSTUB(_sqrt                                  ,0xffb8f270) //  1
 165 NHSTUB(apex2us                                ,0xff8c8a28) //  1
 166 NHSTUB(close                                  ,0xffb9bbf8) //109
 167 NHSTUB(exmem_alloc                            ,0xff812834) //122
 168 NHSTUB(exmem_free                             ,0xff812904) //122
 169 NHSTUB(get_nd_value                           ,0xffb371d0) //122
 170 NHSTUB(get_current_nd_value                   ,0xffb37178) //122
 171 NHSTUB(kbd_p1_f                               ,0xff828014) //  1
 172 NHSTUB(kbd_p1_f_cont                          ,0xff828020) //109
 173 NHSTUB(kbd_p2_f                               ,0xff8283f0) //  1
 174 NHSTUB(lseek                                  ,0xffb9bd3c) //  1
 175 NHSTUB(memcmp                                 ,0xffb96c54) //120
 176 NHSTUB(memcpy                                 ,0xffb96c90) //120
 177 NHSTUB(memset                                 ,0xffb96d08) //120
 178 NHSTUB(mkdir                                  ,0xff87cda4) //  1
 179 NHSTUB(open                                   ,0xffb9c23c) //109
 180 NHSTUB(closedir                               ,0xffb99080) //  1
 181 NHSTUB(qsort                                  ,0xffb964b4) //  1
 182 NHSTUB(rand                                   ,0xffb964d8) //  1
 183 NHSTUB(realloc                                ,0xffb87038) //115
 184 NHSTUB(srand                                  ,0xffb964fc) //  1
 185 NHSTUB(stat                                   ,0xffb99148) //  1
 186 NHSTUB(strcat                                 ,0xffb96d28) //  1
 187 NHSTUB(strchr                                 ,0xffb96d54) //  1
 188 NHSTUB(strcmp                                 ,0xffb96d78) //120
 189 NHSTUB(strcpy                                 ,0xffb96f0c) //120
 190 NHSTUB(strftime                               ,0xffb98594) //  1
 191 NHSTUB(strlen                                 ,0xffb97070) //120
 192 NHSTUB(strncmp                                ,0xffb970d4) //  1
 193 NHSTUB(strncpy                                ,0xffb97118) //  1
 194 NHSTUB(strrchr                                ,0xffb9719c) //  1
 195 NHSTUB(strtol                                 ,0xffb968f0) //  1
 196 NHSTUB(isdigit                                ,0xffb93024) //  1
 197 NHSTUB(isspace                                ,0xffb9309c) //  1
 198 NHSTUB(isalpha                                ,0xffb92ff4) //  1
 199 NHSTUB(isupper                                ,0xffb930b4) //  1
 200 NHSTUB(islower                                ,0xffb93054) //  1
 201 NHSTUB(ispunct                                ,0xffb93084) //  1
 202 NHSTUB(isxdigit                               ,0xffb930cc) //  1
 203 NHSTUB(toupper                                ,0xffb930f4) //  1
 204 NHSTUB(tolower                                ,0xffb930e4) //  1
 205 NHSTUB(taskLock                               ,0xffbabf1c) //  1
 206 NHSTUB(taskUnlock                             ,0xffbabfc4) //  1
 207 NHSTUB(taskName                               ,0xffbab758) //  1
 208 NHSTUB(errnoOfTaskGet                         ,0xffb9984c) //  1
 209 NHSTUB(readdir                                ,0xffb9904c) //  1
 210 NHSTUB(strtoul                                ,0xffb96a98) //  1
 211 NHSTUB(strpbrk                                ,0xffb97160) //  1
 212 NHSTUB(utime                                  ,0xffb991dc) //  1
 213 NHSTUB(mktime                                 ,0xffb97a3c) //  1
 214 NHSTUB(opendir                                ,0xffb990b4) //  1
 215 NHSTUB(memchr                                 ,0xffb96c20) //  1
 216 NHSTUB(memPartInfoGet                         ,0xffb9f058) //  1
 217 NHSTUB(iosDrvInstall                          ,0xffb9d0dc) //  1
 218 NHSTUB(iosDevAdd                              ,0xffb9ce18) //  1
 219 NHSTUB(iosDevDelete                           ,0xffb9cdf0) //  1
 220 NHSTUB(GetCurrentTargetDistance               ,0xffb52660) //  1
 221 NHSTUB(taskCreateHookAdd                      ,0xffba1898) //  1
 222 NHSTUB(taskDeleteHookAdd                      ,0xffba17d4) //  1
 223 NHSTUB(Unmount_FileSystem                     ,0xff87bf18) //  1
 224 NHSTUB(taskSuspend                            ,0xffbab968) //  1
 225 NHSTUB(taskResume                             ,0xffbabb3c) //  1
 226 NHSTUB(time                                   ,0xffb985c0) //  1
 227 NHSTUB(vsprintf                               ,0xffb9a9a0) //115
 228 NHSTUB(EngDrvRead                             ,0xff88e5bc) //102
 229 NHSTUB(PTM_GetCurrentItem                     ,0xff9b936c) //102
 230 NHSTUB(CancelHPTimer                          ,0xff815f9c) //119
 231 NHSTUB(SetHPTimerAfterNow                     ,0xff815b28) //119
 232 NHSTUB(MFOn                                   ,0xff99c09c) //120
 233 NHSTUB(MFOff                                  ,0xff99c0d0) //120
 234 NHSTUB(GetAdChValue                           ,0xff82ac74) //120
 235 NHSTUB(get_ptp_buf_size                       ,0xffae2808) //122
 236 NHSTUB(get_ptp_file_buf                       ,0xffaffdb4) //121

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