Difference between revisions of "SceVeneziaWrapper"

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "== Library == === Known NIDs === {| class="wikitable" |- ! Version !! Name !! World !! Privilege !! NID |- | 1.69 || SceVeneziaWrapper || Non-secure || Kernel || 0x122350B8 |...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Library ==
+
On PS Vita, the [[Venezia]] processor works with a software framework named Codec Engine (CE). Codec Engine is also used by Texas Instruments in other devices. See [https://web.archive.org/web/20210114163743/https://processors.wiki.ti.com/index.php/Category:Codec_Engine TI Codec Engine documentation].
 +
 
 +
== Module ==
  
 
=== Known NIDs ===
 
=== Known NIDs ===
Line 9: Line 11:
 
|}
 
|}
  
== Modules ==
+
== Libraries ==
  
 
=== Known NIDs ===
 
=== Known NIDs ===
Line 17: Line 19:
 
! Version !! Name !! World !! Visibility !! NID
 
! Version !! Name !! World !! Visibility !! NID
 
|-
 
|-
| 1.69 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
+
| 0.990-1.69 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
 
|-
 
|-
| 1.69 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
+
| 0.990-1.69 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
 
|}
 
|}
  
 
== SceVeneziaWrapperForDriver ==
 
== SceVeneziaWrapperForDriver ==
 +
 +
=== sceVeneziaGetVThreadProcessingResourceForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x788D332A
 +
|}
 +
 +
=== sceVeneziaIsProcessSuspendedForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x97938556
 +
|}
 +
 +
=== sceVeneziaMemcpyChainForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0xC32A88F7
 +
|}
 +
 +
<source lang="C">
 +
typedef struct SceVeneziaMemcpyChainParam { // size is 0x24 on FW 0.990
 +
    SceUInt32 unk_0; // mayse size or number of elements in the struct, must be greater or equals 9
 +
    SceUInt32 unk_4; // mayse size or number of elements in the struct, must be greater or equals 9
 +
    SceBool someId; // it affects which elements of the struct are used
 +
    SceUInt32 unk_C;
 +
    SceUInt32 unk_10;
 +
    SceUInt32 unk_14;
 +
    void *someSrc;
 +
    SceUInt32 unk_1C;
 +
    SceSize someSize;
 +
} SceVeneziaMemcpyChainParam;
 +
 +
int sceVeneziaMemcpyChainForDriver(SceVeneziaMemcpyChainParam *pParam);
 +
</source>
 +
 +
=== sceVipDmacMemcpyBlockingForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x2B78C6D2
 +
|}
 +
 +
=== sceVeneziaConvertVirtualToPhysicalForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x8BC041CA
 +
|}
 +
 +
=== sceVeneziaConvertPhysicalToVirtualForDriver ===
 +
{| class="wikitable"
 +
|-
 +
! Version !! NID
 +
|-
 +
| 0.990 || 0x64DFA0A9
 +
|}
  
 
== SceVeneziaWrapper ==
 
== SceVeneziaWrapper ==
Line 31: Line 97:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x3DCBDCA
+
| 0.990-1.69 || 0x03DCBDCA
 
|}
 
|}
 +
 
=== _sceCodecEngineChangeNumWorkerCoresMax ===
 
=== _sceCodecEngineChangeNumWorkerCoresMax ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 105:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x4BA9415
+
| 0.990-1.69 || 0x04BA9415
 
|}
 
|}
 +
 
=== _sceCodecEnginePmonStop ===
 
=== _sceCodecEnginePmonStop ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 45: Line 113:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x4D5F36B
+
| 0.990-1.69 || 0x04D5F36B
 
|}
 
|}
 +
 
=== _sceCodecEngineGetMemoryState ===
 
=== _sceCodecEngineGetMemoryState ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0x1E9E5A79
 
| 1.69 || 0x1E9E5A79
 
|}
 
|}
 +
 
=== _sceCodecEngineGetProcessorLoad ===
 
