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

Re-align CHDK and CHDK-DE code base (part 1) -  http://chdk.setepontos.com/index.php?topic=7601.0
- add a1000, include a3300, ixus1000 and ixus230 in auto build
- align signature finder code and stubs files
- align files with just white space differences

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/a480/sub/100b/stubs_entry.S

    r1635 r1637  
    2020//NSTUB(PutOutNdFilter                        ,0xffdc22dc) //102        *** != 0xffe01e44 
    2121NSTUB(kbd_pwr_off                             ,0xffc2c8c4) //  2 64% 
    22 // ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xffc00954 
     22// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0x00000000 
    2323//NSTUB(kbd_read_keys_r2                      ,0xffc2c384) //109        *** != 0xffc1138c 
    24 //NSTUB(rename                                ,0xffc12a84) //  1        *** != 0xffc13300 
    25 //NSTUB(write                                 ,0xffc132d8) //101        *** != 0xffc0a27c 
    2624 
    2725// Check of modemap from 'platform/CAMERA/shooting.c': 
     
    3028 
    3129// Values below can be overridden in 'stubs_min.S': 
    32 //DEF(physw_status                            ,0x0000cef8) // Found @0xffc11360,          stubs_min = 0x0000cef8 (0xCEF8) 
    33 //DEF(physw_run                               ,0x00001bec) // Found @0xffc10fd4,          stubs_min = 0x00001bec (0x1BE0+0x0C) 
    34 //DEF(levent_table                            ,0xffe57a18) // Found @0xffe57a18,          stubs_min = 0xffe57a18 (0xFFE57A18) 
    35 //DEF(FlashParamsTable                        ,0xffe72138) // Found @0xffe72138,          stubs_min = 0xffe72138 (0xFFE72138) 
    36 //DEF(movie_status                            ,0x00005700) // Found @0xffce5478,          stubs_min = 0x00005700 (0x56C8+0x38) 
    37 //DEF(canon_menu_active                       ,0x00002a00) // Found @0xffc52450,          stubs_min = 0x00002a00 (0x29FC+4) 
     30DEF(physw_status                            ,0x0000cef8) // Found @0xffc11360 
     31DEF(physw_run                               ,0x00001bec) // Found @0xffc10fd4 
     32DEF(levent_table                            ,0xffe57a18) // Found @0xffe57a18 
     33DEF(FlashParamsTable                        ,0xffe72138) // Found @0xffe72138 
     34DEF(movie_status                            ,0x00005700) // Found @0xffce5478 
     35DEF(canon_menu_active                       ,0x00002a00) // Found @0xffc52450 
    3836//DEF(canon_shoot_menu_active                 ,0x00006861) // Found @0xffd16804, ** != ** stubs_min = 0xffc00414 (0xFFC00414) 
    39 //DEF(playrec_mode                            ,0x00002798) // Found @0xffc46f04,          stubs_min = 0x00002798 (0x2794+0x4) 
    40 //DEF(zoom_status                             ,0x0000a2d4) // Found @0xffdcf93c,          stubs_min = 0x0000a2d4 (0xA2D4) 
    41 //DEF(some_flag_for_af_scan                   ,0x00005bbc) // Found @0xffce7b58,          stubs_min = 0x00005bbc (0x5BBC) 
     37DEF(playrec_mode                            ,0x00002798) // Found @0xffc46f04 
     38DEF(zoom_status                             ,0x0000a2d4) // Found @0xffdcf93c 
     39DEF(some_flag_for_af_scan                   ,0x00005bbc) // Found @0xffce7b58 
    4240// focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 
    4341// each entry contains 3 int value(s), the first is the zoom focus length. 
    4442// there are 7 entries in the table - set NUM_FL to 7 
    4543DEF(focus_len_table                         ,0xfffe297c) // Found @0xfffe297c 
    46 //DEF(zoom_busy                               ,0x00005698) // Found @0xffce3a34,          stubs_min = 0x00005698 (0x5684+0x14) 
    47 //DEF(focus_busy                              ,0x000055a0) // Found @0xffcdf584,          stubs_min = 0x000055a0 (0x5598+8) 
     44DEF(zoom_busy                               ,0x00005698) // Found @0xffce3a34 
     45DEF(focus_busy                              ,0x000055a0) // Found @0xffcdf584 
    4846//DEF(recreview_hold                          ,0x00002f60) // Found @0xffc5da24, ** != ** stubs_min = 0xffc00414 (0xFFC00414) 
    4947 
     
    10098NSTUB(DeleteDirectory_Fut                     ,0xffc12bbc) //  1 
    10199NSTUB(DeleteFile_Fut                          ,0xffc12ad8) //112 
    102 //NSTUB(DoAFLock                              ,0xffc14830) //102            == 0xffc14830 
    103 //NSTUB(EnterToCompensationEVF                ,0xffc148e0) //104            == 0xffc148e0 
     100NSTUB(DoAFLock                                ,0xffc14830) //102 
     101NSTUB(EnterToCompensationEVF                  ,0xffc148e0) //104 
    104102NSTUB(ExecuteEventProcedure                   ,0xffc4dbd8) //  1 
    105 //NSTUB(ExitFromCompensationEVF               ,0xffc14924) //104            == 0xffc14924 
     103NSTUB(ExitFromCompensationEVF                 ,0xffc14924) //104 
    106104NSTUB(ExitTask                                ,0xffc0bc54) //101 
    107 //NSTUB(ExpCtrlTool_StartContiAE              ,0xffc1eee4) //104            == 0xffc1eee4 
    108 //NSTUB(ExpCtrlTool_StopContiAE               ,0xffc1f028) //104            == 0xffc1f028 
     105NSTUB(ExpCtrlTool_StartContiAE                ,0xffc1eee4) //104 
     106NSTUB(ExpCtrlTool_StopContiAE                 ,0xffc1f028) //104 
    109107NSTUB(Fclose_Fut                              ,0xffc12c54) //101 
    110108NSTUB(Feof_Fut                                ,0xffc12e40) //  1 
     
    118116NSTUB(Fwrite_Fut                              ,0xffc12d54) //101 
    119117NSTUB(GetCurrentAvValue                       ,0xffce0fe8) //102 
    120 //NSTUB(GetDrive_ClusterSize                  ,0xffc3a924) //  5            == 0xffc3a924 
    121 //NSTUB(GetDrive_FreeClusters                 ,0xffc3a97c) //  5            == 0xffc3a97c 
    122 //NSTUB(GetDrive_TotalClusters                ,0xffc3a950) //  5            == 0xffc3a950 
     118NSTUB(GetDrive_ClusterSize                    ,0xffc3a924) //  5 
     119NSTUB(GetDrive_FreeClusters                   ,0xffc3a97c) //  5 
     120NSTUB(GetDrive_TotalClusters                  ,0xffc3a950) //  5 
    123121NSTUB(GetFocusLensSubjectDistance             ,0xffce00c8) //102 
    124122NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xffce03d4) //  3 
     
    133131NSTUB(GiveSemaphore                           ,0xffc0b920) //112 
    134132NSTUB(IsStrobeChargeCompleted                 ,0xffc7ccc4) //102 
    135 //NSTUB(LEDDrive                              ,0xffc2c020) //103            == 0xffc2c020 
     133NSTUB(LEDDrive                                ,0xffc2c020) //103 
    136134NSTUB(LocalTime                               ,0xffc4b954) //  1 
    137135NSTUB(LockMainPower                           ,0xffc55210) //103 
     
    152150NSTUB(ReadFastDir                             ,0xffdb0044) //  1 
    153151NSTUB(Rec2PB                                  ,0xffc57efc) //104 
    154 //NSTUB(RefreshPhysicalScreen                 ,0xffd4be50) //104            == 0xffd4be50 
     152NSTUB(RefreshPhysicalScreen                   ,0xffd4be50) //104 
    155153NSTUB(Remove                                  ,0xffc13274) //  1 
    156154NSTUB(RenameFile_Fut                          ,0xffc12a84) //  1 
    157155NSTUB(Restart                                 ,0xffc17e44) //106 
    158 //NSTUB(SetAE_ShutterSpeed                    ,0xffe06860) //102            == 0xffe06860 
     156NSTUB(SetAE_ShutterSpeed                      ,0xffe06860) //102 
    159157NSTUB(SetAutoShutdownTime                     ,0xffc55284) //103 
    160158NSTUB(SetCurrentCaptureModeType               ,0xffc5b514) //101 
     159NSTUB(SetFileAttributes                       ,0xffc13558) //  1 
    161160NSTUB(SetFileTimeStamp                        ,0xffc13508) //  1 
    162161NSTUB(SetLogicalEventActive                   ,0xffc54f8c) //101 
    163162NSTUB(SetParameterData                        ,0xffd08ca0) //101 
    164163NSTUB(SetPropertyCase                         ,0xffc5183c) //102 
    165 //NSTUB(SetScriptMode                         ,0xffc54fdc) //101            == 0xffc54fdc 
     164NSTUB(SetScriptMode                           ,0xffc54fdc) //101 
    166165NSTUB(SleepTask                               ,0xffc16578) //101 
    167166NSTUB(TakeSemaphore                           ,0xffc0b850) //101 
    168 //NSTUB(TurnOffBackLight                      ,0xffc5fcec) //104            == 0xffc5fcec 
     167NSTUB(TurnOffBackLight                        ,0xffc5fcec) //104 
    169168NSTUB(TurnOnBackLight                         ,0xffc5fcd4) //104 
    170169NSTUB(UIFS_WriteFirmInfoToFile                ,0xffcfa8ec) //101 
    171 //NSTUB(UnlockAF                              ,0xffc14868) //102            == 0xffc14868 
     170NSTUB(UnlockAF                                ,0xffc14868) //102 
    172171NSTUB(UnlockMainPower                         ,0xffc55164) //103 
    173 //NSTUB(UnsetZoomForMovie                     ,0xffd0e960) //104            == 0xffd0e960 
    174 //NSTUB(UpdateMBROnFlash                      ,0xffc3a77c) //105            == 0xffc3a77c 
     172NSTUB(UnsetZoomForMovie                       ,0xffd0e960) //104 
     173NSTUB(UpdateMBROnFlash                        ,0xffc3a77c) //105 
    175174NSTUB(VbattGet                                ,0xffc10294) //103 
    176175NSTUB(Write                                   ,0xffc132d8) //101 
    177 //NSTUB(WriteSDCard                           ,0xffcd598c) //108            == 0xffcd598c 
     176NSTUB(WriteSDCard                             ,0xffcd598c) //108 
    178177NSTUB(_log                                    ,0xffe328a4) //111 
    179178NSTUB(_log10                                  ,0xffe317e8) //112 
     
    181180NSTUB(_sqrt                                   ,0xffe33c0c) //  1 
    182181NSTUB(add_ptp_handler                         ,0xffd8a108) //  3 
    183 //NSTUB(apex2us                               ,0xffd4cf08) //  4            == 0xffd4cf08 
     182NSTUB(apex2us                                 ,0xffd4cf08) //  4 
    184183NSTUB(close                                   ,0xffc0a034) //  1 
    185184NSTUB(closedir                                ,0xffdb0114) //  1 
     
    202201NSTUB(opendir                                 ,0xffdaffb0) //  1 
    203202NSTUB(openfastdir                             ,0xffdaffb0) //  1 
    204 //NSTUB(qsort                                 ,0xffdf2a18) //  1            == 0xffdf2a18 
     203NSTUB(qsort                                   ,0xffdf2a18) //  1 
    205204NSTUB(rand                                    ,0xffc0dabc) //  1 
    206205NSTUB(read                                    ,0xffc0a21c) //101 
    207 NSTUB(readfastdir                             ,0xffdb0044) //  1 
    208206NSTUB(reboot_fw_update                        ,0xffdb3b28) //  5 
     207NSTUB(rename                                  ,0xffc12a84) //  1 
    209208NSTUB(set_control_event                       ,0xffc54cc0) //111 
    210209NSTUB(srand                                   ,0xffc0dab0) //  1 
    211210NSTUB(stat                                    ,0xffc13438) //  1 
    212211NSTUB(strcat                                  ,0xffc6344c) //  1 
    213 //NSTUB(strchr                                ,0xffc634d4) //  1            == 0xffc634d4 
     212NSTUB(strchr                                  ,0xffc634d4) //  1 
    214213NSTUB(strcmp                                  ,0xffc0d94c) //101 
    215214NSTUB(strcpy                                  ,0xffc0d934) //101 
     
    218217NSTUB(strncmp                                 ,0xffc63488) //  1 
    219218NSTUB(strncpy                                 ,0xffc1bf08) //  1 
    220 //NSTUB(strrchr                               ,0xffd4c1c8) //  1            == 0xffd4c1c8 
     219NSTUB(strrchr                                 ,0xffd4c1c8) //  1 
    221220NSTUB(strtol                                  ,0xffc1c140) //101 
    222221NSTUB(strtolx                                 ,0xffc1bf44) //109 
     
    228227NSTUB(time                                    ,0xffc4b808) //  1 
    229228NSTUB(vsprintf                                ,0xffc0d8f8) //  1 
     229NSTUB(write                                   ,0xffc132d8) //101