source: trunk/platform/ixus980_sd990/sub/100e/stubs_entry.S @ 1641

Revision 1641, 13.9 KB checked in by philmoz, 16 months ago (diff)

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

  • 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.00E
7//   Canon DIGITAL IXUS 980 IS
8
9// Values for makefile.inc
10//   PLATFORMID = 12691 (0x3193) // Found @ 0xfffe0130
11//   MAXRAMADDR = 0x07ffffff
12//   KEYSYS = d4                 // Found @ 0xffff363c
13//   NEED_ENCODED_DISKBOOT = 1   // Found @ 0xffff364c
14
15// Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
16//    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
17//NSTUB(DoAFLock                              ,0xff8258d0) //102        *** != 0xff863a80
18//NSTUB(UnlockAF                              ,0xff825908) //102        *** != 0xff863a90
19//NSTUB(kbd_pwr_off                           ,0xff84a3a8) //  2 64%    *** != 0x00000000
20// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0x00000000
21
22// Check of modemap from 'platform/CAMERA/shooting.c':
23// Firmware modemap table found @ff8816a8 -> ff87de64 -> ff961a3c -> ffa58654 -> ffb49820
24// No problems found with modemap table.
25
26// Values below can be overridden in 'stubs_min.S':
27DEF(physw_status                            ,0x00011318) // Found @0xff821c24
28DEF(physw_run                               ,0x00001c28) // Found @0xff821898
29DEF(levent_table                            ,0xffb198b0) // Found @0xffb198b0
30DEF(FlashParamsTable                        ,0xffb499f4) // Found @0xffb499f4
31DEF(movie_status                            ,0x000053dc) // Found @0xff861ed0
32DEF(canon_menu_active                       ,0x00005830) // Found @0xff876e48
33DEF(canon_shoot_menu_active                 ,0x0000a351) // Found @0xff973b2c
34DEF(playrec_mode                            ,0x00005594) // Found @0xff869e90
35DEF(zoom_status                             ,0x0000d890) // Found @0xffa59e68
36DEF(some_flag_for_af_scan                   ,0x000093e0) // Found @0xff93be2c
37// focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c).
38// each entry contains 3 int value(s), the first is the zoom focus length.
39// there are 8 entries in the table - set NUM_FL to 8
40DEF(focus_len_table                         ,0xfffe2a8c) // Found @0xfffe2a8c
41DEF(zoom_busy                               ,0x00008a1c) // Found @0xff93378c
42DEF(focus_busy                              ,0x00008914) // Found @0xff92e770
43//DEF(recreview_hold                          ,0x000061b8) // Found @0xff887648, ** != ** stubs_min = 0x0000a0a0 (0xA0A0)
44
45// Values below go in 'lib.c':
46//void *vid_get_bitmap_fb()        { return (void*)0x40471000; }             // Found @0xff845f24
47//void *vid_get_viewport_fb()      { return (void*)0x407f6dc0; }             // Found @0xffaadbb8
48//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x5210+0x58)); } // Found @0xff85af1c & 0xff85af54
49//char *camera_jpeg_count_str()    { return (char*)0x0004af18; }             // Found @0xff9b957c
50//long hook_raw_size()             { return 0x01574d00; }                    // Found @0xffaaff70
51//int get_flash_params_count(void) { return 0x78; }                          // Found @0xff962af8
52
53// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
54//#define SD_READONLY_FLAG    0x00020000 // Found @0xffae86d0, levent 0x90a
55//#define SD_READONLY_IDX     2
56//#define USB_MASK            0x00040000 // Found @0xffae86dc, levent 0x902
57//#define USB_IDX             2
58
59// Keymap values for kbd.c. Additional keys may be present, only common values included here.
60//static KeyMap keymap[] = {
61//    { 2, KEY_ZOOM_IN         ,0x00000004 }, // Found @0xffae8640, levent 0x02
62//    { 2, KEY_ZOOM_OUT        ,0x00000008 }, // Found @0xffae864c, levent 0x03
63//    { 2, KEY_LEFT            ,0x00000010 }, // Found @0xffae8658, levent 0x06
64//    { 2, KEY_RIGHT           ,0x00000020 }, // Found @0xffae8664, levent 0x07
65//    { 2, KEY_DOWN            ,0x00000040 }, // Found @0xffae8670, levent 0x05
66//    { 2, KEY_UP              ,0x00000080 }, // Found @0xffae867c, levent 0x04
67//    { 2, KEY_SET             ,0x00000100 }, // Found @0xffae8688, levent 0x08
68//    { 2, KEY_DISPLAY         ,0x00000200 }, // Found @0xffae8694, levent 0x0a
69//    { 2, KEY_SHOOT_FULL      ,0x00000003 }, // Found @0xffae8634, levent 0x01
70//    { 2, KEY_SHOOT_FULL_ONLY ,0x00000002 }, // Found @0xffae8634, levent 0x01
71//    { 2, KEY_MENU            ,0x00000400 }, // Found @0xffae86a0, levent 0x09
72//    { 2, KEY_SHOOT_HALF      ,0x00000001 }, // Found @0xffae8628, levent 0x00
73//    { 0, 0, 0 }
74//};
75
76// Values below go in 'platform_camera.h':
77//#define CAM_DRYOS         1
78//#define CAM_RAW_ROWPIX    4480 // Found @0xffaa6e8c
79//#define CAM_RAW_ROWS      3348 // Found @0xffaa6e90
80//#undef  CAM_UNCACHED_BIT
81//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff827f80
82
83// Misc stuff
84DEF(ctypes, 0xffae283e)
85
86// For capt_seq.c
87//static long *nrflag = (long*)(0x93cc-0x04);  // Found @ ff93de40 & ff93de58
88
89// Stubs below matched 100%.
90//    Name                                     Address                Comp to stubs_entry_2.S
91NSTUB(AllocateMemory                          ,0xffa49a40) //101
92NSTUB(AllocateUncacheableMemory               ,0xff827f3c) //112
93NSTUB(Close                                   ,0xff823b74) //101
94NSTUB(CreateTask                              ,0xff81aef4) //101
95NSTUB(DebugAssert                             ,0xff81b1cc) //111
96NSTUB(DeleteDirectory_Fut                     ,0xff823504) //  1
97NSTUB(DeleteFile_Fut                          ,0xff823420) //112
98NSTUB(EnterToCompensationEVF                  ,0xff825b7c) //104
99NSTUB(ExecuteEventProcedure                   ,0xff872670) //  1
100NSTUB(ExitFromCompensationEVF                 ,0xff825bc0) //104
101NSTUB(ExitTask                                ,0xff81b184) //101
102NSTUB(ExpCtrlTool_StartContiAE                ,0xff8310e4) //104
103NSTUB(ExpCtrlTool_StopContiAE                 ,0xff831228) //104
104NSTUB(Fclose_Fut                              ,0xff82359c) //101
105NSTUB(Feof_Fut                                ,0xff823788) //  1
106NSTUB(Fflush_Fut                              ,0xff8237c4) //  1
107NSTUB(Fgets_Fut                               ,0xff8236f0) //  1
108NSTUB(Fopen_Fut                               ,0xff82355c) //101
109NSTUB(Fread_Fut                               ,0xff823648) //101
110NSTUB(FreeMemory                              ,0xffa49a38) //101
111NSTUB(FreeUncacheableMemory                   ,0xff827f7c) //112
112NSTUB(Fseek_Fut                               ,0xff82373c) //101
113NSTUB(Fwrite_Fut                              ,0xff82369c) //101
114NSTUB(GetBatteryTemperature                   ,0xff84ce3c) //102
115NSTUB(GetCCDTemperature                       ,0xff84cdcc) //102
116NSTUB(GetCurrentAvValue                       ,0xff9303b0) //102
117NSTUB(GetDrive_ClusterSize                    ,0xff859648) //  1
118NSTUB(GetDrive_FreeClusters                   ,0xff8596b0) //  1
119NSTUB(GetDrive_TotalClusters                  ,0xff85967c) //  1
120NSTUB(GetFocusLensSubjectDistance             ,0xff92f474) //102
121NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff92f85c) //  3
122NSTUB(GetKbdState                             ,0xff84a390) //109
123NSTUB(GetMemInfo                              ,0xff813c24) //  1
124NSTUB(GetOpticalTemperature                   ,0xff84ceac) //102
125NSTUB(GetParameterData                        ,0xff962ab8) //101
126NSTUB(GetPropertyCase                         ,0xff876358) //102
127NSTUB(GetSystemTime                           ,0xffa49a98) //101
128NSTUB(GetZoomLensCurrentPoint                 ,0xff933afc) //102
129NSTUB(GetZoomLensCurrentPosition              ,0xffa4059c) //102
130NSTUB(GiveSemaphore                           ,0xff827958) //112
131NSTUB(IsStrobeChargeCompleted                 ,0xff8b0638) //102
132NSTUB(LEDDrive                                ,0xff849b2c) //103
133NSTUB(LocalTime                               ,0xff86fe0c) //  1
134NSTUB(LockMainPower                           ,0xff87da7c) //103
135NSTUB(Lseek                                   ,0xff823cb4) //101
136NSTUB(MakeDirectory_Fut                       ,0xff823494) //  1
137NSTUB(MoveFocusLensToDistance                 ,0xffaaa5fc) //102
138NSTUB(MoveIrisWithAv                          ,0xffa46ae4) //102
139NSTUB(MoveZoomLensWithPoint                   ,0xffa4706c) //102
140NSTUB(NewTaskShell                            ,0xff875e00) //103
141NSTUB(Open                                    ,0xff823b4c) //101
142NSTUB(PB2Rec                                  ,0xff880ac0) //104
143NSTUB(PT_MoveDigitalZoomToWide                ,0xff863a48) //102
144NSTUB(PT_MoveOpticalZoomAt                    ,0xff863a20) //102
145NSTUB(PT_PlaySound                            ,0xff863398) //102
146NSTUB(PostLogicalEventForNotPowerType         ,0xff87b858) //103
147NSTUB(PostLogicalEventToUI                    ,0xff87b8a4) //103
148NSTUB(PutInNdFilter                           ,0xffa46ed0) //102
149NSTUB(PutOutNdFilter                          ,0xffa46ef4) //102
150NSTUB(Read                                    ,0xff819a4c) //101
151NSTUB(ReadFastDir                             ,0xffa2eb80) //  1
152NSTUB(Rec2PB                                  ,0xff87f458) //104
153NSTUB(RefreshPhysicalScreen                   ,0xff9c7c94) //104
154NSTUB(Remove                                  ,0xff823bbc) //  1
155NSTUB(RenameFile_Fut                          ,0xff8233cc) //  1
156NSTUB(Restart                                 ,0xff8297b0) //106
157NSTUB(SetAE_ShutterSpeed                      ,0xffaacdc8) //102
158NSTUB(SetAutoShutdownTime                     ,0xff87daf0) //103
159NSTUB(SetCurrentCaptureModeType               ,0xff884c28) //101
160NSTUB(SetFileAttributes                       ,0xff823ea0) //  1
161NSTUB(SetFileTimeStamp                        ,0xff823e50) //  1
162NSTUB(SetLogicalEventActive                   ,0xff87d7cc) //101
163NSTUB(SetParameterData                        ,0xff962a28) //101
164NSTUB(SetPropertyCase                         ,0xff876250) //102
165NSTUB(SetScriptMode                           ,0xff87d81c) //101
166NSTUB(SleepTask                               ,0xff827bc0) //101
167NSTUB(TakeSemaphore                           ,0xff827888) //101
168NSTUB(TurnOffBackLight                        ,0xff88aca0) //104
169NSTUB(TurnOnBackLight                         ,0xff88ac88) //104
170NSTUB(UIFS_WriteFirmInfoToFile                ,0xff953ba0) //101
171NSTUB(UnlockMainPower                         ,0xff87d9d0) //103
172NSTUB(UnsetZoomForMovie                       ,0xff9689ec) //104
173NSTUB(UpdateMBROnFlash                        ,0xff859488) //105
174NSTUB(VbattGet                                ,0xff820560) //103
175NSTUB(Write                                   ,0xff823c20) //101
176NSTUB(WriteSDCard                             ,0xff9210a4) //108
177NSTUB(_log                                    ,0xffadfabc) //111
178NSTUB(_log10                                  ,0xffade748) //112
179NSTUB(_pow                                    ,0xffade8b8) //114
180NSTUB(_sqrt                                   ,0xffae1718) //  1
181NSTUB(add_ptp_handler                         ,0xff9fbed8) //  3
182NSTUB(apex2us                                 ,0xff9c8cb0) //  4
183NSTUB(close                                   ,0xff819864) //  1
184NSTUB(closedir                                ,0xffa2ec50) //  1
185NSTUB(err_init_task                           ,0xff814e80) //  4
186NSTUB(exmem_alloc                             ,0xff870d4c) //103
187NSTUB(free                                    ,0xff813a7c) //112
188NSTUB(kbd_p1_f                                ,0xff821d20) //109
189NSTUB(kbd_p1_f_cont                           ,0xff821d2c) //109
190NSTUB(kbd_p2_f                                ,0xff821538) //109
191NSTUB(kbd_read_keys                           ,0xff821c24) //109
192NSTUB(kbd_read_keys_r2                        ,0xff849f24) //109
193NSTUB(lseek                                   ,0xff823cb4) //101
194NSTUB(malloc                                  ,0xff8139a8) //112
195NSTUB(memcmp                                  ,0xff81cba4) //101
196NSTUB(memcpy                                  ,0xff8977a4) //101
197NSTUB(memset                                  ,0xff9c7fe8) //101
198NSTUB(mkdir                                   ,0xff823f18) //  1
199// ALT: NSTUB(mkdir, 0xff823fb8) // 1 32/0
200NSTUB(mktime_ext                              ,0xff898010) //  1
201NSTUB(open                                    ,0xff8197b4) //  1
202NSTUB(opendir                                 ,0xffa2eaec) //  1
203NSTUB(openfastdir                             ,0xffa2eaec) //  1
204NSTUB(qsort                                   ,0xffa93dc0) //  1
205NSTUB(rand                                    ,0xff81ccac) //  1
206NSTUB(read                                    ,0xff819a4c) //101
207NSTUB(reboot_fw_update                        ,0xffa36580) //  5
208NSTUB(rename                                  ,0xff8233cc) //  1
209NSTUB(set_control_event                       ,0xff87d448) //  1
210NSTUB(srand                                   ,0xff81cca0) //  1
211NSTUB(stat                                    ,0xff823d80) //  1
212NSTUB(strcat                                  ,0xff8975b8) //  1
213NSTUB(strchr                                  ,0xff897640) //  1
214NSTUB(strcmp                                  ,0xff81cb3c) //101
215NSTUB(strcpy                                  ,0xff81cb24) //101
216NSTUB(strftime                                ,0xff897a18) //  1
217NSTUB(strlen                                  ,0xff81cb80) //101
218NSTUB(strncmp                                 ,0xff8975f4) //  1
219NSTUB(strncpy                                 ,0xff82da50) //  1
220NSTUB(strrchr                                 ,0xff9c7fc0) //  1
221NSTUB(strtol                                  ,0xff82dc88) //101
222NSTUB(strtolx                                 ,0xff82da8c) //109
223  DEF(task_CaptSeq                            ,0xff865f0c) //107
224  DEF(task_ExpDrv                             ,0xff8a9554) //110
225  DEF(task_InitFileModules                    ,0xff881534) //107
226  DEF(task_MovieRecord                        ,0xff862148) //107
227  DEF(task_PhySw                              ,0xff821894) //107
228NSTUB(time                                    ,0xff8703ec) //  2
229NSTUB(vsprintf                                ,0xff81cae8) //  1
230NSTUB(write                                   ,0xff823c20) //101
Note: See TracBrowser for help on using the repository browser.