=== _sceCodecEngineGetProcessorLoad ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0x241B194B
 
| 1.69 || 0x241B194B
 
|}
 
|}
 +
 
=== _sceCodecEngineChangeNumWorkerCoresDefault ===
 
=== _sceCodecEngineChangeNumWorkerCoresDefault ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 66: Line 141:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x362E9415
+
| 0.990-1.69 || 0x362E9415
 
|}
 
|}
 +
 
=== _sceCodecEnginePmonGetProcessorLoad ===
 
=== _sceCodecEnginePmonGetProcessorLoad ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 73: Line 149:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x3EBA4982
+
| 0.990-1.69 || 0x3EBA4982
 
|}
 
|}
 +
 +
<source lang="C">
 +
typedef struct SceCodecEnginePmonGetProcessorLoadParam { // size is 8 on FW 0.990
 +
    SceSize outSize; // must be greater than 8
 +
    SceUInt32 reserved;
 +
} SceCodecEnginePmonGetProcessorLoadParam;
 +
 +
int _sceCodecEnginePmonGetProcessorLoad(void *outBuf, SceCodecEnginePmonGetProcessorLoadParam *pParam);
 +
</source>
 +
 
=== _sceCodecEngineFreeMemoryFromUnmapMemBlock ===
 
=== _sceCodecEngineFreeMemoryFromUnmapMemBlock ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 80: Line 166:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x489FF965
+
| 0.990-1.69 || 0x489FF965
 
|}
 
|}
 +
 
=== _sceCodecEnginePmonStart ===
 
=== _sceCodecEnginePmonStart ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 87: Line 174:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0x6AF71F08
+
| 0.990-1.69 || 0x6AF71F08
 
|}
 
|}
 +
 
=== _sceCodecEngineChangeNumWorkerCores ===
 
=== _sceCodecEngineChangeNumWorkerCores ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0x7E5E1F38
 
| 1.69 || 0x7E5E1F38
 
|}
 
|}
 +
 
=== _sceCodecEngineResetNumRpcCalled ===
 
=== _sceCodecEngineResetNumRpcCalled ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0x8EFF2DAA
 
| 1.69 || 0x8EFF2DAA
 
|}
 
|}
 +
 
=== _sceCodecEngineGetNumRpcCalled ===
 
=== _sceCodecEngineGetNumRpcCalled ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0x9B157692
 
| 1.69 || 0x9B157692
 
|}
 
|}
 +
 
=== _sceCodecEngineCloseUnmapMemBlock ===
 
=== _sceCodecEngineCloseUnmapMemBlock ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 115: Line 212:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0xAD30912D
+
| 0.990-1.69 || 0xAD30912D
 
|}
 
|}
 +
 
=== _sceCodecEngineOpenUnmapMemBlock ===
 
=== _sceCodecEngineOpenUnmapMemBlock ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 122: Line 220:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0xB0E654EE
+
| 0.990-1.69 || 0xB0E654EE
 
|}
 
|}
 +
 
=== _sceCodecEnginePmonReset ===
 
=== _sceCodecEnginePmonReset ===
 
{| class="wikitable"
 
{| class="wikitable"
Line 129: Line 228:
 
! Version !! NID
 
! Version !! NID
 
|-
 
|-
| 1.69 || 0xCA79BFC4
+
| 0.990-1.69 || 0xCA79BFC4
 
|}
 
|}
 +
 
=== _sceCodecEngineSetClockFrequency ===
 
=== _sceCodecEngineSetClockFrequency ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Version !! NID
 
! Version !! NID
 +
|-
 +
| 0.990 || not present
 
|-
 
|-
 
| 1.69 || 0xDE5EF6CC
 
| 1.69 || 0xDE5EF6CC
 
|}
 
|}
[[Category:Libraries]]
+
 
 +
 
 +
