source: trunk/platform/ixus970_sd890/sub/100b/stubs_entry.S @ 1385

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

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 R23 (DRYOS version 2.3, release #0023)
6//   Firmware Ver GM1.00B
7//   Canon DIGITAL IXUS 970 IS
8//   PLATFORMID = 12659 (0x3173)
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(DebugAssert                           ,0xff81bcf0) //111        *** != 0xff81bcf8
14//NSTUB(PutInNdFilter                         ,0xffa2ac20) //102        *** != 0xffa838f8
15//NSTUB(PutOutNdFilter                        ,0xffa2ac44) //102        *** != 0xffa8392c
16//NSTUB(rename                                ,0xff8235e8) //  1        *** != 0xff823e64
17//NSTUB(write                                 ,0xff823e3c) //101        *** != 0xff81a0f4
18
19// Check of modemap from 'platform/CAMERA/shooting.c':
20// Firmware modemap table found @ff8790f8 -> ff87589c -> ff95c8b8 -> ffa3eec8 -> ffaf9460
21// No problems found with modemap table.
22
23// Values below go in 'stubs_min.S':
24//DEF(physw_status                            ,0x00010650) // Found @0xff821e38,          stubs_min = 0x00010650 (0x10650)
25//DEF(physw_run                               ,0x00001c00) // Found @0xff821ad0,          stubs_min = 0x00001c00 (0x1BF4+0xC)
26//DEF(levent_table                            ,0xffad3fcc) // Found @0xffad3fcc,          stubs_min = 0xffad3fcc (0xFFAD3FCC)
27//DEF(FlashParamsTable                        ,0xffaf9620) // Found @0xffaf9620,          stubs_min = 0xffaf9620 (0xFFAF9620)
28//DEF(movie_status                            ,0x000053cc) // Found @0xff859d78,          stubs_min = 0x000053cc (0x5390+0x3C)
29//DEF(canon_menu_active                       ,0x000099e0) // Found @0xff950198,          stubs_min = 0x000099e0 (0x99DC+4)
30//DEF(canon_shoot_menu_active                 ,0x00009fd9) // Found @0xff96cd70,          stubs_min = 0x00009fd9 (0x9FD8+1)
31//DEF(playrec_mode                            ,0x0000555c) // Found @0xff861170,          stubs_min = 0x0000555c (0x5558+0x4)
32//DEF(zoom_status                             ,0x0000d4a4) // Found @0xffa406c8,          stubs_min = 0x0000d4a4 (0xD4A4)
33//DEF(some_flag_for_af_scan                   ,0x0000d228) // Found @0xffa2b598,          stubs_min = 0x0000d228 (0xD228)
34
35// Values below go in 'lib.c':
36//void *vid_get_bitmap_fb()        { return (void*)0x10361000; } // Found @0xff83e8a0
37//void *vid_get_viewport_fb()      { return (void*)0x1065adc0; } // Found @0xffa88afc
38//char *camera_jpeg_count_str()    { return (char*)0x0004ca80; } // Found @0xff9a6fdc
39//long hook_raw_size()             { return 0x00ec04f0; }        // Found @0xffa8ad80
40//int get_flash_params_count(void) { return 0x73; }              // Found @0xff95d974
41
42// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
43//#define SD_READONLY_FLAG    0x00020000 // Found @0xffab1630, levent 0x90a
44//#define SD_READONLY_IDX     2
45//#define USB_FLAG            0x00040000 // Found @0xffab163c, levent 0x902
46//#define USB_IDX             2
47
48// Keymap values for kbd.c. Additional keys may be present, only common values included here.
49//static KeyMap keymap[] = {
50//    { 2, KEY_SHOOT_HALF  ,0x00000001 }, // Found @0xffab1588, levent 0x00
51//    { 2, KEY_SHOOT_FULL  ,0x00000003 }, // Found @0xffab1594, levent 0x01
52//    { 2, KEY_ZOOM_IN     ,0x00000004 }, // Found @0xffab15a0, levent 0x02
53//    { 2, KEY_ZOOM_OUT    ,0x00000008 }, // Found @0xffab15ac, levent 0x03
54//    { 2, KEY_LEFT        ,0x00000010 }, // Found @0xffab15b8, levent 0x06
55//    { 2, KEY_RIGHT       ,0x00000020 }, // Found @0xffab15c4, levent 0x07
56//    { 2, KEY_DOWN        ,0x00000040 }, // Found @0xffab15d0, levent 0x05
57//    { 2, KEY_UP          ,0x00000080 }, // Found @0xffab15dc, levent 0x04
58//    { 2, KEY_SET         ,0x00000100 }, // Found @0xffab15e8, levent 0x08
59//    { 2, KEY_DISPLAY     ,0x00000200 }, // Found @0xffab15f4, levent 0x0a
60//    { 2, KEY_MENU        ,0x00000400 }, // Found @0xffab1600, levent 0x09
61//    { 0, 0, 0 }
62//};
63
64// Values below go in 'platform_camera.h':
65//#define CAM_DRYOS         1
66//#define CAM_RAW_ROWPIX    3720 // Found @0xffa8251c
67//#define CAM_RAW_ROWS      2772 // Found @0xffa82524
68//#undef  CAM_UNCACHED_BIT
69//#define CAM_UNCACHED_BIT  0x10000000 // Found @0xff8285a8
70
71// Stubs below matched 100%.
72//    Name                                     Address                Comp to stubs_entry_2.S
73NSTUB(AllocateMemory                          ,0xffa2e430) //101
74NSTUB(AllocateUncacheableMemory               ,0xff82856c) //112
75NSTUB(Close                                   ,0xff823d90) //101
76NSTUB(CreateTask                              ,0xff81b818) //101
77NSTUB(DeleteFile_Fut                          ,0xff82363c) //112
78//NSTUB(DoAFLock                              ,0xff825b88) //102            == 0xff825b88
79NSTUB(EnterToCompensationEVF                  ,0xff825e84) //104
80NSTUB(ExecuteEventProcedure                   ,0xff869408) //  1
81NSTUB(ExitFromCompensationEVF                 ,0xff825ed4) //104
82NSTUB(ExitTask                                ,0xff81baa8) //101
83NSTUB(ExpCtrlTool_StartContiAE                ,0xff832b04) //104
84NSTUB(ExpCtrlTool_StopContiAE                 ,0xff832c48) //104
85NSTUB(Fclose_Fut                              ,0xff8237b8) //101
86NSTUB(Feof_Fut                                ,0xff8239a4) //  1
87NSTUB(Fflush_Fut                              ,0xff8239e0) //  1
88NSTUB(Fgets_Fut                               ,0xff82390c) //  1
89NSTUB(Fopen_Fut                               ,0xff823778) //101
90NSTUB(Fread_Fut                               ,0xff823864) //101
91NSTUB(FreeMemory                              ,0xffa2e428) //101
92NSTUB(FreeUncacheableMemory                   ,0xff8285a0) //112
93NSTUB(Fseek_Fut                               ,0xff823958) //101
94NSTUB(Fwrite_Fut                              ,0xff8238b8) //101
95NSTUB(GetBatteryTemperature                   ,0xff8453a0) //102
96NSTUB(GetCCDTemperature                       ,0xff845330) //102
97NSTUB(GetCurrentAvValue                       ,0xff92fb48) //102
98NSTUB(GetDrive_ClusterSize                    ,0xff84f2c0) //  1
99NSTUB(GetDrive_FreeClusters                   ,0xff84f328) //  1
100NSTUB(GetDrive_TotalClusters                  ,0xff84f2f4) //  1
101NSTUB(GetFocusLensSubjectDistance             ,0xff92ec40) //102
102NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff92ef4c) //  1
103NSTUB(GetKbdState                             ,0xff8428e8) //109
104NSTUB(GetMemInfo                              ,0xff813c40) //  1
105NSTUB(GetOpticalTemperature                   ,0xff845410) //102
106NSTUB(GetParameterData                        ,0xff95d934) //101
107NSTUB(GetPropertyCase                         ,0xff86d008) //102
108NSTUB(GetSystemTime                           ,0xffa2e488) //101
109NSTUB(GetZoomLensCurrentPoint                 ,0xff932dec) //102
110NSTUB(GetZoomLensCurrentPosition              ,0xffa244d8) //102
111NSTUB(GiveSemaphore                           ,0xff81b77c) //112
112NSTUB(IsStrobeChargeCompleted                 ,0xff8bda04) //102
113//NSTUB(LEDDrive                              ,0xff84206c) //103            == 0xff84206c
114NSTUB(LocalTime                               ,0xff866acc) //  1
115NSTUB(LockMainPower                           ,0xff8754b4) //103
116NSTUB(Lseek                                   ,0xff823ed0) //101
117NSTUB(MakeDirectory_Fut                       ,0xff8236b0) //  1
118NSTUB(MoveFocusLensToDistance                 ,0xffa85638) //102
119NSTUB(MoveIrisWithAv                          ,0xffa2a838) //102
120NSTUB(MoveZoomLensWithPoint                   ,0xffa2adbc) //102
121NSTUB(NewTaskShell                            ,0xff86cacc) //103
122NSTUB(Open                                    ,0xff823d68) //101
123//NSTUB(PB2Rec                                ,0xff8784d0) //104            == 0xff8784d0
124NSTUB(PT_MoveDigitalZoomToWide                ,0xff85bbe4) //102
125NSTUB(PT_MoveOpticalZoomAt                    ,0xff85bbbc) //102
126NSTUB(PT_PlaySound                            ,0xff85b240) //102
127//NSTUB(PostLogicalEventForNotPowerType       ,0xff873274) //103            == 0xff873274
128//NSTUB(PostLogicalEventToUI                  ,0xff8732c0) //103            == 0xff8732c0
129NSTUB(Read                                    ,0xff81a094) //101
130NSTUB(ReadFastDir                             ,0xffa13500) //  1
131//NSTUB(Rec2PB                                ,0xff876ed4) //104            == 0xff876ed4
132NSTUB(RefreshPhysicalScreen                   ,0xff9b12e8) //104
133NSTUB(Remove                                  ,0xff823dd8) //  1
134NSTUB(RenameFile_Fut                          ,0xff8235e8) //  1
135NSTUB(Restart                                 ,0xff829de4) //106
136NSTUB(SetAE_ShutterSpeed                      ,0xffa87d0c) //102
137NSTUB(SetAutoShutdownTime                     ,0xff875528) //103
138NSTUB(SetCurrentCaptureModeType               ,0xff87c334) //101
139NSTUB(SetFileTimeStamp                        ,0xff82406c) //  1
140NSTUB(SetLogicalEventActive                   ,0xff875194) //  1
141NSTUB(SetParameterData                        ,0xff95d8a4) //101
142NSTUB(SetPropertyCase                         ,0xff86cf08) //102
143//NSTUB(SetScriptMode                         ,0xff8751e4) //101            == 0xff8751e4
144NSTUB(SleepTask                               ,0xff8283f0) //101
145NSTUB(TakeSemaphore                           ,0xff81b6ac) //101
146NSTUB(TurnOffBackLight                        ,0xff881d28) //104
147NSTUB(TurnOnBackLight                         ,0xff881d10) //104
148NSTUB(UIFS_WriteFirmInfoToFile                ,0xff9510f4) //103
149//NSTUB(UnlockAF                              ,0xff825bcc) //102            == 0xff825bcc
150NSTUB(UnlockMainPower                         ,0xff875408) //103
151//NSTUB(UnsetZoomForMovie                     ,0xff962ed0) //104            == 0xff962ed0
152NSTUB(UpdateMBROnFlash                        ,0xff84f100) //  1
153NSTUB(VbattGet                                ,0xff82071c) //103
154NSTUB(Write                                   ,0xff823e3c) //101
155//NSTUB(WriteSDCard                           ,0xff9227e0) //108            == 0xff9227e0
156NSTUB(_log                                    ,0xffaaebb8) //111
157NSTUB(_log10                                  ,0xffaadafc) //112
158NSTUB(_pow                                    ,0xffaadc6c) //114
159NSTUB(_sqrt                                   ,0xffaaffd8) //  1
160NSTUB(add_ptp_handler                         ,0xff9e1b24) //  1
161//NSTUB(apex2us                               ,0xff9b2824) //  4            == 0xff9b2824
162NSTUB(close                                   ,0xff819eac) //  1
163NSTUB(closedir                                ,0xffa135d0) //  1
164NSTUB(err_init_task                           ,0xff814e98) //  4
165NSTUB(exmem_alloc                             ,0xff867bf0) //103
166NSTUB(free                                    ,0xff813a98) //112
167NSTUB(kbd_p1_f                                ,0xff821f3c) //109
168NSTUB(kbd_p1_f_cont                           ,0xff821f48) //109
169NSTUB(kbd_p2_f                                ,0xff821770) //109
170NSTUB(kbd_pwr_off                             ,0xff84296c) //  2
171NSTUB(kbd_pwr_on                              ,0xff84291c) //  2
172NSTUB(kbd_read_keys                           ,0xff821e38) //109
173NSTUB(kbd_read_keys_r2                        ,0xff842494) //109
174NSTUB(lseek                                   ,0xff823ed0) //101
175NSTUB(malloc                                  ,0xff8139c4) //112
176NSTUB(memcmp                                  ,0xff81d844) //101
177NSTUB(memcpy                                  ,0xff8943a4) //101
178NSTUB(memset                                  ,0xff9b169c) //101
179NSTUB(mkdir                                   ,0xff824134) //  1
180// ALT: NSTUB(mkdir, 0xff8241d4) // 1 32/0
181NSTUB(mktime_ext                              ,0xff894c10) //  1
182NSTUB(open                                    ,0xff819dfc) //  1
183NSTUB(opendir                                 ,0xffa1346c) //  1
184NSTUB(openfastdir                             ,0xffa1346c) //  1
185NSTUB(qsort                                   ,0xff9b1ba4) //  1
186NSTUB(rand                                    ,0xff81d94c) //  1
187NSTUB(read                                    ,0xff81a094) //101
188NSTUB(readfastdir                             ,0xffa13500) //  1
189NSTUB(reboot_fw_update                        ,0xffa1af00) //  5
190NSTUB(set_control_event                       ,0xff874e10) //  1
191NSTUB(srand                                   ,0xff81d940) //  1
192NSTUB(stat                                    ,0xff823f9c) //  1
193NSTUB(strcat                                  ,0xff894190) //  1
194NSTUB(strchr                                  ,0xff894218) //  1
195NSTUB(strcmp                                  ,0xff81d7dc) //101
196NSTUB(strcpy                                  ,0xff81d7c4) //101
197NSTUB(strftime                                ,0xff894618) //  1
198NSTUB(strlen                                  ,0xff81d820) //101
199NSTUB(strncmp                                 ,0xff8941cc) //  1
200NSTUB(strncpy                                 ,0xff82e200) //  1
201//NSTUB(strrchr                               ,0xff89423c) //  1            == 0xff89423c
202NSTUB(strtol                                  ,0xff82e438) //101
203NSTUB(strtolx                                 ,0xff82e23c) //109
204  DEF(task_CaptSeq                            ,0xff85e03c) //107
205  DEF(task_ExpDrv                             ,0xff8b6864) //110
206  DEF(task_InitFileModules                    ,0xff878f84) //107
207  DEF(task_MovieRecord                        ,0xff85a004) //107
208  DEF(task_PhySw                              ,0xff821acc) //107
209NSTUB(time                                    ,0xff866fd0) //  2
210NSTUB(vsprintf                                ,0xff81d744) //  1
Note: See TracBrowser for help on using the repository browser.