source: trunk/platform/sx30/sub/100n/stubs_entry.S @ 1328

Revision 1328, 13.2 KB checked in by reyalp, 21 months ago (diff)

set eol styles and ignores on recently added ports/subs

  • Property svn:eol-style set to native
Line 
1// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
2#include "stubs_asm.h"
3
4// Camera info:
5// DRYOS R45 (DRYOS version 2.3, release #0045)
6// Firmware Ver GM1.00N
7// Canon PowerShot SX30 IS
8
9// Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
10//    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
11//NSTUB(kbd_pwr_off                           ,0xff865b9c) //  2 60%    *** != 0xff810b1c
12// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xff810b1c
13
14// Check of modemap from 'platform/CAMERA/shooting.c':
15// Firmware modemap table found @ff8a3cc4 -> ff8a0690 -> ff9c133c -> ffb00f38 -> ffc67b70
16// No problems found with modemap table.
17
18// Values below go in 'stubs_min.S':
19//DEF(physw_status                            ,0x00034594) // Found @0xff8349f0,          stubs_min = 0x00034594 (0x34594)
20//DEF(physw_run                               ,0x00001c3c) // Found @0xff8345ec,          stubs_min = 0x00001c3c (0x1C30+0xC)
21//DEF(levent_table                            ,0xffc0eaa8) // Found @0xffc0eaa8,          stubs_min = 0xffc0eaa8 (0xFFC0EAA8)
22//DEF(FlashParamsTable                        ,0xffc67d74) // Found @0xffc67d74,          stubs_min = 0xffc67d74 (0xFFC67D74)
23//DEF(movie_status                            ,0x00003524) // Found @0xff882fb4,          stubs_min = 0x00003524 (0x34E0+0x44)
24//DEF(full_screen_refresh                     ,0x0000b198) // Found @0xffa46b84,          stubs_min = 0x0000b198 (0xB198)
25//DEF(canon_menu_active                       ,0x00003a2c) // Found @0xff89a570,          stubs_min = 0x00003a2c (0x3A28+4)
26//DEF(canon_shoot_menu_active                 ,0x00009901) // Found @0xff9debd8,          stubs_min = 0x00009901 (0x9900+1)
27//DEF(playrec_mode                            ,0x00003758) // Found @0xff88c710,          stubs_min = 0x00003758 (0x3754+0x4)
28//DEF(zoom_status                             ,0x0000e7c4) // Found @0xffb049bc,          stubs_min = 0x0000e7c4 (0xE7C4)
29//DEF(some_flag_for_af_scan                   ,0x000085cc) // Found @0xff9912a4
30
31// Values below go in 'lib.c':
32//void *vid_get_bitmap_fb()        { return (void*)0x40471000; } // Found @0xff85ed30
33//void *vid_get_viewport_fb()      { return (void*)0x40587700; } // Found @0xffb56d0c
34//char *camera_jpeg_count_str()    { return (char*)0x000cf2fc; } // Found @0xffa3bd68
35//long hook_raw_size()             { return 0x014eb7e0; }        // Found @0xffb5a1cc
36//int get_flash_params_count(void) { return 0x9a; }              // Found @0xff9c28d4
37
38// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
39//#define SD_READONLY_FLAG    0x00020000 // Found @0xffb97c38, levent 0x90a
40//#define SD_READONLY_IDX     2
41//#define USB_FLAG            0x04000000 // Found @0xffb97c68, levent 0x902
42//#define USB_IDX             2
43
44// Keymap values for kbd.c. Additional keys may be present, only common values included here.
45//static KeyMap keymap[] = {
46//    { 0, KEY_UP          ,0x00000400 }, // Found @0xffb97b70, levent 0x04
47//    { 0, KEY_DOWN        ,0x00000800 }, // Found @0xffb97b78, levent 0x05
48//    { 0, KEY_LEFT        ,0x00001000 }, // Found @0xffb97b80, levent 0x06
49//    { 0, KEY_RIGHT       ,0x00002000 }, // Found @0xffb97b88, levent 0x07
50//    { 0, KEY_SET         ,0x00004000 }, // Found @0xffb97b90, levent 0x08
51//    { 0, KEY_DISPLAY     ,0x00020000 }, // Found @0xffb97ba8, levent 0x0a
52//    { 0, KEY_MENU        ,0x00040000 }, // Found @0xffb97bb0, levent 0x09
53//    { 2, KEY_SHOOT_HALF  ,0x00000100 }, // Found @0xffb97c08, levent 0x00
54//    { 2, KEY_SHOOT_FULL  ,0x00000300 }, // Found @0xffb97c10, levent 0x01
55//    { 0, 0, 0 }
56//};
57
58// Values below go in 'platform_camera.h':
59//#define CAM_DRYOS         1
60//#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher
61//#define CAM_RAW_ROWPIX    4464 // Found @0xff9578f0
62//#define CAM_RAW_ROWS      3276 // Found @0xff9578fc
63//#undef  CAM_UNCACHED_BIT
64//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff83afdc
65
66// Stubs below matched 100%.
67//    Name                                     Address                Comp to stubs_entry_2.S
68NSTUB(AllocateMemory                          ,0xffaee234) //101
69NSTUB(AllocateUncacheableMemory               ,0xff83af98) //112
70NSTUB(Close                                   ,0xff8370dc) //101
71NSTUB(CreateTask                              ,0xff81e8a0) //101
72NSTUB(DebugAssert                             ,0xff81eb78) //111
73NSTUB(DeleteFile_Fut                          ,0xff836a54) //112
74NSTUB(DoAFLock                                ,0xff838ab8) //102
75NSTUB(EnterToCompensationEVF                  ,0xff838d44) //104
76NSTUB(ExecuteEventProcedure                   ,0xff895cc4) //  1
77NSTUB(ExitFromCompensationEVF                 ,0xff838d88) //104
78NSTUB(ExitTask                                ,0xff81eb30) //101
79NSTUB(ExpCtrlTool_StartContiAE                ,0xff8474fc) //104
80NSTUB(ExpCtrlTool_StopContiAE                 ,0xff847688) //104
81NSTUB(Fclose_Fut                              ,0xff836bd0) //101
82NSTUB(Feof_Fut                                ,0xff836dbc) //  1
83NSTUB(Fflush_Fut                              ,0xff836df8) //  1
84NSTUB(Fgets_Fut                               ,0xff836d24) //  1
85NSTUB(Fopen_Fut                               ,0xff836b90) //101
86NSTUB(Fread_Fut                               ,0xff836c7c) //101
87NSTUB(FreeMemory                              ,0xffaee22c) //101
88NSTUB(FreeUncacheableMemory                   ,0xff83afd8) //112
89NSTUB(Fseek_Fut                               ,0xff836d70) //101
90NSTUB(Fwrite_Fut                              ,0xff836cd0) //101
91NSTUB(GetBatteryTemperature                   ,0xff8697ac) //102
92NSTUB(GetCCDTemperature                       ,0xff869738) //102
93NSTUB(GetCurrentAvValue                       ,0xff980704) //102
94NSTUB(GetDrive_ClusterSize                    ,0xff87724c) //  4
95NSTUB(GetDrive_FreeClusters                   ,0xff8772ac) //  4
96NSTUB(GetDrive_TotalClusters                  ,0xff877280) //  3
97NSTUB(GetFocusLensSubjectDistance             ,0xff97eb04) //102
98NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff97ef7c) //  3
99NSTUB(GetImageFolder                          ,0xff95f174) //106
100NSTUB(GetKbdState                             ,0xff865a28) //109
101NSTUB(GetMemInfo                              ,0xff81a264) //  3
102NSTUB(GetOpticalTemperature                   ,0xff869820) //102
103NSTUB(GetParameterData                        ,0xff9c2898) //101
104NSTUB(GetPropertyCase                         ,0xff8999cc) //102
105NSTUB(GetSystemTime                           ,0xffaee28c) //101
106NSTUB(GetZoomLensCurrentPoint                 ,0xff87e9c4) //102
107NSTUB(GetZoomLensCurrentPosition              ,0xff986530) //102
108NSTUB(GiveSemaphore                           ,0xff83a9b4) //112
109NSTUB(IsStrobeChargeCompleted                 ,0xff8ec16c) //102
110NSTUB(LEDDrive                                ,0xff864bd4) //103
111NSTUB(LocalTime                               ,0xff8935ac) //  1
112NSTUB(LockMainPower                           ,0xff8a0294) //103
113NSTUB(Lseek                                   ,0xff8371f8) //101
114NSTUB(MakeDirectory_Fut                       ,0xff836ac8) //  1
115NSTUB(MoveFocusLensToDistance                 ,0xffb5303c) //102
116NSTUB(MoveIrisWithAv                          ,0xffae9040) //102
117NSTUB(MoveZoomLensWithPoint                   ,0xffae9738) //102
118NSTUB(NewTaskShell                            ,0xff8993e8) //103
119NSTUB(Open                                    ,0xff837070) //101
120NSTUB(PB2Rec                                  ,0xff8a30fc) //104
121NSTUB(PT_MoveDigitalZoomToWide                ,0xff883c30) //102
122NSTUB(PT_MoveOpticalZoomAt                    ,0xff883c08) //102
123NSTUB(PT_PlaySound                            ,0xff88e660) //  4
124NSTUB(PostLogicalEventForNotPowerType         ,0xff89e02c) //103
125NSTUB(PostLogicalEventToUI                    ,0xff89e078) //103
126NSTUB(PutInNdFilter                           ,0xffb50cb0) //102
127NSTUB(PutOutNdFilter                          ,0xffb50ce8) //102
128NSTUB(Read                                    ,0xff81ad74) //101
129NSTUB(ReadFastDir                             ,0xfface0b0) //  4
130NSTUB(Rec2PB                                  ,0xff8a1b40) //104
131NSTUB(RefreshPhysicalScreen                   ,0xff8b8114) //104
132NSTUB(Remove                                  ,0xff837110) //  4
133NSTUB(RenameFile_Fut                          ,0xff8369c0) //  4
134NSTUB(Restart                                 ,0xff83c788) //106
135NSTUB(ScreenLock                              ,0xff8b9344) //  4
136NSTUB(ScreenUnlock                            ,0xff8b93a8) //  3
137NSTUB(SetAE_ShutterSpeed                      ,0xffb55e84) //102
138NSTUB(SetAutoShutdownTime                     ,0xff8a0308) //103
139NSTUB(SetCurrentCaptureModeType               ,0xff8a922c) //101
140NSTUB(SetFileTimeStamp                        ,0xff837378) //  4
141NSTUB(SetLogicalEventActive                   ,0xff89ffd0) //101
142NSTUB(SetParameterData                        ,0xff9c2770) //101
143NSTUB(SetPropertyCase                         ,0xff8998a4) //102
144NSTUB(SetScriptMode                           ,0xff8a0020) //101
145NSTUB(SleepTask                               ,0xff83ac1c) //101
146NSTUB(TakeSemaphore                           ,0xff83a8e4) //101
147NSTUB(TurnOffBackLight                        ,0xff8b059c) //104
148NSTUB(TurnOnBackLight                         ,0xff8b0584) //104
149NSTUB(UIFS_WriteFirmInfoToFile                ,0xff9aef3c) //101
150NSTUB(UnlockAF                                ,0xff838af0) //102
151NSTUB(UnlockMainPower                         ,0xff8a01e8) //103
152NSTUB(UpdateMBROnFlash                        ,0xff8770cc) //  3
153NSTUB(VbattGet                                ,0xff833178) //103
154NSTUB(Write                                   ,0xff83716c) //101
155NSTUB(WriteSDCard                             ,0xff96db38) //108
156NSTUB(_log                                    ,0xffb93d24) //111
157NSTUB(_log10                                  ,0xffb92c68) //112
158NSTUB(_pow                                    ,0xffb92dd8) //114
159NSTUB(_sqrt                                   ,0xffb950f0) //  1
160NSTUB(add_ptp_handler                         ,0xffa8ec64) //  3
161NSTUB(apex2us                                 ,0xffa4ea74) //  4
162NSTUB(close                                   ,0xff81ab8c) //  1
163NSTUB(closedir                                ,0xffacdf0c) //  4
164NSTUB(err_init_task                           ,0xff815fd4) //  4
165NSTUB(exmem_alloc                             ,0xff8944f8) //103
166NSTUB(free                                    ,0xff814244) //112
167NSTUB(kbd_p1_f                                ,0xff834a68) //109
168NSTUB(kbd_p1_f_cont                           ,0xff834a74) //109
169NSTUB(kbd_p2_f                                ,0xff8342b8) //109
170NSTUB(kbd_read_keys                           ,0xff8349f0) //109
171NSTUB(kbd_read_keys_r2                        ,0xff8651a4) //109
172NSTUB(lseek                                   ,0xff8371f8) //101
173NSTUB(malloc                                  ,0xff8141e8) //112
174NSTUB(memcmp                                  ,0xff8206d0) //101
175NSTUB(memcpy                                  ,0xff840750) //101
176NSTUB(memset                                  ,0xffa4da70) //101
177NSTUB(mkdir                                   ,0xff837578) //  4
178NSTUB(mktime_ext                              ,0xff8ba264) //  1
179NSTUB(open                                    ,0xff81aadc) //  1
180NSTUB(opendir                                 ,0xffacdf5c) //  4
181NSTUB(openfastdir                             ,0xffacdf5c) //  4
182NSTUB(qsort                                   ,0xffb40888) //  4
183NSTUB(rand                                    ,0xffa4dbb0) //  4
184NSTUB(read                                    ,0xff81ad74) //101
185NSTUB(readfastdir                             ,0xfface0b0) //  4
186NSTUB(reboot_fw_update                        ,0xffad34d0) //  4
187NSTUB(rename                                  ,0xff8369c0) //  4
188NSTUB(set_control_event                       ,0xff89fbc0) //111
189NSTUB(srand                                   ,0xffa4dba4) //  4
190NSTUB(stat                                    ,0xff837240) //  3
191NSTUB(strcat                                  ,0xff8b9a20) //  1
192NSTUB(strchr                                  ,0xff8140b4) //  1
193NSTUB(strcmp                                  ,0xff82068c) //101
194NSTUB(strcpy                                  ,0xff820674) //101
195NSTUB(strftime                                ,0xff8b9c6c) //113
196NSTUB(strlen                                  ,0xff814100) //101
197NSTUB(strncmp                                 ,0xff814068) //  1
198NSTUB(strncpy                                 ,0xff81402c) //  1
199NSTUB(strrchr                                 ,0xff8140d8) //  1
200NSTUB(strtol                                  ,0xff840a30) //101
201NSTUB(strtolx                                 ,0xff840834) //109
202  DEF(task_CaptSeq                            ,0xff8868c4) //107
203  DEF(task_ExpDrv                             ,0xff8d081c) //110
204  DEF(task_InitFileModules                    ,0xff8a3b50) //107
205  DEF(task_MovieRecord                        ,0xff88334c) //107
206  DEF(task_PhySw                              ,0xff8345e8) //107
207  DEF(task_RotaryEncoder                      ,0xff865d08) //107
208NSTUB(time                                    ,0xff893b8c) //  2
209NSTUB(vsprintf                                ,0xff820638) //  4
210NSTUB(write                                   ,0xff83716c) //101
Note: See TracBrowser for help on using the repository browser.