[[Category:Modules]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Latest revision as of 21:47, 15 May 2021

On PS Vita, the Venezia processor works with a software framework named Codec Engine (CE). Codec Engine is also used by Texas Instruments in other devices. See TI Codec Engine documentation.

Module

Known NIDs

Version Name World Privilege NID
1.69 SceVeneziaWrapper Non-secure Kernel 0x122350B8

Libraries

Known NIDs

Version Name World Visibility NID
0.990-1.69 SceVeneziaWrapperForDriver Non-secure Kernel 0x4F5231A4
0.990-1.69 SceVeneziaWrapper Non-secure User 0x2B2DA8E1

SceVeneziaWrapperForDriver

sceVeneziaGetVThreadProcessingResourceForDriver

Version NID
0.990 0x788D332A

sceVeneziaIsProcessSuspendedForDriver

Version NID
0.990 0x97938556

sceVeneziaMemcpyChainForDriver

Version NID
0.990 0xC32A88F7
typedef struct SceVeneziaMemcpyChainParam { // size is 0x24 on FW 0.990
    SceUInt32 unk_0; // mayse size or number of elements in the struct, must be greater or equals 9
    SceUInt32 unk_4; // mayse size or number of elements in the struct, must be greater or equals 9
    SceBool someId; // it affects which elements of the struct are used
    SceUInt32 unk_C;
    SceUInt32 unk_10;
    SceUInt32 unk_14;
    void *someSrc;
    SceUInt32 unk_1C;
    SceSize someSize;
} SceVeneziaMemcpyChainParam;

int sceVeneziaMemcpyChainForDriver(SceVeneziaMemcpyChainParam *pParam);

sceVipDmacMemcpyBlockingForDriver

Version NID
0.990 0x2B78C6D2

sceVeneziaConvertVirtualToPhysicalForDriver

Version NID
0.990 0x8BC041CA

sceVeneziaConvertPhysicalToVirtualForDriver

Version NID
0.990 0x64DFA0A9

SceVeneziaWrapper

_sceCodecEngineAllocMemoryFromUnmapMemBlock

Version NID
0.990-1.69 0x03DCBDCA

_sceCodecEngineChangeNumWorkerCoresMax

Version NID
0.990-1.69 0x04BA9415

_sceCodecEnginePmonStop

Version NID
0.990-1.69 0x04D5F36B

_sceCodecEngineGetMemoryState

Version NID
0.990 not present
1.69 0x1E9E5A79

_sceCodecEngineGetProcessorLoad

Version NID
0.990 not present
1.69 0x241B194B

_sceCodecEngineChangeNumWorkerCoresDefault

Version NID
0.990-1.69 0x362E9415

_sceCodecEnginePmonGetProcessorLoad

Version NID
0.990-1.69 0x3EBA4982
typedef struct SceCodecEnginePmonGetProcessorLoadParam { // size is 8 on FW 0.990
    SceSize outSize; // must be greater than 8
    SceUInt32 reserved;
} SceCodecEnginePmonGetProcessorLoadParam;

int _sceCodecEnginePmonGetProcessorLoad(void *outBuf, SceCodecEnginePmonGetProcessorLoadParam *pParam);

_sceCodecEngineFreeMemoryFromUnmapMemBlock

Version NID
0.990-1.69 0x489FF965

_sceCodecEnginePmonStart

Version NID
0.990-1.69 0x6AF71F08

_sceCodecEngineChangeNumWorkerCores

Version NID
0.990 not present
1.69 0x7E5E1F38

_sceCodecEngineResetNumRpcCalled

Version NID
0.990 not present
1.69 0x8EFF2DAA

_sceCodecEngineGetNumRpcCalled

Version NID
0.990 not present
1.69 0x9B157692

_sceCodecEngineCloseUnmapMemBlock

Version NID
0.990-1.69 0xAD30912D

_sceCodecEngineOpenUnmapMemBlock

Version NID
0.990-1.69 0xB0E654EE

_sceCodecEnginePmonReset

Version NID
0.990-1.69 0xCA79BFC4

_sceCodecEngineSetClockFrequency

Version NID
0.990 not present
1.69 0xDE5EF6CC