source: trunk/platform/g10/sub/103b/stubs_entry.S @ 1385

Revision 1385, 13.1 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 R31 (DRYOS version 2.3, release #0031)
6//   Firmware Ver GM1.03B
7//   Canon PowerShot G10
8//   PLATFORMID = 12687 (0x318f)
9//   MAXRAMADDR = 0x07ffffff
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                           ,0xff84b174) //  2 60%        == 0xff84b174
14// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0xff81093c
15
16// Check of modemap from 'platform/CAMERA/shooting.c':
17// Firmware modemap table found @ff88301c -> ff87f310 -> ff970650 -> ffa7aa74 -> ffb7506c
18// No problems found with modemap table.
19
20// Values below go in 'stubs_min.S':
21//DEF(physw_status                            ,0x00011cb8) // Found @0xff821c28,          stubs_min = 0x00011cb8 (0x00011cb8)
22//DEF(physw_run                               ,0x00001c2c) // Found @0xff82189c,          stubs_min = 0x00001c2c (0x00001c2c)
23//DEF(levent_table                            ,0xffb43abc) // Found @0xffb43abc,          stubs_min = 0xffb43abc (0xffb43abc)
24//DEF(FlashParamsTable                        ,0xffb7524c) // Found @0xffb7524c,          stubs_min = 0xffb7524c (0xffb7524c)
25//DEF(movie_status                            ,0x00005418) // Found @0xff8629c4,          stubs_min = 0x00005418 (0x00005418)
26//DEF(canon_menu_active                       ,0x00005868) // Found @0xff8782dc,          stubs_min = 0x00005868 (0x00005868)
27//DEF(canon_shoot_menu_active                 ,0x0000a8ad) // Found @0xff987990,          stubs_min = 0x0000a8ad (0x0000a8ad)
28//DEF(playrec_mode                            ,0x000055d0) // Found @0xff86b300,          stubs_min = 0x000055d0 (0x000055d0)
29//DEF(zoom_status                             ,0x0000e0b0) // Found @0xffa7c754,          stubs_min = 0x0000e0b0 (0x0000e0b0)
30//DEF(some_flag_for_af_scan                   ,0x000096f8) // Found @0xff946b5c,          stubs_min = 0x000096f8 (0x000096f8)
31
32// Values below go in 'lib.c':
33//void *vid_get_bitmap_fb()        { return (void*)0x40471000; } // Found @0xff846a4c
34//void *vid_get_viewport_fb()      { return (void*)0x40816dc0; } // Found @0xffad4d80
35//char *camera_jpeg_count_str()    { return (char*)0x0004c95c; } // Found @0xff9cccec
36//long hook_raw_size()             { return 0x01574d00; }        // Found @0xffad713c
37//int get_flash_params_count(void) { return 0x78; }              // Found @0xff971c50
38
39// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
40//#define SD_READONLY_FLAG    0x00020000 // Found @0xffb0f980, levent 0x90a
41//#define SD_READONLY_IDX     2
42//#define USB_FLAG            0x00040000 // Found @0xffb0f98c, levent 0x902
43//#define USB_IDX             2
44
45// Keymap values for kbd.c. Additional keys may be present, only common values included here.
46//static KeyMap keymap[] = {
47//    { 0, KEY_SHOOT_HALF  ,0x00000001 }, // Found @0xffb0f7f4, levent 0x00
48//    { 0, KEY_SHOOT_FULL  ,0x00000003 }, // Found @0xffb0f800, levent 0x01
49//    { 1, KEY_ZOOM_OUT    ,0x00000008 }, // Found @0xffb0f86c, levent 0x03
50//    { 1, KEY_ZOOM_IN     ,0x00000010 }, // Found @0xffb0f878, levent 0x02
51//    { 1, KEY_LEFT        ,0x00000400 }, // Found @0xffb0f8c0, levent 0x06
52//    { 1, KEY_SET         ,0x00000800 }, // Found @0xffb0f8cc, levent 0x08
53//    { 1, KEY_RIGHT       ,0x00001000 }, // Found @0xffb0f8d8, levent 0x07
54//    { 1, KEY_DOWN        ,0x00002000 }, // Found @0xffb0f8e4, levent 0x05
55//    { 1, KEY_UP          ,0x00004000 }, // Found @0xffb0f8f0, levent 0x04
56//    { 1, KEY_DISPLAY     ,0x00020000 }, // Found @0xffb0f914, levent 0x0a
57//    { 1, KEY_MENU        ,0x00040000 }, // Found @0xffb0f920, levent 0x09
58//    { 0, 0, 0 }
59//};
60
61// Values below go in 'platform_camera.h':
62//#define CAM_DRYOS         1
63//#define CAM_RAW_ROWPIX    4480 // Found @0xffacde48
64//#define CAM_RAW_ROWS      3348 // Found @0xffacde4c
65//#undef  CAM_UNCACHED_BIT
66//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff828844
67
68// Stubs below matched 100%.
69//    Name                                     Address                Comp to stubs_entry_2.S
70NSTUB(AllocateMemory                          ,0xffa68868) //101
71NSTUB(AllocateUncacheableMemory               ,0xff828800) //112
72NSTUB(Close                                   ,0xff824088) //101
73NSTUB(CreateTask                              ,0xff81aef4) //101
74NSTUB(DebugAssert                             ,0xff81b1cc) //111
75NSTUB(DeleteFile_Fut                          ,0xff823934) //112
76NSTUB(DoAFLock                                ,0xff825e48) //102
77NSTUB(EnterToCompensationEVF                  ,0xff826110) //104
78NSTUB(ExecuteEventProcedure                   ,0xff873ae4) //  1
79NSTUB(ExitFromCompensationEVF                 ,0xff826154) //104
80NSTUB(ExitTask                                ,0xff81b184) //101
81NSTUB(ExpCtrlTool_StartContiAE                ,0xff831950) //104
82NSTUB(ExpCtrlTool_StopContiAE                 ,0xff831a94) //104
83NSTUB(Fclose_Fut                              ,0xff823ab0) //101
84NSTUB(Feof_Fut                                ,0xff823c9c) //  1
85NSTUB(Fflush_Fut                              ,0xff823cd8) //  1
86NSTUB(Fgets_Fut                               ,0xff823c04) //  1
87NSTUB(Fopen_Fut                               ,0xff823a70) //101
88NSTUB(Fread_Fut                               ,0xff823b5c) //101
89NSTUB(FreeMemory                              ,0xffa68860) //101
90NSTUB(FreeUncacheableMemory                   ,0xff828840) //112
91NSTUB(Fseek_Fut                               ,0xff823c50) //101
92NSTUB(Fwrite_Fut                              ,0xff823bb0) //101
93NSTUB(GetBatteryTemperature                   ,0xff84dc90) //102
94NSTUB(GetCCDTemperature                       ,0xff84dc20) //102
95NSTUB(GetCurrentAvValue                       ,0xff93b378) //102
96NSTUB(GetDrive_ClusterSize                    ,0xff859f90) //  1
97NSTUB(GetDrive_FreeClusters                   ,0xff859ff8) //  1
98NSTUB(GetDrive_TotalClusters                  ,0xff859fc4) //  1
99NSTUB(GetFocusLensSubjectDistance             ,0xff939848) //102
100NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff939c30) //  3
101NSTUB(GetKbdState                             ,0xff84afbc) //109
102NSTUB(GetMemInfo                              ,0xff813c24) //  1
103NSTUB(GetOpticalTemperature                   ,0xff84dd00) //102
104NSTUB(GetParameterData                        ,0xff971c10) //101
105NSTUB(GetPropertyCase                         ,0xff8777cc) //102
106NSTUB(GetSystemTime                           ,0xffa688c0) //101
107NSTUB(GetZoomLensCurrentPoint                 ,0xff93e7c8) //102
108NSTUB(GetZoomLensCurrentPosition              ,0xffa5dcb4) //102
109NSTUB(GiveSemaphore                           ,0xff82821c) //112
110NSTUB(IsStrobeChargeCompleted                 ,0xff8b4794) //102
111NSTUB(LEDDrive                                ,0xff84a53c) //103
112NSTUB(LocalTime                               ,0xff871280) //  1
113NSTUB(LockMainPower                           ,0xff87ef28) //103
114NSTUB(Lseek                                   ,0xff8241c8) //101
115NSTUB(MakeDirectory_Fut                       ,0xff8239a8) //  1
116NSTUB(MoveFocusLensToDistance                 ,0xffad17b4) //102
117NSTUB(MoveIrisWithAv                          ,0xffa6528c) //102
118NSTUB(MoveZoomLensWithPoint                   ,0xffa659a4) //102
119NSTUB(NewTaskShell                            ,0xff877274) //103
120NSTUB(Open                                    ,0xff824060) //101
121NSTUB(PB2Rec                                  ,0xff8822ec) //104
122NSTUB(PT_MoveDigitalZoomToWide                ,0xff864344) //102
123NSTUB(PT_MoveOpticalZoomAt                    ,0xff86431c) //102
124NSTUB(PT_PlaySound                            ,0xff863c98) //102
125NSTUB(PostLogicalEventForNotPowerType         ,0xff87ccec) //103
126NSTUB(PostLogicalEventToUI                    ,0xff87cd38) //103
127NSTUB(PutInNdFilter                           ,0xffa65808) //102
128NSTUB(PutOutNdFilter                          ,0xffa6582c) //102
129NSTUB(Read                                    ,0xff819a4c) //101
130NSTUB(ReadFastDir                             ,0xffa4a190) //  1
131NSTUB(Rec2PB                                  ,0xff880c28) //104
132//NSTUB(RefreshPhysicalScreen                 ,0xff9dae54) //104            == 0xff9dae54
133NSTUB(Remove                                  ,0xff8240d0) //  1
134NSTUB(RenameFile_Fut                          ,0xff8238e0) //  1
135NSTUB(Restart                                 ,0xff82a074) //106
136NSTUB(SetAE_ShutterSpeed                      ,0xffad3f84) //102
137NSTUB(SetAutoShutdownTime                     ,0xff87ef9c) //103
138NSTUB(SetCurrentCaptureModeType               ,0xff885d94) //101
139NSTUB(SetFileTimeStamp                        ,0xff824364) //  1
140NSTUB(SetLogicalEventActive                   ,0xff87ec78) //101
141NSTUB(SetParameterData                        ,0xff971aec) //101
142NSTUB(SetPropertyCase                         ,0xff8776c4) //102
143NSTUB(SetScriptMode                           ,0xff87ecc8) //101
144NSTUB(SleepTask                               ,0xff828484) //101
145NSTUB(TakeSemaphore                           ,0xff82814c) //101
146NSTUB(TurnOffBackLight                        ,0xff88c57c) //104
147NSTUB(TurnOnBackLight                         ,0xff88c564) //104
148NSTUB(UIFS_WriteFirmInfoToFile                ,0xff95fddc) //103
149NSTUB(UnlockAF                                ,0xff825e9c) //102
150NSTUB(UnlockMainPower                         ,0xff87ee7c) //103
151NSTUB(UnsetZoomForMovie                       ,0xff977ed0) //104
152NSTUB(UpdateMBROnFlash                        ,0xff859dd0) //  1
153NSTUB(VbattGet                                ,0xff820574) //103
154NSTUB(Write                                   ,0xff824134) //101
155NSTUB(WriteSDCard                             ,0xff92a7c0) //108
156NSTUB(_log                                    ,0xffb068f4) //111
157NSTUB(_log10                                  ,0xffb05580) //112
158NSTUB(_pow                                    ,0xffb056f0) //114
159NSTUB(_sqrt                                   ,0xffb08550) //  1
160NSTUB(add_ptp_handler                         ,0xffa1594c) //  3
161NSTUB(apex2us                                 ,0xff9dc338) //  4
162NSTUB(close                                   ,0xff819864) //  1
163NSTUB(closedir                                ,0xffa4a260) //  1
164NSTUB(err_init_task                           ,0xff814e80) //  4
165NSTUB(exmem_alloc                             ,0xff8721c0) //103
166NSTUB(free                                    ,0xff813a7c) //112
167NSTUB(kbd_p1_f                                ,0xff821d24) //109
168NSTUB(kbd_p1_f_cont                           ,0xff821d30) //109
169NSTUB(kbd_p2_f                                ,0xff82153c) //109
170NSTUB(kbd_read_keys                           ,0xff821c28) //109
171NSTUB(kbd_read_keys_r2                        ,0xff84a99c) //109
172NSTUB(lseek                                   ,0xff8241c8) //101
173NSTUB(malloc                                  ,0xff8139a8) //112
174NSTUB(memcmp                                  ,0xff81cbb0) //101
175NSTUB(memcpy                                  ,0xff899344) //101
176NSTUB(memset                                  ,0xff9db1a8) //101
177NSTUB(mkdir                                   ,0xff82442c) //  1
178// ALT: NSTUB(mkdir, 0xff8244cc) // 1 32/0
179NSTUB(mktime_ext                              ,0xff899bb0) //  1
180NSTUB(open                                    ,0xff8197b4) //  1
181NSTUB(opendir                                 ,0xffa4a0fc) //  1
182NSTUB(openfastdir                             ,0xffa4a0fc) //  1
183NSTUB(qsort                                   ,0xff9db6b0) //  1
184NSTUB(rand                                    ,0xff81ccb8) //  1
185NSTUB(read                                    ,0xff819a4c) //101
186NSTUB(readfastdir                             ,0xffa4a190) //  1
187NSTUB(reboot_fw_update                        ,0xffa51b90) //  5
188NSTUB(rename                                  ,0xff8238e0) //  1
189NSTUB(set_control_event                       ,0xff87e8dc) //111
190NSTUB(srand                                   ,0xff81ccac) //  1
191NSTUB(stat                                    ,0xff824294) //  1
192NSTUB(strcat                                  ,0xff899158) //  1
193NSTUB(strchr                                  ,0xff8991e0) //  1
194NSTUB(strcmp                                  ,0xff81cb48) //101
195NSTUB(strcpy                                  ,0xff81cb30) //101
196NSTUB(strftime                                ,0xff8995b8) //  1
197NSTUB(strlen                                  ,0xff81cb8c) //101
198NSTUB(strncmp                                 ,0xff899194) //  1
199NSTUB(strncpy                                 ,0xff82e2bc) //  1
200NSTUB(strrchr                                 ,0xff9db180) //  1
201NSTUB(strtol                                  ,0xff82e4f4) //101
202NSTUB(strtolx                                 ,0xff82e2f8) //109
203  DEF(task_CaptSeq                            ,0xff866bfc) //107
204  DEF(task_ExpDrv                             ,0xff8ab0e0) //110
205  DEF(task_InitFileModules                    ,0xff882ea8) //107
206  DEF(task_MovieRecord                        ,0xff862c0c) //107
207  DEF(task_PhySw                              ,0xff821898) //107
208NSTUB(time                                    ,0xff871860) //  2
209NSTUB(vsprintf                                ,0xff81caf4) //  1
210NSTUB(write                                   ,0xff824134) //101
Note: See TracBrowser for help on using the repository browser.