Difference between revisions of "SceGpuEs4"

From Vita Development Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 22: Line 22:
  
 
== SceGpuEs4ForDriver ==
 
== SceGpuEs4ForDriver ==
 +
 +
=== DevInitSGXPart2KM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x49AD869F
 +
|}
 +
 +
=== OSAllocMem ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x68815236
 +
|}
 +
 +
=== OSFreeMem ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x0BB49287
 +
|}
 +
 +
=== OSGetCurrentProcessIDKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x6C6F2BEA
 +
|}
 +
 +
=== OSMemCopy ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x771EC61E
 +
|}
 +
 +
=== OSMemSet ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x50494916
 +
|}
 +
 +
=== OSProcHasPrivSrvInit ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x302C7C5F
 +
|}
 +
 +
=== PVRSRVAcquireDeviceDataKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xE6B866FD
 +
|}
 +
 +
=== PVRSRVAllocDeviceMemKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x623E50D0
 +
|}
 +
 +
=== PVRSRVEnumerateDevicesKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xEC5163B0
 +
|}
 +
 +
=== PVRSRVFinaliseSystem ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x399BC738
 +
|}
 +
 +
=== PVRSRVFreeDeviceMemKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xD9CE787A
 +
|}
 +
 +
=== PVRSRVGetInitServerState ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x3AF6FE80
 +
|}
 +
 +
=== PVRSRVGetMiscInfoKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x8FB57186
 +
|}
 +
 +
<source lang="C">int PVRSRVGetMiscInfoKM(void *info);</source>
 +
 +
=== PVRSRVPerProcessData ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x3DAB1F7F
 +
|}
 +
 +
=== PVRSRVPerProcessDataConnect ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x1A53327D
 +
|}
 +
 +
=== PVRSRVPerProcessDataDisconnect ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xB4A2B60F
 +
|}
 +
 +
=== PVRSRVSetInitServerState ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xDCD78852
 +
|}
 +
 +
=== SGXGetInfoForSrvinitKM ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x668B1A60
 +
|}
 +
 +
=== sceGpuGetRegisterDump ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x14ECCFCD
 +
|}
 +
 +
<source lang="C">int sceGpuGetRegisterDump(void *dst, SceSize size);</source>
 +
 +
=== sceGpuMmuMapMemory ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0xEF4B16D3
 +
|}
 +
 +
<source lang="C">int sceGpuMmuMapMemory(void *mmuContext, void *vaddr, void *base, SceSize size, SceUInt32 flags);</source>
 +
 +
=== sceGpuMmuUnmapMemory ===
 +
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x9AAAD91C
 +
|}
 +
 +
<source lang="C">int sceGpuMmuUnmapMemory(void *mmuContext, void * vaddr, SceSize size);</source>
 +
 +
=== sceGpuSignalWaitLockup ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x40E292D7
 +
|}
 +
 +
=== SceGpuEs4ForDriver_990338F6 ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 3.60 || 0x990338F6
 +
|}
 +
 +
Returns error 3 if pOut is NULL.
 +
 +
<source lang="C">
 +
typedef struct SceGpuInfo { // size is 0x20 on FW 3.60
 +
SceUInt32 SoCRevision; // soc_revision & 0x1ffff. scePervasiveGetSoCRevisionForDriver
 +
SceUInt32 GpuClockFrequencyInternal_core; // scePowerGetGpuClockFrequencyInternalForDriver
 +
SceUInt32 GpuClockFrequencyInternal_mp; // scePowerGetGpuClockFrequencyInternalForDriver
 +
SceUInt32 GpuXbarClockFrequency; // scePowerGetGpuXbarClockFrequencyForDriver
 +
SceUInt32 ArmClockFrequency; // scePowerGetArmClockFrequencyForDriver
 +
SceUInt32 TimebaseClockFrequency; // sceSysrootGetTimebaseClockFrequencyForDriver
 +
SceUInt32 GpuClockFrequency; // scePowerGetGpuClockFrequencyForDriver
 +
SceUInt32 BusClockFrequency; // scePowerGetBusClockFrequencyForDriver
 +
} SceGpuInfo;
 +
 +
int SceGpuEs4ForDriver_990338F6(SceGpuInfo *pInfo, SceInt32 *corefreq, SceInt32 *mpfreq);
 +
</source>
  
 
== SceGpuEs4ForUser ==
 
== SceGpuEs4ForUser ==

