source: trunk/platform/ixus870_sd880/sub/101a/stubs_entry_2.S @ 811

Revision 811, 4.7 KB checked in by reyalp, 4 years ago (diff)

Add PT_PlaySound to sig_ref_dryos_2.txt Should correct playsound on a470 and sd990
Note that this sig does not match well for some older cameras, but they already have it stubs_entry_2.S
Also cleaned up some improper use of NSTUB in a590 stubs_entry_2.S

  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2
3#define NULL_SUB 0xFF81093C
4
5// Not set in stubs_entry.S
6
7NHSTUB(EnterToCompensationEVF, 0xFF82582C)  // via aExpcompOn
8NHSTUB(ExitFromCompensationEVF, 0xFF825870)  // via aExpcompOff
9NHSTUB(RefreshPhysicalScreen, 0xFF9B8424)  // via aScreenunlock
10NHSTUB(TurnOffBackLight, 0xFF886078)  // via aTurnofbacklig
11NHSTUB(VbattGet, 0xFF820570)  // called by eventproc_export_VbattGet
12NHSTUB(kbd_pwr_on,NULL_SUB)
13NHSTUB(kbd_read_keys, 0xFF821BA4)  // first call in kbd_p1_f
14NHSTUB(strchr, 0xFF892790)  // search for "AND R2, R1, #0xFF" (E20120FF)
15NHSTUB(vsprintf, 0xFF81CAF8)  // via eventproc_export_CPrintf (call before aCprintfSizeOve)
16
17
18// Used outside the range of stubs_entry.S generation
19
20NHSTUB(PostLogicalEventForNotPowerType, 0xFF876CA4) // eventproc_export_PostLogicalEventForNotPowerType
21NHSTUB(LEDDrive, 0xFF8459E8) // via eventproc_export_LEDDrive
22NHSTUB(apex2us, 0xFF9B9440)  // via capt_seq.c
23NHSTUB(WriteSDCard, 0xFF918858) // via _sub_FF85522C_Mounter.c__0, call after debug, then last LDR
24NHSTUB(UnlockAF, 0xFF825610)  // via aAfUnlock
25NHSTUB(DoAFLock, 0xFF8255D8)  // via aAfLock
26NHSTUB(rewinddir,NULL_SUB)
27NHSTUB(SetZoomActuatorSpeedPercent,NULL_SUB)
28NHSTUB(Mount_FileSystem,NULL_SUB)
29NHSTUB(Unmount_FileSystem,NULL_SUB)
30NHSTUB(platformsub_kbd_fetch_data, 0xFF846248)  // GetKbdState
31NHSTUB(UnsetZoomForMovie,0xFF9607A0) // via aZoomcon_Unsetz (used ixus980 dump)
32//NHSTUB(PutInNdFilter,0xFFA9C1D4)   // function table
33NHSTUB(PutInNdFilter,0xFFA3AD28)   // function table TurnOnNdFilter (used ixus980)
34//NHSTUB(PutOutNdFilter,0xFFA9C20C)  // function table
35NHSTUB(PutOutNdFilter,0xFFA3AD4C)  // function table TurnOffNdFilter (used ixus980)
36NHSTUB(ScreenLock, 0xFF9B83D0)  // via aScreenlock
37NHSTUB(MakeAFScan,  0xFF933E54)  // via aSsprepareseqba (function with most uses)
38NHSTUB(ExpCtrlTool_StartContiAE, 0xFF830D00)  // via aStartcontiae
39
40
41// Corrections for uncertain entries in stubs_entry.S
42
43NHSTUB(AllocateUncacheableMemory, 0xFF827B68)  // via task_UartLog, 2nd call
44// NHSTUB(ExitTask, 0xff81b184)  // ok, eventproc_export_ExitTask
45// NHSTUB(FreeUncacheableMemory, 0xff827ba8)  // ok, via task_UartLog, call before the last one
46// NHSTUB(GetCurrentTargetDistance, 0xff927344)  // ok, _sub_???__FocusLensController.c__0
47// NHSTUB(GetDrive_ClusterSize, 0xff8554ac)  // ok, via _sub_???__Mounter.c__0
48NHSTUB(GetDrive_FreeClusters, 0xff855514)  // via _sub_???__Mounter.c__1424
49NHSTUB(GetDrive_TotalClusters, 0xff85557c)  // ok, via _sub_???__Mounter.c__0
50// NHSTUB(GetFocusLensSubjectDistance, 0xffa3a710) // ok, via aSubjectdista_0
51// NHSTUB(GetOpticalTemperature, 0xff848d64)  // ok, via GetCCDTemperature (first BEQ loc_)
52// NHSTUB(GetParameterData, 0xff95a770)  // ok, via first call in eventproc_export_PTM_RestoreUIProperty
53// NHSTUB(GetPropertyCase, 0xff8717a8)  // ok, PT_GetPropertyCaseString_0
54// NHSTUB(GetSystemTime, 0xffa3d910)  // ok, GetSystemTime
55NHSTUB(GetZoomLensCurrentPoint, 0xFF92B9CC)  // function table
56// NHSTUB(IsStrobeChargeCompleted, 0xff8ab714)  // ok, via _sub_???__EFCharge.c__856
57// NHSTUB(LockMainPower, 0xff878ec8)  // ok, eventproc_export_LockMainPower
58// NHSTUB(MakeDirectory_Fut, 0xff823414)  // ok, visual compare
59// NHSTUB(MoveFocusLensToDistance, 0xffa9e3fc)  // ok, visual compare
60// NHSTUB(MoveZoomLensWithPoint, 0xffa3aec4)  // ok, visual compare + func.tbl.
61// NHSTUB(NewTaskShell, 0xff871250)  // ok, NewTaskShell
62// NHSTUB(RenameFile_Fut, 0xff82334c)  // ok, visual compare
63// NHSTUB(SetAutoShutdownTime, 0xff878f3c)  // ok, eventproc_export_SetAutoShutdownTime
64// NHSTUB(SetParameterData, 0xff95a6e0)  // ok, PTM_BackupUIProperty
65NHSTUB(SetPropertyCase, 0xff8716a0)  // PT_GetPropertyCaseString
66// NHSTUB(SleepTask, 0xff8277ec)  // ok, eventproc_export_SleepTask
67// NHSTUB(TakeSemaphore, 0xff8274b4)  // ok, eventproc_export_TakeSemaphore
68// NHSTUB(TurnOnBackLight, 0xff886060)  // ok, via aTurnonbackligh
69// NHSTUB(UIFS_WriteFirmInfoToFile, 0xff94b858)  // ok, via usage of aUifs_writefirm, look for value of R1
70// NHSTUB(UnlockMainPower, 0xff878e1c)  // ok, eventproc_export_UnlockMainPower
71// NHSTUB(UpdateMBROnFlash, 0xff8552ec)  // ok, visual compare
72// NHSTUB(kbd_p1_f, 0xff821ca0)  // ok, kbd_p1_f
73// NHSTUB(kbd_p1_f_cont, 0xff821cac)  // ok, kbd_p1_f+0xc
74// NHSTUB(kbd_p2_f, 0xff8214b8)  // ok, kbd_p2_f
75NHSTUB(kbd_pwr_off,NULL_SUB)
76NHSTUB(kbd_read_keys_r2, 0xff845de0)  // visual compare (auto generated address was slightly of)
77NHSTUB(qsort, 0xffa84fc8)  // search 01 00 50 E1 1E FF 2F 01
78// NHSTUB(rand, 0xff81ccbc)  // ok, visual compare (and via aRandsem)
79// NHSTUB(srand, 0xff81ccb0)  // ok, visual compare (and via aRandsem)
80// NHSTUB(strncmp, 0xff892744)  // ok, visual compare
81NHSTUB(strrchr, 0xff9b8750)  // via memset (strrchr is above it)
82// NHSTUB(time, 0xff86b83c)  // ok, via _sub_???_SystemTime.c__1
83
Note: See TracBrowser for help on using the repository browser.