source: trunk/platform/a610/sub/100f/stubs_entry.S @ 865

Revision 865, 5.1 KB checked in by reyalp, 3 years ago (diff)
  • add strtoul on all cameras. Only tested on a540 but perfect matches on all.
  • fix lua handling of hex constants that would set sign bit. Now (as in standard lua) treated as an unsigned value, rather than resulting in LONG_MAX. Note that arithmetic and comparisons on such values in lua will still treat them as signed!
  • use strtoul in luaB_tonumber(), as in stock lua.
  • Property svn:eol-style set to native
Line 
1// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
2#include "stubs_asm.h"
3
4NSTUB(AllocateMemory, 0xffc01b1c)
5NSTUB(AllocateUncacheableMemory, 0xffc048d8)
6NSTUB(Close, 0xffc5ca94)
7NSTUB(CreatePhysicalVram, 0xffd1226c)
8NSTUB(CreateTask, 0xffc11250)
9NSTUB(CreateTaskStrict, 0xffc123b8)
10NSTUB(DeleteFile_Fut, 0xffc55db4)
11NSTUB(DisableDispatch, 0xffc11074)
12NSTUB(DisplayImagePhysicalScreen, 0xffd11634)
13NSTUB(EnableDispatch, 0xffc11100)
14NSTUB(ExecuteEventProcedure, 0xffc067f0)
15NSTUB(ExitTask, 0xffc11610)
16NSTUB(Fclose_Fut, 0xffc55ef4)
17NSTUB(Feof_Fut, 0xffc56108)
18NSTUB(Fflush_Fut, 0xffc56140)
19NSTUB(Fgets_Fut, 0xffc56078)
20NSTUB(Fopen_Fut, 0xffc55eb8)
21NSTUB(Fread_Fut, 0xffc55fd8)
22NSTUB(FreeMemory, 0xffc01b28)
23NSTUB(FreeUncacheableMemory, 0xffc0490c)
24NSTUB(Fseek_Fut, 0xffc560c0)
25NSTUB(Fwrite_Fut, 0xffc56028)
26NSTUB(GetCurrentAvValue, 0xffe7169c)
27// ALT: NSTUB(GetCurrentAvValue, 0xffe73a9c) // 13/0
28NSTUB(GetCurrentTargetDistance, 0xffe73a44)
29NSTUB(GetFocusLensSubjectDistance, 0xffe66b78)
30// Best match: 52%
31NSTUB(GetFocusLensSubjectDistanceFromLens, 0xffe67118)
32NSTUB(GetParameterData, 0xffd4e684)
33NSTUB(GetPropertyCase, 0xffc141a8)
34NSTUB(GetSystemTime, 0xffc04b10)
35NSTUB(GetZoomLensCurrentPoint, 0xffe533e4)
36NSTUB(GetZoomLensCurrentPosition, 0xffe533f8)
37NSTUB(IsStrobeChargeCompleted, 0xffcec188)
38NSTUB(LockMainPower, 0xffd49268)
39NSTUB(MakeDirectory, 0xffc5cd38)
40NSTUB(MakeDirectory_Fut, 0xffc55e40)
41NSTUB(Mount_FileSystem, 0xffc5bd48)
42NSTUB(MoveFocusLensToDistance, 0xffe73cd4)
43NSTUB(MoveZoomLensWithPoint, 0xffe532c4)
44// ALT: NSTUB(MoveZoomLensWithPoint, 0xffe532c4) // 25/0
45NSTUB(Open, 0xffc5ca6c)
46NSTUB(PhySw_testgpio, 0xffc17658)
47NSTUB(PostLogicalEventForNotPowerType, 0xffd4528c)
48NSTUB(PostLogicalEventToUI, 0xffd45318)
49// ALT: NSTUB(PostLogicalEventToUI, 0xffd453b0) // 25/0
50NSTUB(ProtectFile, 0xffc55520)
51NSTUB(PutInNdFilter, 0xffe71abc)
52NSTUB(PutOutNdFilter, 0xffe71b04)
53NSTUB(Read, 0xffc5cb28)
54NSTUB(RefreshPhysicalScreen, 0xffd5fa48)
55NSTUB(Remove, 0xffc5cab4)
56NSTUB(RenameFile_Fut, 0xffc55d34)
57NSTUB(SetAutoShutdownTime, 0xffd49160)
58NSTUB(SetCurrentCaptureModeType, 0xffd771a4)
59NSTUB(SetLogicalEventActive, 0xffd47304)
60NSTUB(SetParameterData, 0xffd4e5a4)
61NSTUB(SetPropertyCase, 0xffc1408c)
62NSTUB(SleepTask, 0xffc11164)
63NSTUB(TakeSemaphore, 0xffc10c60)
64NSTUB(TurnOffBackLight, 0xffd937dc)
65NSTUB(TurnOnBackLight, 0xffd937b0)
66NSTUB(UnlockMainPower, 0xffd4931c)
67NSTUB(Unmount_FileSystem, 0xffc5be50)
68NSTUB(UnsetZoomForMovie, 0xffd81f08)
69NSTUB(UpdateMBROnFlash, 0xffc5bfa8)
70NSTUB(VbattGet, 0xffc1b4cc)
71NSTUB(Write, 0xffc5cb34)
72NSTUB(_log, 0xffea8764)
73// ALT: NSTUB(_log, 0xffea8764) // 27/0
74NSTUB(_log10, 0xffea8e0c)
75// ALT: NSTUB(_log10, 0xffea8e0c) // 27/0
76NSTUB(_pow, 0xffea92fc)
77// ALT: NSTUB(_pow, 0xffea92fc) // 25/0
78NSTUB(_sqrt, 0xffead648)
79// ALT: NSTUB(_sqrt, 0xffead648) // 24/0
80NSTUB(chdir, 0xffebc8a4)
81// ALT: NSTUB(chdir, 0xffebc8a4) // 27/0
82NSTUB(close, 0xffebc1e4)
83NSTUB(closedir, 0xffeb8184)
84NSTUB(errnoOfTaskGet, 0xffeb8950)
85NSTUB(free, 0xffebf230)
86NSTUB(ints_disable, 0xffc0d5ec)
87NSTUB(ints_enable, 0xffc0d5f8)
88NSTUB(ioctl, 0xffebc324)
89NSTUB(iosDevAdd, 0xffebd404)
90NSTUB(iosDevDelete, 0xffebd3dc)
91NSTUB(iosDevFind, 0xffebd390)
92NSTUB(iosDrvInstall, 0xffebd6c8)
93NSTUB(isalpha, 0xffeb20f8)
94NSTUB(isdigit, 0xffeb2128)
95NSTUB(islower, 0xffeb2158)
96NSTUB(ispunct, 0xffeb2188)
97NSTUB(isspace, 0xffeb21a0)
98NSTUB(isupper, 0xffeb21b8)
99NSTUB(isxdigit, 0xffeb21d0)
100NSTUB(kbd_p1_f, 0xffc16184)
101NSTUB(kbd_p1_f_cont, 0xffc16190)
102NSTUB(kbd_p2_f, 0xffc16568)
103NSTUB(kbd_pwr_off, 0xffc1758c)
104// ALT: NSTUB(kbd_pwr_off, 0xffc17620) // 6/0
105// ALT: NSTUB(kbd_pwr_off, 0xffc1763c) // 6/0
106NSTUB(kbd_pwr_on, 0xffc17564)
107NSTUB(kbd_read_keys_r2, 0xffc16fd8)
108NSTUB(localtime, 0xffeb6978)
109NSTUB(lseek, 0xffebc328)
110NSTUB(malloc, 0xffebf224)
111NSTUB(memchr, 0xffeb5d24)
112NSTUB(memcmp, 0xffeb5d58)
113// ALT: NSTUB(memcmp, 0xffec4140) // 9/0
114NSTUB(memcpy, 0xffeb5d94)
115NSTUB(memset, 0xffeb5e0c)
116NSTUB(mkdir, 0xffc5cc7c)
117NSTUB(mktime, 0xffeb6b40)
118NSTUB(open, 0xffebc828)
119NSTUB(opendir, 0xffeb81b8)
120NSTUB(qsort, 0xffeb55b8)
121NSTUB(rand, 0xffeb55dc)
122// ALT: NSTUB(rand, 0xffeb55dc) // 8/0
123NSTUB(read, 0xffebc244)
124NSTUB(readdir, 0xffeb8150)
125NSTUB(rename, 0xffebc830)
126// ALT: NSTUB(rename, 0xffebc830) // 26/0
127NSTUB(rewinddir, 0xffeb8178)
128NSTUB(srand, 0xffeb5600)
129// ALT: NSTUB(srand, 0xffeb5600) // 4/0
130NSTUB(stat, 0xffeb824c)
131NSTUB(strcat, 0xffeb5e2c)
132NSTUB(strchr, 0xffeb5e58)
133NSTUB(strcmp, 0xffeb5e7c)
134NSTUB(strcpy, 0xffeb6010)
135NSTUB(strftime, 0xffeb7698)
136NSTUB(strlen, 0xffeb6174)
137NSTUB(strncmp, 0xffeb61d8)
138NSTUB(strncpy, 0xffeb621c)
139// ALT: NSTUB(strncpy, 0xffeb621c) // 24/0
140NSTUB(strpbrk, 0xffeb6264)
141NSTUB(strrchr, 0xffeb62a0)
142// ALT: NSTUB(strrchr, 0xffeb62a0) // 8/0
143NSTUB(strtol, 0xffeb59f4)
144NSTUB(strtoul, 0xffeb5b9c)
145NSTUB(taskCreateHookAdd, 0xffec28a4)
146NSTUB(taskDeleteHookAdd, 0xffec27e0)
147NSTUB(taskIdListGet, 0xffecce68)
148NSTUB(taskLock, 0xffecd524)
149NSTUB(taskName, 0xffeccd60)
150NSTUB(taskResume, 0xffecd144)
151NSTUB(taskSuspend, 0xffeccf70)
152NSTUB(taskUnlock, 0xffecd5cc)
153NSTUB(time, 0xffeb76c4)
154// ALT: NSTUB(time, 0xffeb76c4) // 25/0
155NSTUB(tolower, 0xffeb21e8)
156NSTUB(toupper, 0xffeb21f8)
157NSTUB(utime, 0xffeb82e0)
158// ALT: NSTUB(utime, 0xffeb82e0) // 26/0
159NSTUB(vsprintf, 0xffeb9aa4)
160NSTUB(write, 0xffebc2b4)
Note: See TracBrowser for help on using the repository browser.