Changes

Jump to navigation Jump to search
* Optional parameter of sceKernelAllocMemBlock for FWs <=0.940.
*/
typedef struct SceKernelAllocMemBlockOpt0940 {// size is 0x14 on FW 0.940-0.990
SceSize size; /**< Size of this structure */
SceUInt32 attr; /**< Attributes field */
* Option parameter of sceKernelAllocMemBlock
*/
typedef struct SceKernelAllocMemBlockOpt {// size is 0x14/0x38/0x3C/0x40 on FW 3.60
/**
* Size of this structure
SceSize size; // Size of this structure
uint32_t unk_4;
uint32_t SceSize alignment; // ex: 0x10
uint32_t unk_C; // ex: 0x20
uint32_t unk_10;
<source lang="C">
// *type ORed values:0x00002 : Shell0x00004 : Game0x00005 : PhyCont0x00060 : CDialog0x10000 for : Lpddr2Main, 0x30000 for : Cdram seen values:0x10002 : ShellLpddr2Main (shared)0x10004 : GameLpddr2Main0x10005 : PhyContLpddr2Main0x10064 : GameCDialogLpddr2Main 0x30002 : ShellCdram0x30004 : GameCdram*/ 
int sceKernelCreatePhyMemPartByPbaseForKernel(const char *name, int type, void *pbase, SceSize psize, SceKernelPhyMemPart **ppPhyMemPart);
</source>
<source lang="C">int sceUIDReferObjectWithLevelForKernel(SceUID uid, SceUInt32 level, SceKernelObject **ppEntry);</source>
 
=== sceGUIDReferForKernel ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.60 || 0xB3E2AA7A
|}
 
<source lang="C">int sceGUIDReferForKernel(SceUID pid, int guid);</source>
=== sceKernelPhysicalMemWriteForKernel ===
<source lang="C">int SceSysmemForKernel_153A08A0(void *addr);</source>
 
=== SceSysmemForKernel_942D15FC ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.60 || 0x942D15FC
|}
 
Used to get GUID by name.
 
<source lang="C">int SceSysmemForKernel_942D15FC(const char *name, SceSize namelen, int unk_guid_global_value);</source>
 
=== SceSysmemForKernel_C8672A3D ===
{| class="wikitable"
|-
! Version !! NID
|-
| 3.60 || 0xC8672A3D
|}
 
<source lang="C">int SceSysmemForKernel_C8672A3D(int unk);</source>
== SceSysmemForDriver ==
Gets addresses to 2 functions.
<source lang="C">// On 3.60, functions addresses are as following:*func0 = 0x810227EC;*func1 = 0x81022B40;return result;</source> <source lang="c">int void SceCpuForKernel_9A3281C0(void *uintptr_t *func0pMemcpyUserToKernel, void *uintptr_t *func1pFunc2);</source>
=== SceCpuForKernel_9CB82EB0 ===
<source lang="C">SceUID SceSysrootForKernel_340575CB(void);</source>
 
=== sceKernelSysrootSetCheckRemapCodeForUserFuncForKernel ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990-3.60 || 0xBE1EF51C
|}
 
Register sceKernelSysrootCheckRemapCodeForUserForKernel callback.
 
<source lang="C">int sceKernelSysrootSetCheckRemapCodeForUserFuncForKernel(void *func);</source>
 
=== sceKernelSysrootCheckRemapCodeForUserForKernel ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990-3.60 || 0xF8769E86
|}
 
=== sceKernelAllocCurrentProcessHeapForKernel ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990-3.60 || 0x2F75C1DC
|}
 
<source lang="C">void *sceKernelAllocCurrentProcessHeapForKernel(SceSize size);</source>
=== sceKernelSysrootCpuCoreSyncAllForKernel ===
| 0.990-3.60 || 0x73601453
|}
 
<source lang="C">int sceKernelSysrootGetCurrentThreadAttrForKernel(SceUint32 *pThrAttr);</source>
=== sceKernelGetCurrentTimeForKernel ===
<source lang="C">int sceKernelSysrootGetProcessTitleIdForKernel(SceUID pid, char *title_id, SceSize len);</source>
=== sceKernelSetSysrootGetLibraryNameByNIDFuncForKernel sceKernelSysrootSetGetLibraryNameByNIDFuncForKernel ===
{| class="wikitable"
|-
|}
<source lang="c">int sceKernelSetSysrootGetLibraryNameByNIDFuncForKernelsceKernelSysrootSetGetLibraryNameByNIDFuncForKernel(void *func);</source>
=== sceKernelSysrootGetLibraryNameByNIDForKernel ===
<source lang="C">void *sceKernelSysrootGetVbaseResetVectorForKernel(void);</source>
=== sceSysrootSetLicMgrGetLicenseStatusFuncForKernel sceKernelSysrootSetLicMgrGetLicenseStatusFuncForKernel ===
{| class="wikitable"
|-
Normally, sceSblLicMgrGetLicenseStatusForDriver of SceSblPostSsMgr module is registered.
<source lang="c">int sceSysrootSetLicMgrGetLicenseStatusFuncForKernelsceKernelSysrootSetLicMgrGetLicenseStatusFuncForKernel(int (__cdecl *sceSblLicMgrGetLicenseStatusForDriver)());</source>
=== sceKernelSysrootLicMgrGetLicenseStatusForKernel ===
<source>SceUID sceKernelSysrootGetShellPidForDriver(void);</source>
 
=== sceKernelSysrootCheckRemapCodeForUserForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990-3.60 || 0xF8769E86
|}
=== sceKernelSysrootAppMgrSpawnProcessForDriver ===
| 3.60 || 0xD428CC2A
|}
 
cp_timestamp_2 is gotten from SceKblParam.
 
<source lang="C">int sceMt19937GlobalInitForDriver(uint32_t cp_timestamp_2);</source>
=== sceMt19937GlobalUIntInRangeForDriver ===

Navigation menu

MediaWiki spam blocked by CleanTalk.