Latest revision as of 15:33, 28 May 2022

Module

Version World Privilege
1.69 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.69 SceGpuEs4ForDriver Non-secure Kernel 0x54802381
1.69 SceGpuEs4ForUser Non-secure User 0x6EC1443D

SceGpuEs4ForDriver

DevInitSGXPart2KM

Version NID
3.60 0x49AD869F

OSAllocMem

Version NID
3.60 0x68815236

OSFreeMem

Version NID
3.60 0x0BB49287

OSGetCurrentProcessIDKM

Version NID
3.60 0x6C6F2BEA

OSMemCopy

Version NID
3.60 0x771EC61E

OSMemSet

Version NID
3.60 0x50494916

OSProcHasPrivSrvInit

Version NID
3.60 0x302C7C5F

PVRSRVAcquireDeviceDataKM

Version NID
3.60 0xE6B866FD

PVRSRVAllocDeviceMemKM

Version NID
3.60 0x623E50D0

PVRSRVEnumerateDevicesKM

Version NID
3.60 0xEC5163B0

PVRSRVFinaliseSystem

Version NID
3.60 0x399BC738

PVRSRVFreeDeviceMemKM

Version NID
3.60 0xD9CE787A

PVRSRVGetInitServerState

Version NID
3.60 0x3AF6FE80

PVRSRVGetMiscInfoKM

Version NID
3.60 0x8FB57186
int PVRSRVGetMiscInfoKM(void *info);

PVRSRVPerProcessData

Version NID
3.60 0x3DAB1F7F

PVRSRVPerProcessDataConnect

Version NID
3.60 0x1A53327D

PVRSRVPerProcessDataDisconnect

Version NID
3.60 0xB4A2B60F

PVRSRVSetInitServerState

Version NID
3.60 0xDCD78852

SGXGetInfoForSrvinitKM

Version NID
3.60 0x668B1A60

sceGpuGetRegisterDump

Version NID
3.60 0x14ECCFCD
int sceGpuGetRegisterDump(void *dst, SceSize size);

sceGpuMmuMapMemory

Version NID
3.60 0xEF4B16D3
int sceGpuMmuMapMemory(void *mmuContext, void *vaddr, void *base, SceSize size, SceUInt32 flags);

sceGpuMmuUnmapMemory

Version NID
3.60 0x9AAAD91C
int sceGpuMmuUnmapMemory(void *mmuContext, void * vaddr, SceSize size);

sceGpuSignalWaitLockup

Version NID
3.60 0x40E292D7

SceGpuEs4ForDriver_990338F6

Version NID
3.60 0x990338F6

Returns error 3 if pOut is NULL.

typedef struct SceGpuInfo { // size is 0x20 on FW 3.60
SceUInt32 SoCRevision; // soc_revision & 0x1ffff. scePervasiveGetSoCRevisionForDriver
SceUInt32 GpuClockFrequencyInternal_core; // scePowerGetGpuClockFrequencyInternalForDriver
SceUInt32 GpuClockFrequencyInternal_mp; // scePowerGetGpuClockFrequencyInternalForDriver
SceUInt32 GpuXbarClockFrequency; // scePowerGetGpuXbarClockFrequencyForDriver
SceUInt32 ArmClockFrequency; // scePowerGetArmClockFrequencyForDriver
SceUInt32 TimebaseClockFrequency; // sceSysrootGetTimebaseClockFrequencyForDriver
SceUInt32 GpuClockFrequency; // scePowerGetGpuClockFrequencyForDriver
SceUInt32 BusClockFrequency; // scePowerGetBusClockFrequencyForDriver
} SceGpuInfo;

int SceGpuEs4ForDriver_990338F6(SceGpuInfo *pInfo, SceInt32 *corefreq, SceInt32 *mpfreq);

SceGpuEs4ForUser

sceGpuSignalWait

Version NID
1.69 0x5BCE11C

PVRSRVOpen

Version NID
0.990-1.69 0x5E943288

sceGpuUnregisterSalvage

Version NID
1.69 0x807202B7

PVRSRVRelease

Version NID
0.990-1.69 0x85C328DF

sceGpuRegisterSalvage

Version NID
1.69 0x8E0D9D40

PVRSRV_BridgeDispatchKM

Version NID
0.990-1.69 0xCA19ABCD

sceGpuSignalWaitLockup

Version NID
1.69 0xE0DECA6E