source: trunk/platform/s90/sub/100c/stubs_entry.S @ 1385

Revision 1385, 13.9 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 R39 (DRYOS version 2.3, release #0039)
6//   Firmware Ver GM1.00C
7//   Could not find Camera name - possible corrupt firmware dump
8//   PLATFORMID = 0 (0x0000)
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
13NSTUB(GetBatteryTemperature                   ,0xff8615f0) //  2 68%
14NSTUB(GetCCDTemperature                       ,0xff86157c) //  2 62%
15NSTUB(GetCurrentAvValue                       ,0xff95a354) //  1 96%
16NSTUB(GetFocusLensSubjectDistance             ,0xff958928) //  1 93%
17//NSTUB(GetPropertyCase                       ,0xff88c960) //  5        *** != 0xff88ca64
18NSTUB(IsStrobeChargeCompleted                 ,0xff8d8710) //  1 96%
19NSTUB(MoveFocusLensToDistance                 ,0xffafbcf0) //  1 68%
20NSTUB(MoveZoomLensWithPoint                   ,0xffa9b1a8) //  1 71%
21NSTUB(PutInNdFilter                           ,0xffa9af98) //  4 75%
22NSTUB(PutOutNdFilter                          ,0xff8776f4) //  4 57%
23NSTUB(SetPropertyCase                         ,0xff88c960) //  1 96%
24//NSTUB(SetScriptMode                         ,0xff89441c) //101        *** != 0xff810f4c
25//NSTUB(kbd_pwr_off                           ,0xff85e3a4) //  2 60%    *** != 0xff810b04
26// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xff810b04
27//NSTUB(rename                                ,0xff834d0c) //  4        *** != 0xff8354f0
28//NSTUB(write                                 ,0xff8354a4) //101        *** != 0xff81abd8
29
30// Check of modemap from 'platform/CAMERA/shooting.c':
31// Firmware modemap table found @ff89845c -> ff894a60 -> ff9934bc -> ffaae880 -> ffbef980
32// No problems found with modemap table.
33
34// Values below go in 'stubs_min.S':
35//DEF(physw_status                            ,0x000330d8) // Found @0xff8335b4,          stubs_min = 0x000330d8 (0x330d8)
36//DEF(physw_run                               ,0x00001c44) // Found @0xff83320c,          stubs_min = 0x00001c44 (0x1C38+0x0C)
37//DEF(levent_table                            ,0xffb8b470) // Found @0xffb8b470,          stubs_min = 0xffb8b470 (0xFFB8B470)
38//DEF(FlashParamsTable                        ,0xffbefb70) // Found @0xffbefb70,          stubs_min = 0xffbefb70 (0xFFBEFB70)
39//DEF(movie_status                            ,0x00007ae8) // Found @0xff961448,          stubs_min = 0x00007ae8 (0x7ab0+0x38)
40//DEF(full_screen_refresh                     ,0x0000a36c) // Found @0xffa07d74
41//DEF(playrec_mode                            ,0x00002d64) // Found @0xff87f9e8,          stubs_min = 0x00002d64 (0x2d60+0x4)
42//DEF(zoom_status                             ,0x00008aa4) // Found @0xff99bb20,          stubs_min = 0x00008aa4 (0x8AA4)
43//DEF(some_flag_for_af_scan                   ,0x00007ff4) // Found @0xff9644d8,          stubs_min = 0x00007ff4 (0x7FF4)
44
45// Values below go in 'lib.c':
46//void *vid_get_viewport_fb()      { return (void*)0x407e8a00; } // Found @0xffaff2dc
47//long hook_raw_size()             { return 0x00ee9200; }        // Found @0xffb025a8
48//int get_flash_params_count(void) { return 0x85; }              // Found @0xff994abc
49
50// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
51//#define SD_READONLY_FLAG    0x00020000 // Found @0xffb3aa50, levent 0x90a
52//#define SD_READONLY_IDX     2
53//#define USB_FLAG            0x00200000 // Found @0xffb3aa68, levent 0x902
54//#define USB_IDX             2
55
56// Keymap values for kbd.c. Additional keys may be present, only common values included here.
57//static KeyMap keymap[] = {
58//    { 0, KEY_SHOOT_HALF  ,0x00000100 }, // Found @0xffb3a930, levent 0x00
59//    { 0, KEY_SHOOT_FULL  ,0x00000300 }, // Found @0xffb3a93c, levent 0x01
60//    { 1, KEY_ZOOM_IN     ,0x00000010 }, // Found @0xffb3a9b4, levent 0x02
61//    { 1, KEY_ZOOM_OUT    ,0x00000020 }, // Found @0xffb3a9c0, levent 0x03
62//    { 1, KEY_LEFT        ,0x00000100 }, // Found @0xffb3a9e4, levent 0x06
63//    { 1, KEY_RIGHT       ,0x00000200 }, // Found @0xffb3a9f0, levent 0x07
64//    { 1, KEY_DOWN        ,0x00000400 }, // Found @0xffb3a9fc, levent 0x05
65//    { 1, KEY_DISPLAY     ,0x00001000 }, // Found @0xffb3aa14, levent 0x0a
66//    { 1, KEY_MENU        ,0x00002000 }, // Found @0xffb3aa20, levent 0x09
67//    { 1, KEY_UP          ,0x00004000 }, // Found @0xffb3aa2c, levent 0x04
68//    { 1, KEY_SET         ,0x00008000 }, // Found @0xffb3aa38, levent 0x08
69//    { 0, 0, 0 }
70//};
71
72// Values below go in 'platform_camera.h':
73//#define CAM_DRYOS         1
74//#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher
75//#define CAM_RAW_ROWPIX    3744 // Found @0xff9345cc
76//#define CAM_RAW_ROWS      2784 // Found @0xff9345d4
77//#undef  CAM_UNCACHED_BIT
78//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff838e10
79
80// Stubs below matched 100%.
81//    Name                                     Address                Comp to stubs_entry_2.S
82NSTUB(AllocateMemory                          ,0xffa9d168) //101
83NSTUB(AllocateUncacheableMemory               ,0xff838dcc) //112
84NSTUB(Close                                   ,0xff835414) //101
85NSTUB(CreateTask                              ,0xff81e5b4) //101
86NSTUB(DebugAssert                             ,0xff81e88c) //111
87NSTUB(DeleteFile_Fut                          ,0xff834da0) //112
88//NSTUB(DoAFLock                              ,0xff836b98) //  4            == 0xff836b98
89//NSTUB(EnterToCompensationEVF                ,0xff836d3c) //104            == 0xff836d3c
90NSTUB(ExecuteEventProcedure                   ,0xff888cfc) //  1
91//NSTUB(ExitFromCompensationEVF               ,0xff836d80) //104            == 0xff836d80
92NSTUB(ExitTask                                ,0xff81e844) //101
93//NSTUB(ExpCtrlTool_StartContiAE              ,0xff844700) //104            == 0xff844700
94//NSTUB(ExpCtrlTool_StopContiAE               ,0xff8447d8) //104            == 0xff8447d8
95NSTUB(Fclose_Fut                              ,0xff834f1c) //101
96NSTUB(Feof_Fut                                ,0xff835108) //  1
97NSTUB(Fflush_Fut                              ,0xff835144) //  1
98NSTUB(Fgets_Fut                               ,0xff835070) //  1
99NSTUB(Fopen_Fut                               ,0xff834edc) //101
100NSTUB(Fread_Fut                               ,0xff834fc8) //101
101NSTUB(FreeMemory                              ,0xffa9d160) //101
102NSTUB(FreeUncacheableMemory                   ,0xff838e0c) //112
103NSTUB(Fseek_Fut                               ,0xff8350bc) //101
104NSTUB(Fwrite_Fut                              ,0xff83501c) //101
105NSTUB(GetDrive_ClusterSize                    ,0xff86e380) //  3
106NSTUB(GetDrive_FreeClusters                   ,0xff86e3e0) //  3
107NSTUB(GetDrive_TotalClusters                  ,0xff86e3b4) //  3
108NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff958d70) //  3
109NSTUB(GetImageFolder                          ,0xff93c458) //106
110//NSTUB(GetKbdState                           ,0xff85e258) //109            == 0xff85e258
111NSTUB(GetMemInfo                              ,0xff81a070) //  3
112NSTUB(GetOpticalTemperature                   ,0xff861664) //  3
113NSTUB(GetParameterData                        ,0xff994a7c) //101
114NSTUB(GetSystemTime                           ,0xffa9d1c0) //101
115NSTUB(GetZoomLensCurrentPoint                 ,0xff95d9ec) //  1
116NSTUB(GetZoomLensCurrentPosition              ,0xffa90e0c) //  2
117//NSTUB(GiveSemaphore                         ,0xff8387e8) //112            == 0xff8387e8
118//NSTUB(LEDDrive                              ,0xff85d648) //103            == 0xff85d648
119NSTUB(LocalTime                               ,0xff886670) //  1
120NSTUB(LockMainPower                           ,0xff89467c) //103
121//NSTUB(Lseek                                 ,0xff835530) //101            == 0xff835530
122NSTUB(MakeDirectory_Fut                       ,0xff834e14) //  1
123NSTUB(MoveIrisWithAv                          ,0xffa9ab34) //  4
124NSTUB(NewTaskShell                            ,0xff88c510) //103
125NSTUB(Open                                    ,0xff8353bc) //101
126NSTUB(PB2Rec                                  ,0xff8977c4) //104
127NSTUB(PT_MoveDigitalZoomToWide                ,0xff8776dc) //  4
128NSTUB(PT_MoveOpticalZoomAt                    ,0xff8776b4) //  4
129//NSTUB(PT_PlaySound                          ,0xff88180c) //  7            == 0xff88180c
130NSTUB(PostLogicalEventForNotPowerType         ,0xff8924a8) //103
131NSTUB(PostLogicalEventToUI                    ,0xff8924f4) //103
132NSTUB(Read                                    ,0xff81ab78) //101
133NSTUB(ReadFastDir                             ,0xffa7d748) //  3
134NSTUB(Rec2PB                                  ,0xff897804) //104
135//NSTUB(RefreshPhysicalScreen                 ,0xffa08eec) //104            == 0xffa08eec
136//NSTUB(Remove                                ,0xff835448) //  4            == 0xff835448
137//NSTUB(RenameFile_Fut                        ,0xff834d0c) //  4            == 0xff834d0c
138NSTUB(Restart                                 ,0xff83a520) //106
139//NSTUB(ScreenLock                            ,0xffa0a10c) //  3            == 0xffa0a10c
140//NSTUB(ScreenUnlock                          ,0xffa0a134) //  3            == 0xffa0a134
141NSTUB(SetAE_ShutterSpeed                      ,0xffafe49c) //  1
142NSTUB(SetAutoShutdownTime                     ,0xff8946f0) //103
143NSTUB(SetCurrentCaptureModeType               ,0xff89b7b4) //101
144//NSTUB(SetFileTimeStamp                      ,0xff8356a0) //  3            == 0xff8356a0
145NSTUB(SetLogicalEventActive                   ,0xff8943cc) //101
146NSTUB(SetParameterData                        ,0xff994958) //101
147NSTUB(SleepTask                               ,0xff838a50) //101
148NSTUB(TakeSemaphore                           ,0xff838718) //101
149//NSTUB(TurnOffBackLight                      ,0xff8a494c) //104            == 0xff8a494c
150//NSTUB(TurnOnBackLight                       ,0xff8a4934) //104            == 0xff8a4934
151//NSTUB(UIFS_WriteFirmInfoToFile              ,0xff97ea00) //105            == 0xff97ea00
152//NSTUB(UnlockAF                              ,0xff836bd0) //  4            == 0xff836bd0
153NSTUB(UnlockMainPower                         ,0xff8945d0) //103
154//NSTUB(UnsetZoomForMovie                     ,0xff8a0eb4) //104            == 0xff8a0eb4
155NSTUB(UpdateMBROnFlash                        ,0xff86e200) //  3
156NSTUB(VbattGet                                ,0xff831e04) //103
157NSTUB(Write                                   ,0xff8354a4) //101
158//NSTUB(WriteSDCard                           ,0xff94a55c) //108            == 0xff94a55c
159NSTUB(_log                                    ,0xffb365f8) //111
160NSTUB(_log10                                  ,0xffb35284) //112
161NSTUB(_pow                                    ,0xffb353f4) //114
162NSTUB(_sqrt                                   ,0xffb3819c) //  1
163NSTUB(add_ptp_handler                         ,0xffa46fc0) //  3
164//NSTUB(apex2us                               ,0xffa0d7a8) //  4            == 0xffa0d7a8
165NSTUB(close                                   ,0xff81a990) //  1
166NSTUB(closedir                                ,0xffa7d5d0) //  3
167NSTUB(err_init_task                           ,0xff815f28) //  4
168NSTUB(exmem_alloc                             ,0xff887530) //103
169NSTUB(free                                    ,0xff814138) //112
170NSTUB(kbd_p1_f                                ,0xff833630) //109
171NSTUB(kbd_p1_f_cont                           ,0xff83363c) //109
172NSTUB(kbd_p2_f                                ,0xff832ed8) //109
173NSTUB(kbd_read_keys                           ,0xff8335b4) //109
174NSTUB(kbd_read_keys_r2                        ,0xff85db5c) //109
175NSTUB(lseek                                   ,0xff835530) //101
176NSTUB(malloc                                  ,0xff8140dc) //112
177NSTUB(memcmp                                  ,0xff8203e8) //101
178NSTUB(memcpy                                  ,0xff83e43c) //101
179NSTUB(memset                                  ,0xffa0c7f8) //101
180NSTUB(mkdir                                   ,0xff835888) //  3
181NSTUB(mktime_ext                              ,0xff8ac304) //  1
182NSTUB(open                                    ,0xff81a8e0) //  1
183NSTUB(opendir                                 ,0xffa7d614) //  3
184//NSTUB(openfastdir                           ,0xffa7d614) //  3            == 0xffa7d614
185NSTUB(qsort                                   ,0xffaec3d8) //  1
186NSTUB(rand                                    ,0xff8204f0) //  1
187NSTUB(read                                    ,0xff81ab78) //101
188//NSTUB(readfastdir                           ,0xffa7d748) //  3            == 0xffa7d748
189NSTUB(reboot_fw_update                        ,0xffa82c58) //  1
190NSTUB(set_control_event                       ,0xff894020) //111
191NSTUB(srand                                   ,0xff8204e4) //  1
192NSTUB(stat                                    ,0xff83556c) //  3
193// ALT: NSTUB(stat, 0xff86b7c4) // 3 31/0
194//NSTUB(strcat                                ,0xff8abac0) //  1            == 0xff8abac0
195NSTUB(strchr                                  ,0xff813fc0) //  1
196NSTUB(strcmp                                  ,0xff8203a4) //101
197NSTUB(strcpy                                  ,0xff82038c) //101
198NSTUB(strftime                                ,0xff8abd0c) //  1
199NSTUB(strlen                                  ,0xff81400c) //101
200NSTUB(strncmp                                 ,0xff813f74) //  1
201//NSTUB(strncpy                               ,0xff813f38) //  1            == 0xff813f38
202//NSTUB(strrchr                               ,0xff813fe4) //  1            == 0xff813fe4
203NSTUB(strtol                                  ,0xff83e71c) //101
204NSTUB(strtolx                                 ,0xff83e520) //109
205  DEF(task_CaptSeq                            ,0xff87a208) //107
206  DEF(task_ExpDrv                             ,0xff8c0e54) //110
207  DEF(task_InitFileModules                    ,0xff8982e8) //107
208  DEF(task_MovieRecord                        ,0xff96172c) //107
209  DEF(task_PhySw                              ,0xff833208) //107
210  DEF(task_RotaryEncoder                      ,0xff85e508) //107
211NSTUB(time                                    ,0xff886be8) //  2
212NSTUB(vsprintf                                ,0xff820350) //  1
Note: See TracBrowser for help on using the repository browser.