| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Name is from prototype 0.940 threadmgr.skprx. In practice,
sceKernelExtendKernelStack is the same function as
sceKernelExtendKernelStackWide, but are named differently for two
reason:
1. SceThreadmgrForDriver exports both of them.
2. iofilemgr.skprx uses both of them depending on if a wide return value
is required.
|
|
|
|
|
|
|
| |
For condition variable functions see:
https://psvita.scedev.net/technotes/view/355
https://psvita.scedev.net/technotes/view/356
|
|
|
|
|
|
|
|
|
|
|
| |
The criteria for removal are
1. The syscall forwarder does not modify arguments or pass additional
arguments.
2. The syscall is not used outside of the syscall forwarder.
For the removed headers, appmgr.h is wrong, iofilemgr_syscall.h is
correct, and net_syscalls.h is unknown.
|
| |
|
|
|
|
| |
_sceKernelGetThreadTLSAddr is a name in syslibtrace.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Renamed sceKernelDeleteFastMutex to sceKernelFinalizeFastMutex. This
matches the name found in 0.940 prototype firmware and the NID has not
changed since then.
2. Unlike lightweight mutex, the work area is not required to be 8 byte
aligned, but I have done so anyway.
3. The work area's size is 0x40, but only 0x28 is used. However it is
not safe to use a smaller work area because sceKernelFinalizeFastMutex
memsets 0x40 bytes to 0.
4. The last field of the work area, 4 bytes long at offset 0x24,
contains the dummy value 0xA35DB473 when the fast mutex is initialised.
Functions in SceKernelThreadmgr related to fast mutex will check this
value and this allows us to find all functions related to fast mutex.
|
| |
|
| |
|
|
|
|
| |
Note that only NIDs with name starting with 'vsh', '_vsh', 'sce', '_sce', '__sce', '___sce', 'ksce', and not containing '_unk' have been kept
|
| |
|
|
|
|
|
|
|
|
| |
* Add ksceKernelGetMutexInfo_089
https://wiki.henkaku.xyz/vita/SceKernelThreadMgr#sceKernelGetMutexInfo_089ForDriver
* Remove _089 suffix for kscekernelGetMutexInfo
|
|
|
|
| |
This service allows you to change the status of a suspended thread. Most of the valid suspend bits are unknown, but some can be used to prevent the kernel rethrowing exceptions or pull threads into the running/ready state.
|
|
|
|
| |
This function is used to get the state of the registers for a SUSPENDED thread. It returns the registers in a two part structure. It's uncertian what the difference is between the two parts. It seems like its a user/kernel separation, but it's uncertain. It could also be a current/exception difference, but it is unconvincing. In normal usage on a suspended thread it seems to be the user aspect that contains valid values. When you query a suspended thread that has no had the opportunity to start yet, the kernel side is filled.
|
|
|
|
| |
ksceKernelGetThreadIdList is a kernel service used to query and obtain the number of thread within a process.
|
| |
|
|
|
|
|
|
| |
* Some new nids
* Change order
|
|
|
| |
and changed ksceKernelEnterProcess to ksceKernelSetProcessId
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix #7
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add ksceSysconCmdSync NID
|
| |
|
| |
|
| |
|
| |
|
|
* Added some kernel headers
* Modified kernel headers
* Added suprx loading args to headers
* Added kernel modulemgr load/stop nids
* Added struct for versioninfo
* Added sceKernelMemcpyKernelToUser
* Added SceSblACMgr
* Added syscall entry/exit stubs
* Added strncpy u2k/k2u functions
* Wrong offset for version
* More kernel adds
* Added sceKernelQueueLoadModuleForPid
* Added sceKernelGetSystemSwVersion to user headers
* Added sceKernelStrncpyUserForPid
* Added a couple more kernel apis
|