Ignore:
Timestamp:
02/05/12 05:46:18 (16 months ago)
Author:
philmoz
Message:

Merged revision(s) 1638-1639 from branches/release-1_0:

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/platform/s95/sub/100e/stubs_entry.S

    r1636 r1641  
    2323 
    2424// Values below can be overridden in 'stubs_min.S': 
    25 //DEF(physw_status                            ,0x00034cb4) // Found @0xff83498c,          stubs_min = 0x00034cb4 (0x34CB4) 
    26 //DEF(physw_run                               ,0x00001c3c) // Found @0xff834580,          stubs_min = 0x00001c3c (0x1C30+0x0C) 
    27 //DEF(levent_table                            ,0xffbf5c5c) // Found @0xffbf5c5c,          stubs_min = 0xffbf5c5c (0xFFBF5C5C) 
    28 //DEF(FlashParamsTable                        ,0xffc72314) // Found @0xffc72314,          stubs_min = 0xffc72314 (0xFFC72314) 
    29 //DEF(movie_status                            ,0x0000716c) // Found @0xff98612c,          stubs_min = 0x0000716c (0x7128+0x44) 
     25DEF(physw_status                            ,0x00034cb4) // Found @0xff83498c 
     26DEF(physw_run                               ,0x00001c3c) // Found @0xff834580 
     27DEF(levent_table                            ,0xffbf5c5c) // Found @0xffbf5c5c 
     28DEF(FlashParamsTable                        ,0xffc72314) // Found @0xffc72314 
     29DEF(movie_status                            ,0x0000716c) // Found @0xff98612c 
    3030DEF(full_screen_refresh                     ,0x0000a0d4) // Found @0xffa47614 
    31 //DEF(canon_menu_active                       ,0x00003250) // Found @0xff896fc0,          stubs_min = 0x00003250 (0x324c+4) 
    32 //DEF(canon_shoot_menu_active                 ,0x00008759) // Found @0xff9d7df8,          stubs_min = 0x00008759 (0x8758+1) 
    33 //DEF(playrec_mode                            ,0x00002f78) // Found @0xff88910c,          stubs_min = 0x00002f78 (0x2f74+0x4) 
    34 //DEF(zoom_status                             ,0x0000835c) // Found @0xff9c3384,          stubs_min = 0x0000835c (0x835C) 
    35 //DEF(some_flag_for_af_scan                   ,0x00007534) // Found @0xff9894b4,          stubs_min = 0x00007534 (0x7534) 
     31DEF(canon_menu_active                       ,0x00003250) // Found @0xff896fc0 
     32DEF(canon_shoot_menu_active                 ,0x00008759) // Found @0xff9d7df8 
     33DEF(playrec_mode                            ,0x00002f78) // Found @0xff88910c 
     34DEF(zoom_status                             ,0x0000835c) // Found @0xff9c3384 
     35DEF(some_flag_for_af_scan                   ,0x00007534) // Found @0xff9894b4 
    3636// focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 
    3737// each entry contains 3 int value(s), the first is the zoom focus length. 
    3838// there are 10 entries in the table - set NUM_FL to 10 
    3939DEF(focus_len_table                         ,0xfffe2d2c) // Found @0xfffe2d2c 
    40 //DEF(zoom_busy                               ,0x00007084) // Found @0xff9809c4,          stubs_min = 0x00007084 (0x7070+0x14) 
    41 //DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4,          stubs_min = 0x00006f30 (0x6f28+8) 
     40DEF(zoom_busy                               ,0x00007084) // Found @0xff9809c4 
     41DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4 
    4242//DEF(recreview_hold                          ,0x00003e14) // Found @0xff8a8648, ** != ** stubs_min = 0x0000828c (0x81f8+0x94) 
    4343 
     
    9292NSTUB(AllocateMemory                          ,0xffafacdc) //101 
    9393NSTUB(AllocateUncacheableMemory               ,0xff83adc8) //112 
    94 //NSTUB(Close                                 ,0xff837030) //101            == 0xff837030 
     94NSTUB(Close                                   ,0xff837030) //101 
    9595NSTUB(CreateTask                              ,0xff81e8a0) //101 
    9696NSTUB(DebugAssert                             ,0xff81eb78) //111 
    9797NSTUB(DeleteDirectory_Fut                     ,0xff836a8c) //  1 
    9898NSTUB(DeleteFile_Fut                          ,0xff8369a8) //112 
    99 //NSTUB(DoAFLock                              ,0xff8388a0) //102            == 0xff8388a0 
    100 //NSTUB(EnterToCompensationEVF                ,0xff838b40) //104            == 0xff838b40 
     99NSTUB(DoAFLock                                ,0xff8388a0) //102 
     100NSTUB(EnterToCompensationEVF                  ,0xff838b40) //104 
    101101NSTUB(ExecuteEventProcedure                   ,0xff89270c) //  1 
    102 //NSTUB(ExitFromCompensationEVF               ,0xff838be4) //104            == 0xff838be4 
    103 //NSTUB(ExitTask                              ,0xff81eb30) //101            == 0xff81eb30 
    104 //NSTUB(ExpCtrlTool_StartContiAE              ,0xff84734c) //104            == 0xff84734c 
     102NSTUB(ExitFromCompensationEVF                 ,0xff838be4) //104 
     103NSTUB(ExitTask                                ,0xff81eb30) //101 
     104NSTUB(ExpCtrlTool_StartContiAE                ,0xff84734c) //104 
    105105NSTUB(ExpCtrlTool_StopContiAE                 ,0xff8474e4) //104 
    106106NSTUB(Fclose_Fut                              ,0xff836b24) //101 
     
    111111NSTUB(Fread_Fut                               ,0xff836bd0) //101 
    112112NSTUB(FreeMemory                              ,0xffafacd4) //101 
    113 //NSTUB(FreeUncacheableMemory                 ,0xff83ae08) //112            == 0xff83ae08 
     113NSTUB(FreeUncacheableMemory                   ,0xff83ae08) //112 
    114114NSTUB(Fseek_Fut                               ,0xff836cc4) //101 
    115115NSTUB(Fwrite_Fut                              ,0xff836c24) //101 
    116 //NSTUB(GetBatteryTemperature                 ,0xff869038) //102            == 0xff869038 
    117 //NSTUB(GetCCDTemperature                     ,0xff868fc4) //102            == 0xff868fc4 
    118 //NSTUB(GetCurrentAvValue                     ,0xff97e4b4) //102            == 0xff97e4b4 
    119 //NSTUB(GetDrive_ClusterSize                  ,0xff8769c8) //  4            == 0xff8769c8 
    120 //NSTUB(GetDrive_FreeClusters                 ,0xff876a28) //  4            == 0xff876a28 
    121 //NSTUB(GetDrive_TotalClusters                ,0xff8769fc) //  3            == 0xff8769fc 
    122 //NSTUB(GetFocusLensSubjectDistance           ,0xff97cb44) //102            == 0xff97cb44 
    123 //NSTUB(GetFocusLensSubjectDistanceFromLens   ,0xff97cf90) //  3            == 0xff97cf90 
    124 //NSTUB(GetImageFolder                        ,0xff95e84c) //106            == 0xff95e84c 
    125 //NSTUB(GetKbdState                           ,0xff8655f0) //109            == 0xff8655f0 
    126 //NSTUB(GetMemInfo                            ,0xff81a264) //  3            == 0xff81a264 
    127 //NSTUB(GetOpticalTemperature                 ,0xff8690ac) //102            == 0xff8690ac 
    128 //NSTUB(GetParameterData                      ,0xff9bbe98) //101            == 0xff9bbe98 
    129 //NSTUB(GetPropertyCase                       ,0xff896414) //102            == 0xff896414 
    130 //NSTUB(GetSystemTime                         ,0xffafad34) //101            == 0xffafad34 
    131 //NSTUB(GetZoomLensCurrentPoint               ,0xff980d38) //102            == 0xff980d38 
    132 //NSTUB(GetZoomLensCurrentPosition            ,0xffae90e8) //102            == 0xffae90e8 
     116NSTUB(GetBatteryTemperature                   ,0xff869038) //102 
     117NSTUB(GetCCDTemperature                       ,0xff868fc4) //102 
     118NSTUB(GetCurrentAvValue                       ,0xff97e4b4) //102 
     119NSTUB(GetDrive_ClusterSize                    ,0xff8769c8) //  4 
     120NSTUB(GetDrive_FreeClusters                   ,0xff876a28) //  4 
     121NSTUB(GetDrive_TotalClusters                  ,0xff8769fc) //  3 
     122NSTUB(GetFocusLensSubjectDistance             ,0xff97cb44) //102 
     123NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff97cf90) //  3 
     124NSTUB(GetImageFolder                          ,0xff95e84c) //106 
     125NSTUB(GetKbdState                             ,0xff8655f0) //109 
     126NSTUB(GetMemInfo                              ,0xff81a264) //  3 
     127NSTUB(GetOpticalTemperature                   ,0xff8690ac) //102 
     128NSTUB(GetParameterData                        ,0xff9bbe98) //101 
     129NSTUB(GetPropertyCase                         ,0xff896414) //102 
     130NSTUB(GetSystemTime                           ,0xffafad34) //101 
     131NSTUB(GetZoomLensCurrentPoint                 ,0xff980d38) //102 
     132NSTUB(GetZoomLensCurrentPosition              ,0xffae90e8) //102 
    133133NSTUB(GiveSemaphore                           ,0xff83a7e4) //112 
    134 //NSTUB(IsStrobeChargeCompleted               ,0xff8eae58) //102            == 0xff8eae58 
    135 //NSTUB(LEDDrive                              ,0xff86491c) //103            == 0xff86491c 
     134NSTUB(IsStrobeChargeCompleted                 ,0xff8eae58) //102 
     135NSTUB(LEDDrive                                ,0xff86491c) //103 
    136136NSTUB(LocalTime                               ,0xff88fff4) //  1 
    137 //NSTUB(LockMainPower                         ,0xff89d078) //103            == 0xff89d078 
    138 //NSTUB(Lseek                                 ,0xff83714c) //101            == 0xff83714c 
    139 //NSTUB(MakeDirectory_Fut                     ,0xff836a1c) //  1            == 0xff836a1c 
    140 //NSTUB(MoveFocusLensToDistance               ,0xffb5e3ec) //102            == 0xffb5e3ec 
     137NSTUB(LockMainPower                           ,0xff89d078) //103 
     138NSTUB(Lseek                                   ,0xff83714c) //101 
     139NSTUB(MakeDirectory_Fut                       ,0xff836a1c) //  1 
     140NSTUB(MoveFocusLensToDistance                 ,0xffb5e3ec) //102 
    141141NSTUB(MoveIrisWithAv                          ,0xffaf7268) //102 
    142 //NSTUB(MoveZoomLensWithPoint                 ,0xffaf7954) //102            == 0xffaf7954 
    143 //NSTUB(NewTaskShell                          ,0xff895e30) //103            == 0xff895e30 
    144 //NSTUB(Open                                  ,0xff836fc4) //101            == 0xff836fc4 
    145 //NSTUB(PB2Rec                                ,0xff8a0008) //104            == 0xff8a0008 
     142NSTUB(MoveZoomLensWithPoint                   ,0xffaf7954) //102 
     143NSTUB(NewTaskShell                            ,0xff895e30) //103 
     144NSTUB(Open                                    ,0xff836fc4) //101 
     145NSTUB(PB2Rec                                  ,0xff8a0008) //104 
    146146NSTUB(PT_MoveDigitalZoomToWide                ,0xff8806a4) //102 
    147147NSTUB(PT_MoveOpticalZoomAt                    ,0xff88067c) //102 
    148 //NSTUB(PT_PlaySound                          ,0xff88b0a8) //  4            == 0xff88b0a8 
    149 //NSTUB(PostLogicalEventForNotPowerType       ,0xff89aa88) //103            == 0xff89aa88 
    150 //NSTUB(PostLogicalEventToUI                  ,0xff89aad4) //103            == 0xff89aad4 
     148NSTUB(PT_PlaySound                            ,0xff88b0a8) //  4 
     149NSTUB(PostLogicalEventForNotPowerType         ,0xff89aa88) //103 
     150NSTUB(PostLogicalEventToUI                    ,0xff89aad4) //103 
    151151NSTUB(PutInNdFilter                           ,0xffb5c10c) //102 
    152152NSTUB(PutOutNdFilter                          ,0xffb5c144) //102 
    153153NSTUB(Read                                    ,0xff81ad74) //101 
    154 //NSTUB(ReadFastDir                           ,0xffad4130) //  4            == 0xffad4130 
    155 //NSTUB(Rec2PB                                ,0xff8a0048) //104            == 0xff8a0048 
    156 //NSTUB(RefreshPhysicalScreen                 ,0xff8b6c8c) //104            == 0xff8b6c8c 
    157 //NSTUB(Remove                                ,0xff837064) //  4            == 0xff837064 
    158 //NSTUB(RenameFile_Fut                        ,0xff836914) //  4            == 0xff836914 
    159 //NSTUB(Restart                               ,0xff83c5b8) //106            == 0xff83c5b8 
    160 //NSTUB(ScreenLock                            ,0xff8b7e50) //  4            == 0xff8b7e50 
    161 //NSTUB(ScreenUnlock                          ,0xff8b7eb4) //  9            == 0xff8b7eb4 
     154NSTUB(ReadFastDir                             ,0xffad4130) //  4 
     155NSTUB(Rec2PB                                  ,0xff8a0048) //104 
     156NSTUB(RefreshPhysicalScreen                   ,0xff8b6c8c) //104 
     157NSTUB(Remove                                  ,0xff837064) //  4 
     158NSTUB(RenameFile_Fut                          ,0xff836914) //  4 
     159NSTUB(Restart                                 ,0xff83c5b8) //106 
     160NSTUB(ScreenLock                              ,0xff8b7e50) //  4 
     161NSTUB(ScreenUnlock                            ,0xff8b7eb4) //  9 
    162162NSTUB(SetAE_ShutterSpeed                      ,0xffb60b3c) //102 
    163 //NSTUB(SetAutoShutdownTime                   ,0xff89d0ec) //103            == 0xff89d0ec 
    164 //NSTUB(SetCurrentCaptureModeType             ,0xff8a5444) //101            == 0xff8a5444 
    165 //NSTUB(SetFileTimeStamp                      ,0xff8372cc) //  4            == 0xff8372cc 
    166 //NSTUB(SetLogicalEventActive                 ,0xff89cdb4) //101            == 0xff89cdb4 
    167 //NSTUB(SetParameterData                      ,0xff9bbd70) //101            == 0xff9bbd70 
    168 //NSTUB(SetPropertyCase                       ,0xff8962ec) //102            == 0xff8962ec 
    169 //NSTUB(SetScriptMode                         ,0xff89ce04) //101            == 0xff89ce04 
    170 //NSTUB(SleepTask                             ,0xff83aa4c) //101            == 0xff83aa4c 
    171 //NSTUB(TakeSemaphore                         ,0xff83a714) //101            == 0xff83a714 
    172 //NSTUB(TurnOffBackLight                      ,0xff8af278) //104            == 0xff8af278 
    173 //NSTUB(TurnOnBackLight                       ,0xff8af260) //104            == 0xff8af260 
    174 //NSTUB(UIFS_WriteFirmInfoToFile              ,0xff9a7d60) //101            == 0xff9a7d60 
    175 //NSTUB(UnlockAF                              ,0xff8388d8) //102            == 0xff8388d8 
    176 //NSTUB(UnlockMainPower                       ,0xff89cfcc) //103            == 0xff89cfcc 
    177 //NSTUB(UnsetZoomForMovie                     ,0xff8ab114) //104            == 0xff8ab114 
     163NSTUB(SetAutoShutdownTime                     ,0xff89d0ec) //103 
     164NSTUB(SetCurrentCaptureModeType               ,0xff8a5444) //101 
     165NSTUB(SetFileAttributes                       ,0xff837328) //  3 
     166NSTUB(SetFileTimeStamp                        ,0xff8372cc) //  4 
     167NSTUB(SetLogicalEventActive                   ,0xff89cdb4) //101 
     168NSTUB(SetParameterData                        ,0xff9bbd70) //101 
     169NSTUB(SetPropertyCase                         ,0xff8962ec) //102 
     170NSTUB(SetScriptMode                           ,0xff89ce04) //101 
     171NSTUB(SleepTask                               ,0xff83aa4c) //101 
     172NSTUB(TakeSemaphore                           ,0xff83a714) //101 
     173NSTUB(TurnOffBackLight                        ,0xff8af278) //104 
     174NSTUB(TurnOnBackLight                         ,0xff8af260) //104 
     175NSTUB(UIFS_WriteFirmInfoToFile                ,0xff9a7d60) //101 
     176NSTUB(UnlockAF                                ,0xff8388d8) //102 
     177NSTUB(UnlockMainPower                         ,0xff89cfcc) //103 
     178NSTUB(UnsetZoomForMovie                       ,0xff8ab114) //104 
    178179NSTUB(UpdateMBROnFlash                        ,0xff876848) //105 
    179 //NSTUB(VbattGet                              ,0xff833188) //103            == 0xff833188 
     180NSTUB(VbattGet                                ,0xff833188) //103 
    180181NSTUB(Write                                   ,0xff8370c0) //101 
    181 //NSTUB(WriteSDCard                           ,0xff96dd64) //108            == 0xff96dd64 
     182NSTUB(WriteSDCard                             ,0xff96dd64) //108 
    182183NSTUB(_log                                    ,0xffba0aac) //111 
    183184NSTUB(_log10                                  ,0xffb9f738) //112 
    184185NSTUB(_pow                                    ,0xffb9f8a8) //114 
    185186NSTUB(_sqrt                                   ,0xffba26b4) //  1 
    186 //NSTUB(add_ptp_handler                       ,0xffa8e7f4) //  3            == 0xffa8e7f4 
    187 //NSTUB(apex2us                               ,0xffa50d88) //  4            == 0xffa50d88 
     187NSTUB(add_ptp_handler                         ,0xffa8e7f4) //  3 
     188NSTUB(apex2us                                 ,0xffa50d88) //  4 
    188189NSTUB(close                                   ,0xff81ab8c) //  1 
    189 //NSTUB(closedir                              ,0xffad3f8c) //  4            == 0xffad3f8c 
     190NSTUB(closedir                                ,0xffad3f8c) //  4 
    190191NSTUB(err_init_task                           ,0xff815fd4) //  4 
    191192NSTUB(exmem_alloc                             ,0xff890f40) //103 
    192 //NSTUB(free                                  ,0xff814244) //112            == 0xff814244 
    193 //NSTUB(kbd_p1_f                              ,0xff834a04) //109            == 0xff834a04 
    194 //NSTUB(kbd_p1_f_cont                         ,0xff834a10) //109            == 0xff834a10 
    195 //NSTUB(kbd_p2_f                              ,0xff83424c) //109            == 0xff83424c 
    196 //NSTUB(kbd_read_keys                         ,0xff83498c) //109            == 0xff83498c 
    197 //NSTUB(kbd_read_keys_r2                      ,0xff864ee8) //109            == 0xff864ee8 
    198 //NSTUB(lseek                                 ,0xff83714c) //101            == 0xff83714c 
     193NSTUB(free                                    ,0xff814244) //112 
     194NSTUB(kbd_p1_f                                ,0xff834a04) //109 
     195NSTUB(kbd_p1_f_cont                           ,0xff834a10) //109 
     196NSTUB(kbd_p2_f                                ,0xff83424c) //109 
     197NSTUB(kbd_read_keys                           ,0xff83498c) //109 
     198NSTUB(kbd_read_keys_r2                        ,0xff864ee8) //109 
     199NSTUB(lseek                                   ,0xff83714c) //101 
    199200NSTUB(malloc                                  ,0xff8141e8) //112 
    200201NSTUB(memcmp                                  ,0xff8206e0) //101 
    201202NSTUB(memcpy                                  ,0xff840588) //101 
    202203NSTUB(memset                                  ,0xffa4fd70) //101 
    203 //NSTUB(mkdir                                 ,0xff8374cc) //  4            == 0xff8374cc 
     204NSTUB(mkdir                                   ,0xff8374cc) //  4 
    204205NSTUB(mktime_ext                              ,0xff8b8c58) //  1 
    205206NSTUB(open                                    ,0xff81aadc) //  1 
    206 //NSTUB(opendir                               ,0xffad3fdc) //  4            == 0xffad3fdc 
    207 //NSTUB(openfastdir                           ,0xffad3fdc) //  4            == 0xffad3fdc 
    208 //NSTUB(qsort                                 ,0xffb4be88) //  4            == 0xffb4be88 
    209 //NSTUB(rand                                  ,0xffa4feb0) //  4            == 0xffa4feb0 
     207NSTUB(opendir                                 ,0xffad3fdc) //  4 
     208NSTUB(openfastdir                             ,0xffad3fdc) //  4 
     209NSTUB(qsort                                   ,0xffb4be88) //  4 
     210NSTUB(rand                                    ,0xffa4feb0) //  4 
    210211NSTUB(read                                    ,0xff81ad74) //101 
    211 //NSTUB(readfastdir                           ,0xffad4130) //  4            == 0xffad4130 
    212 //NSTUB(reboot_fw_update                      ,0xffad9550) //  4            == 0xffad9550 
    213 //NSTUB(rename                                ,0xff836914) //  4            == 0xff836914 
    214 //NSTUB(set_control_event                     ,0xff89c9a4) //111            == 0xff89c9a4 
    215 //NSTUB(srand                                 ,0xffa4fea4) //  4            == 0xffa4fea4 
     212NSTUB(reboot_fw_update                        ,0xffad9550) //  4 
     213NSTUB(rename                                  ,0xff836914) //  4 
     214NSTUB(set_control_event                       ,0xff89c9a4) //111 
     215NSTUB(srand                                   ,0xffa4fea4) //  4 
    216216NSTUB(stat                                    ,0xff837194) //  3 
    217 //NSTUB(strcat                                ,0xff8b8414) //  1            == 0xff8b8414 
    218 //NSTUB(strchr                                ,0xff8140b4) //  1            == 0xff8140b4 
     217NSTUB(strcat                                  ,0xff8b8414) //  1 
     218NSTUB(strchr                                  ,0xff8140b4) //  1 
    219219NSTUB(strcmp                                  ,0xff82069c) //101 
    220220NSTUB(strcpy                                  ,0xff820684) //101 
    221221NSTUB(strftime                                ,0xff8b8660) //113 
    222 //NSTUB(strlen                                ,0xff814100) //101            == 0xff814100 
     222NSTUB(strlen                                  ,0xff814100) //101 
    223223NSTUB(strncmp                                 ,0xff814068) //  1 
    224 //NSTUB(strncpy                               ,0xff81402c) //  1            == 0xff81402c 
    225 //NSTUB(strrchr                               ,0xff8140d8) //  1            == 0xff8140d8 
    226 //NSTUB(strtol                                ,0xff840868) //101            == 0xff840868 
     224NSTUB(strncpy                                 ,0xff81402c) //  1 
     225NSTUB(strrchr                                 ,0xff8140d8) //  1 
     226NSTUB(strtol                                  ,0xff840868) //101 
    227227NSTUB(strtolx                                 ,0xff84066c) //109 
    228228  DEF(task_CaptSeq                            ,0xff88322c) //107 
     
    232232  DEF(task_PhySw                              ,0xff83457c) //107 
    233233  DEF(task_RotaryEncoder                      ,0xff865894) //107 
    234 //NSTUB(time                                  ,0xff8905d4) //  2            == 0xff8905d4 
     234NSTUB(time                                    ,0xff8905d4) //  2 
    235235NSTUB(vsprintf                                ,0xff820648) //  4 
    236 //NSTUB(write                                 ,0xff8370c0) //101            == 0xff8370c0 
     236NSTUB(write                                   ,0xff8370c0) //101 
Note: See TracChangeset for help on using the changeset viewer.