root/trunk/platform/ixus100_sd780/sub/100b/stubs_entry.S @ 1385

Revision 1385, 17.2 KB (checked in by philmoz, 19 months ago)

Update for DRYOS signature finder (finsig_dryos.c):
- Fix camera name finder for R49 cameras
- Add PLATFORMID and MAXRAMADDR values in camera info section
Also fix SVN properties for IXUS 1000 files & folders.

  • 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 R31 (DRYOS version 2.3, release #0031)
6//   Firmware Ver GM1.00B
7//   Canon DIGITAL IXUS 100 IS
8//   PLATFORMID = 12738 (0x31c2)
9//   MAXRAMADDR = 0x03ffffff
10
11// Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
12//    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
13//NSTUB(kbd_pwr_off                           ,0xff843204) //  2 64%        == 0xff843204
14// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xff858bec
15
16// Check of modemap from 'platform/CAMERA/shooting.c':
17// Firmware modemap table found @ff877f44 -> ff8746ec -> ff9442b0 -> ffa4a5e8 -> ffb2e4b4
18// Mode 16390 in firmware but not in current modemap
19// Mode 16904 in firmware but not in current modemap
20// Mode 16906 in firmware but not in current modemap
21// Mode 16923 in firmware but not in current modemap
22// Mode 16924 in firmware but not in current modemap
23// Mode 16413 in firmware but not in current modemap
24// Mode 16408 in firmware but not in current modemap
25// Mode 16406 in firmware but not in current modemap
26// Mode  2600 in firmware but not in current modemap
27// Mode  2601 in firmware but not in current modemap
28// Current modemap entry not found in firmware - MODE_LANDSCAPE           32780
29// Current modemap entry not found in firmware - MODE_SCN_NIGHT_SCENE     16398
30// Current modemap entry not found in firmware - MODE_VIDEO_SPEED          2598
31// Current modemap entry not found in firmware - MODE_VIDEO_STD            2597
32
33// Values below go in 'stubs_min.S':
34//DEF(physw_status                            ,0x0000e238) // Found @0xff821dcc,          stubs_min = 0x0000e238 (0xE238)
35//DEF(physw_run                               ,0x00001c34) // Found @0xff821a40,          stubs_min = 0x00001c34 (0x1C34)
36//DEF(levent_table                            ,0xffb009d4) // Found @0xffb009d4,          stubs_min = 0xffb009d4 (0xffb009d4)
37//DEF(FlashParamsTable                        ,0xffb2e690) // Found @0xffb2e690,          stubs_min = 0xffb2e690 (0xffb2e690)
38//DEF(movie_status                            ,0x00005b10) // Found @0xff91a3c4,          stubs_min = 0x00005b10 (0x5B10)
39//DEF(canon_menu_active                       ,0x00002ca0) // Found @0xff86edcc,          stubs_min = 0x00002ca0 (0x2CA0)
40//DEF(canon_shoot_menu_active                 ,0x00006e29) // Found @0xff953cac,          stubs_min = 0x00006e29 (0x6E29)
41//DEF(playrec_mode                            ,0x00002a08) // Found @0xff862154,          stubs_min = 0x00002a08 (0x2A08)
42//DEF(zoom_status                             ,0x0000ac68) // Found @0xffa4be18,          stubs_min = 0x0000ac68 (0xAC68)
43//DEF(some_flag_for_af_scan                   ,0x00006068) // Found @0xff91d6b8,          stubs_min = 0x00006068 (0x6068)
44
45// Values below go in 'lib.c':
46//void *vid_get_bitmap_fb()        { return (void*)0x403f1000; } // Found @0xff83dae4
47//void *vid_get_viewport_fb()      { return (void*)0x415f3570; } // Found @0xffa97dcc
48//char *camera_jpeg_count_str()    { return (char*)0x00033110; } // Found @0xff98fafc
49//long hook_raw_size()             { return 0x011ca240; }        // Found @0xffa9a358
50//int get_flash_params_count(void) { return 0x7a; }              // Found @0xff94536c
51
52// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
53//#define SD_READONLY_FLAG    0x00020000 // Found @0xffacd568, levent 0x90a
54//#define SD_READONLY_IDX     2
55//#define USB_FLAG            0x00080000 // Found @0xffacd580, levent 0x902
56//#define USB_IDX             2
57
58// Keymap values for kbd.c. Additional keys may be present, only common values included here.
59//static KeyMap keymap[] = {
60//    { 0, KEY_LEFT        ,0x00000001 }, // Found @0xffacd460, levent 0x06
61//    { 0, KEY_RIGHT       ,0x00000002 }, // Found @0xffacd46c, levent 0x07
62//    { 0, KEY_DOWN        ,0x00000004 }, // Found @0xffacd478, levent 0x05
63//    { 0, KEY_UP          ,0x00000008 }, // Found @0xffacd484, levent 0x04
64//    { 1, KEY_MENU        ,0x00000800 }, // Found @0xffacd490, levent 0x09
65//    { 1, KEY_SET         ,0x00004000 }, // Found @0xffacd49c, levent 0x08
66//    { 2, KEY_SHOOT_HALF  ,0x00000001 }, // Found @0xffacd4d8, levent 0x00
67//    { 2, KEY_DISPLAY     ,0x00000040 }, // Found @0xffacd514, levent 0x0a
68//    { 2, KEY_SHOOT_FULL  ,0x00001001 }, // Found @0xffacd52c, levent 0x01
69//    { 2, KEY_ZOOM_OUT    ,0x00002000 }, // Found @0xffacd538, levent 0x03
70//    { 2, KEY_ZOOM_IN     ,0x00004000 }, // Found @0xffacd544, levent 0x02
71//    { 0, 0, 0 }
72//};
73
74// Values below go in 'platform_camera.h':
75//#define CAM_DRYOS         1
76//#define CAM_RAW_ROWPIX    4080 // Found @0xff8e6184
77//#define CAM_RAW_ROWS      3048 // Found @0xff8e6188
78//#undef  CAM_UNCACHED_BIT
79//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff82748c
80
81// Stubs below matched 100%.
82//    Name                                     Address                Comp to stubs_entry_2.S
83//NSTUB(AllocateMemory                        ,0xffa3df40) //101            == 0xffa3df40
84//NSTUB(AllocateUncacheableMemory             ,0xff827448) //112            == 0xff827448
85//NSTUB(Close                                 ,0xff823c98) //101            == 0xff823c98
86//NSTUB(CreateTask                            ,0xff81afac) //101            == 0xff81afac
87//NSTUB(DebugAssert                           ,0xff81b284) //111            == 0xff81b284
88//NSTUB(DeleteFile_Fut                        ,0xff823544) //112            == 0xff823544
89//NSTUB(DoAFLock                              ,0xff825334) //102            == 0xff825334
90//NSTUB(EnterToCompensationEVF                ,0xff825420) //104            == 0xff825420
91//NSTUB(ExecuteEventProcedure                 ,0xff86a518) //  1            == 0xff86a518
92//NSTUB(ExitFromCompensationEVF               ,0xff825464) //104            == 0xff825464
93//NSTUB(ExitTask                              ,0xff81b23c) //101            == 0xff81b23c
94//NSTUB(ExpCtrlTool_StartContiAE              ,0xff82ff40) //104            == 0xff82ff40
95//NSTUB(ExpCtrlTool_StopContiAE               ,0xff830084) //104            == 0xff830084
96//NSTUB(Fclose_Fut                            ,0xff8236c0) //101            == 0xff8236c0
97//NSTUB(Feof_Fut                              ,0xff8238ac) //  1            == 0xff8238ac
98//NSTUB(Fflush_Fut                            ,0xff8238e8) //  1            == 0xff8238e8
99//NSTUB(Fgets_Fut                             ,0xff823814) //  1            == 0xff823814
100//NSTUB(Fopen_Fut                             ,0xff823680) //101            == 0xff823680
101//NSTUB(Fread_Fut                             ,0xff82376c) //101            == 0xff82376c
102//NSTUB(FreeMemory                            ,0xffa3df38) //101            == 0xffa3df38
103//NSTUB(FreeUncacheableMemory                 ,0xff827488) //112            == 0xff827488
104//NSTUB(Fseek_Fut                             ,0xff823860) //101            == 0xff823860
105//NSTUB(Fwrite_Fut                            ,0xff8237c0) //101            == 0xff8237c0
106//NSTUB(GetBatteryTemperature                 ,0xff845f30) //102            == 0xff845f30
107//NSTUB(GetCCDTemperature                     ,0xff845ebc) //102            == 0xff845ebc
108//NSTUB(GetCurrentAvValue                     ,0xff913380) //102            == 0xff913380
109//NSTUB(GetDrive_ClusterSize                  ,0xff8523e8) //  5            == 0xff8523e8
110//NSTUB(GetDrive_FreeClusters                 ,0xff852440) //  5            == 0xff852440
111//NSTUB(GetDrive_TotalClusters                ,0xff852414) //  5            == 0xff852414
112//NSTUB(GetFocusLensSubjectDistance           ,0xff912430) //102            == 0xff912430
113//NSTUB(GetFocusLensSubjectDistanceFromLens   ,0xff91280c) //  3            == 0xff91280c
114//NSTUB(GetKbdState                           ,0xff8431ec) //109            == 0xff8431ec
115//NSTUB(GetMemInfo                            ,0xff813be4) //  1            == 0xff813be4
116//NSTUB(GetOpticalTemperature                 ,0xff845fa4) //102            == 0xff845fa4
117//NSTUB(GetParameterData                      ,0xff94532c) //101            == 0xff94532c
118//NSTUB(GetPropertyCase                       ,0xff86e284) //102            == 0xff86e284
119//NSTUB(GetSystemTime                         ,0xffa3df98) //101            == 0xffa3df98
120//NSTUB(GetZoomLensCurrentPoint               ,0xff916a6c) //102            == 0xff916a6c
121//NSTUB(GetZoomLensCurrentPosition            ,0xffa31828) //102            == 0xffa31828
122//NSTUB(GiveSemaphore                         ,0xff826e64) //112            == 0xff826e64
123//NSTUB(IsStrobeChargeCompleted               ,0xff8a35c8) //102            == 0xff8a35c8
124//NSTUB(LEDDrive                              ,0xff842698) //103            == 0xff842698
125//NSTUB(LocalTime                             ,0xff867f08) //  1            == 0xff867f08
126//NSTUB(LockMainPower                         ,0xff874304) //103            == 0xff874304
127//NSTUB(Lseek                                 ,0xff823dd8) //101            == 0xff823dd8
128//NSTUB(MakeDirectory_Fut                     ,0xff8235b8) //  1            == 0xff8235b8
129//NSTUB(MoveFocusLensToDistance               ,0xffa94764) //102            == 0xffa94764
130//NSTUB(MoveIrisWithAv                        ,0xffa3c098) //102            == 0xffa3c098
131//NSTUB(MoveZoomLensWithPoint                 ,0xffa3c624) //102            == 0xffa3c624
132//NSTUB(NewTaskShell                          ,0xff86dd28) //103            == 0xff86dd28
133//NSTUB(Open                                  ,0xff823c70) //101            == 0xff823c70
134//NSTUB(PB2Rec                                ,0xff8772bc) //104            == 0xff8772bc
135//NSTUB(PT_MoveDigitalZoomToWide              ,0xff85b138) //102            == 0xff85b138
136//NSTUB(PT_MoveOpticalZoomAt                  ,0xff85b110) //102            == 0xff85b110
137//NSTUB(PT_PlaySound                          ,0xff85ad20) //102            == 0xff85ad20
138//NSTUB(PostLogicalEventForNotPowerType       ,0xff87392c) //103            == 0xff87392c
139//NSTUB(PostLogicalEventToUI                  ,0xff873978) //103            == 0xff873978
140//NSTUB(PutInNdFilter                         ,0xffa3c488) //102            == 0xffa3c488
141//NSTUB(PutOutNdFilter                        ,0xffa3c4ac) //102            == 0xffa3c4ac
142//NSTUB(Read                                  ,0xff819ae4) //101            == 0xff819ae4
143//NSTUB(ReadFastDir                           ,0xffa1fd78) //  1            == 0xffa1fd78
144//NSTUB(Rec2PB                                ,0xff8772fc) //104            == 0xff8772fc
145//NSTUB(RefreshPhysicalScreen                 ,0xff99cf18) //104            == 0xff99cf18
146//NSTUB(Remove                                ,0xff823ce0) //  1            == 0xff823ce0
147//NSTUB(RenameFile_Fut                        ,0xff8234f0) //  1            == 0xff8234f0
148//NSTUB(Restart                               ,0xff828b98) //106            == 0xff828b98
149//NSTUB(SetAE_ShutterSpeed                    ,0xffa96f44) //102            == 0xffa96f44
150//NSTUB(SetAutoShutdownTime                   ,0xff874378) //103            == 0xff874378
151//NSTUB(SetCurrentCaptureModeType             ,0xff87b2c0) //101            == 0xff87b2c0
152//NSTUB(SetFileTimeStamp                      ,0xff823f74) //  1            == 0xff823f74
153//NSTUB(SetLogicalEventActive                 ,0xff874080) //101            == 0xff874080
154//NSTUB(SetParameterData                      ,0xff94529c) //101            == 0xff94529c
155//NSTUB(SetPropertyCase                       ,0xff86e17c) //102            == 0xff86e17c
156//NSTUB(SetScriptMode                         ,0xff8740d0) //101            == 0xff8740d0
157//NSTUB(SleepTask                             ,0xff8270cc) //101            == 0xff8270cc
158//NSTUB(TakeSemaphore                         ,0xff826d94) //101            == 0xff826d94
159//NSTUB(TurnOffBackLight                      ,0xff8810a0) //104            == 0xff8810a0
160//NSTUB(TurnOnBackLight                       ,0xff881088) //104            == 0xff881088
161//NSTUB(UIFS_WriteFirmInfoToFile              ,0xff931e7c) //101            == 0xff931e7c
162//NSTUB(UnlockAF                              ,0xff82536c) //102            == 0xff82536c
163//NSTUB(UnlockMainPower                       ,0xff874258) //103            == 0xff874258
164//NSTUB(UnsetZoomForMovie                     ,0xff94afc4) //104            == 0xff94afc4
165//NSTUB(UpdateMBROnFlash                      ,0xff852240) //  3            == 0xff852240
166//NSTUB(VbattGet                              ,0xff820644) //103            == 0xff820644
167//NSTUB(Write                                 ,0xff823d44) //101            == 0xff823d44
168//NSTUB(WriteSDCard                           ,0xff903b38) //108            == 0xff903b38
169//NSTUB(_log                                  ,0xffac9564) //111            == 0xffac9564
170//NSTUB(_log10                                ,0xffac81f0) //112            == 0xffac81f0
171//NSTUB(_pow                                  ,0xffac8360) //114            == 0xffac8360
172//NSTUB(_sqrt                                 ,0xffacb108) //  1            == 0xffacb108
173//NSTUB(add_ptp_handler                       ,0xff9eabc0) //  3            == 0xff9eabc0
174//NSTUB(apex2us                               ,0xff9a010c) //  4            == 0xff9a010c
175//NSTUB(close                                 ,0xff8198fc) //  1            == 0xff8198fc
176//NSTUB(closedir                              ,0xffa1fe48) //  1            == 0xffa1fe48
177//NSTUB(err_init_task                         ,0xff814e2c) //  4            == 0xff814e2c
178//NSTUB(exmem_alloc                           ,0xff868dc8) //103            == 0xff868dc8
179//NSTUB(free                                  ,0xff813a3c) //112            == 0xff813a3c
180//NSTUB(kbd_p1_f                              ,0xff821e48) //109            == 0xff821e48
181//NSTUB(kbd_p1_f_cont                         ,0xff821e54) //109            == 0xff821e54
182//NSTUB(kbd_p2_f                              ,0xff82170c) //109            == 0xff82170c
183//NSTUB(kbd_read_keys                         ,0xff821dcc) //109            == 0xff821dcc
184//NSTUB(kbd_read_keys_r2                      ,0xff842b6c) //109            == 0xff842b6c
185//NSTUB(lseek                                 ,0xff823dd8) //101            == 0xff823dd8
186//NSTUB(malloc                                ,0xff813968) //112            == 0xff813968
187//NSTUB(memcmp                                ,0xff81cc5c) //101            == 0xff81cc5c
188//NSTUB(memcpy                                ,0xff887900) //101            == 0xff887900
189//NSTUB(memset                                ,0xff99f3f4) //101            == 0xff99f3f4
190//NSTUB(mkdir                                 ,0xff82403c) //  1            == 0xff82403c
191// ALT: NSTUB(mkdir, 0xff8240dc) // 1 32/0
192//NSTUB(mktime_ext                            ,0xff88816c) //  1            == 0xff88816c
193//NSTUB(open                                  ,0xff81984c) //  1            == 0xff81984c
194//NSTUB(opendir                               ,0xffa1fce4) //  1            == 0xffa1fce4
195//NSTUB(openfastdir                           ,0xffa1fce4) //  1            == 0xffa1fce4
196//NSTUB(qsort                                 ,0xffa79a30) //  1            == 0xffa79a30
197//NSTUB(rand                                  ,0xff81cd64) //  1            == 0xff81cd64
198//NSTUB(read                                  ,0xff819ae4) //101            == 0xff819ae4
199//NSTUB(readfastdir                           ,0xffa1fd78) //  1            == 0xffa1fd78
200//NSTUB(reboot_fw_update                      ,0xffa27428) //  5            == 0xffa27428
201//NSTUB(rename                                ,0xff8234f0) //  1            == 0xff8234f0
202//NSTUB(set_control_event                     ,0xff873db4) //111            == 0xff873db4
203//NSTUB(srand                                 ,0xff81cd58) //  1            == 0xff81cd58
204//NSTUB(stat                                  ,0xff823ea4) //  1            == 0xff823ea4
205//NSTUB(strcat                                ,0xff887714) //  1            == 0xff887714
206//NSTUB(strchr                                ,0xff88779c) //  1            == 0xff88779c
207//NSTUB(strcmp                                ,0xff81cbf4) //101            == 0xff81cbf4
208//NSTUB(strcpy                                ,0xff81cbdc) //101            == 0xff81cbdc
209//NSTUB(strftime                              ,0xff887b74) //  1            == 0xff887b74
210//NSTUB(strlen                                ,0xff81cc38) //101            == 0xff81cc38
211//NSTUB(strncmp                               ,0xff887750) //  1            == 0xff887750
212//NSTUB(strncpy                               ,0xff82cd3c) //  1            == 0xff82cd3c
213//NSTUB(strrchr                               ,0xff99f3cc) //  1            == 0xff99f3cc
214//NSTUB(strtol                                ,0xff82cf74) //101            == 0xff82cf74
215//NSTUB(strtolx                               ,0xff82cd78) //109            == 0xff82cd78
216  DEF(task_CaptSeq                            ,0xff85d754) //107
217  DEF(task_ExpDrv                             ,0xff899cc4) //110
218  DEF(task_InitFileModules                    ,0xff877dd0) //107
219  DEF(task_MovieRecord                        ,0xff91a6ac) //107
220  DEF(task_PhySw                              ,0xff821a3c) //107
221//NSTUB(time                                  ,0xff868480) //  2            == 0xff868480
222//NSTUB(vsprintf                              ,0xff81cba0) //  1            == 0xff81cba0
223//NSTUB(write                                 ,0xff823d44) //101            == 0xff823d44
Note: See TracBrowser for help on using the browser.