SceVeneziaWrapper: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Swapped Module <-> Library, see revision 1.1 under "Revision History" of "Vita SDK specifications" (https://wiki.henkaku.xyz/vita/File:Vita_SDK_specifications.pdf))
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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 ==
== Module ==


=== Known NIDs ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! Name !! World !! Privilege !! NID
! Version !! World !! Privilege
|-
|-
| 1.69 || SceVeneziaWrapper || Non-secure || Kernel || 0x122350B8
| 0.990.030-1.692.000 || Non-secure || Kernel
|}
|}
'''For the equivalent of this module on System Software versions more recent than 1.692.000, see [[SceCodecEngineWrapper]].'''


== Libraries ==
== Libraries ==
Line 17: Line 20:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 1.69 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
| 0.990.030-1.692.000 || [[SceVeneziaWrapper#SceVeneziaWrapperForDriver|SceVeneziaWrapperForDriver]] || Non-secure || Kernel || 0x4F5231A4
|-
|-
| 1.69 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
| 0.990.030-1.692.000 || [[SceVeneziaWrapper#SceVeneziaWrapper|SceVeneziaWrapper]] || Non-secure || User || 0x2B2DA8E1
|}
|}


== SceVeneziaWrapperForDriver ==
== SceVeneziaWrapperForDriver ==
=== sceVeneziaGetVThreadProcessingResourceForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990.000-1.692.000 || 0x788D332A
|}
=== sceVeneziaIsProcessSuspendedForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990.000-1.692.000 || 0x97938556
|}
=== sceVeneziaMemcpyChainForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990.000-1.692.000 || 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.000-1.692.000 || 0x2B78C6D2
|}
=== sceVeneziaConvertVirtualToPhysicalForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990.000-1.692.000 || 0x8BC041CA
|}
=== sceVeneziaConvertPhysicalToVirtualForDriver ===
{| class="wikitable"
|-
! Version !! NID
|-
| .990.000-1.692.000 || 0x64DFA0A9
|}


== SceVeneziaWrapper ==
== SceVeneziaWrapper ==
Line 31: Line 98:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x3DCBDCA
| 0.990-1.692.000 || 0x03DCBDCA
|}
|}
=== _sceCodecEngineChangeNumWorkerCoresMax ===
=== _sceCodecEngineChangeNumWorkerCoresMax ===
{| class="wikitable"
{| class="wikitable"
Line 38: Line 106:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4BA9415
| 0.990-1.692.000 || 0x04BA9415
|}
|}
=== _sceCodecEnginePmonStop ===
=== _sceCodecEnginePmonStop ===
{| class="wikitable"
{| class="wikitable"
Line 45: Line 114:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x4D5F36B
| 0.990-1.692.000 || 0x04D5F36B
|}
|}
=== _sceCodecEngineGetMemoryState ===
=== _sceCodecEngineGetMemoryState ===
{| class="wikitable"
{| class="wikitable"
Line 52: Line 122:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x1E9E5A79
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0x1E9E5A79
|}
|}
=== _sceCodecEngineGetProcessorLoad ===
=== _sceCodecEngineGetProcessorLoad ===
{| class="wikitable"
{| class="wikitable"
Line 59: Line 132:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x241B194B
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0x241B194B
|}
|}
=== _sceCodecEngineChangeNumWorkerCoresDefault ===
=== _sceCodecEngineChangeNumWorkerCoresDefault ===
{| class="wikitable"
{| class="wikitable"
Line 66: Line 142:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x362E9415
| 0.990-1.692.000 || 0x362E9415
|}
|}
=== _sceCodecEnginePmonGetProcessorLoad ===
=== _sceCodecEnginePmonGetProcessorLoad ===
{| class="wikitable"
{| class="wikitable"
Line 73: Line 150:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x3EBA4982
| 0.990-1.692.000 || 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 167:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x489FF965
| 0.990-1.692.000 || 0x489FF965
|}
|}
=== _sceCodecEnginePmonStart ===
=== _sceCodecEnginePmonStart ===
{| class="wikitable"
{| class="wikitable"
Line 87: Line 175:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x6AF71F08
| 0.990-1.692.000 || 0x6AF71F08
|}
|}
=== _sceCodecEngineChangeNumWorkerCores ===
=== _sceCodecEngineChangeNumWorkerCores ===
{| class="wikitable"
{| class="wikitable"
Line 94: Line 183:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x7E5E1F38
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0x7E5E1F38
|}
|}
=== _sceCodecEngineResetNumRpcCalled ===
=== _sceCodecEngineResetNumRpcCalled ===
{| class="wikitable"
{| class="wikitable"
Line 101: Line 193:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x8EFF2DAA
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0x8EFF2DAA
|}
|}
=== _sceCodecEngineGetNumRpcCalled ===
=== _sceCodecEngineGetNumRpcCalled ===
{| class="wikitable"
{| class="wikitable"
Line 108: Line 203:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0x9B157692
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0x9B157692
|}
|}
=== _sceCodecEngineCloseUnmapMemBlock ===
=== _sceCodecEngineCloseUnmapMemBlock ===
{| class="wikitable"
{| class="wikitable"
Line 115: Line 213:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xAD30912D
| 0.990-1.692.000 || 0xAD30912D
|}
|}
=== _sceCodecEngineOpenUnmapMemBlock ===
=== _sceCodecEngineOpenUnmapMemBlock ===
{| class="wikitable"
{| class="wikitable"
Line 122: Line 221:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xB0E654EE
| 0.990-1.692.000 || 0xB0E654EE
|}
|}
=== _sceCodecEnginePmonReset ===
=== _sceCodecEnginePmonReset ===
{| class="wikitable"
{| class="wikitable"
Line 129: Line 229:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xCA79BFC4
| 0.990-1.692.000 || 0xCA79BFC4
|}
|}
=== _sceCodecEngineSetClockFrequency ===
=== _sceCodecEngineSetClockFrequency ===
{| class="wikitable"
{| class="wikitable"
Line 136: Line 237:
! Version !! NID
! Version !! NID
|-
|-
| 1.69 || 0xDE5EF6CC
| 0.990 || not present
|-
| 1.000.071-1.692.000 || 0xDE5EF6CC
|}
|}
[[Category:ARM]]
[[Category:Kernel]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 01:16, 9 August 2023

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

Version World Privilege
0.990.030-1.692.000 Non-secure Kernel

For the equivalent of this module on System Software versions more recent than 1.692.000, see SceCodecEngineWrapper.

Libraries

Known NIDs

Version Name World Visibility NID
0.990.030-1.692.000 SceVeneziaWrapperForDriver Non-secure Kernel 0x4F5231A4
0.990.030-1.692.000 SceVeneziaWrapper Non-secure User 0x2B2DA8E1

SceVeneziaWrapperForDriver

sceVeneziaGetVThreadProcessingResourceForDriver

Version NID
0.990.000-1.692.000 0x788D332A

sceVeneziaIsProcessSuspendedForDriver

Version NID
0.990.000-1.692.000 0x97938556

sceVeneziaMemcpyChainForDriver

Version NID
0.990.000-1.692.000 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.000-1.692.000 0x2B78C6D2

sceVeneziaConvertVirtualToPhysicalForDriver

Version NID
0.990.000-1.692.000 0x8BC041CA

sceVeneziaConvertPhysicalToVirtualForDriver

Version NID
.990.000-1.692.000 0x64DFA0A9

SceVeneziaWrapper

_sceCodecEngineAllocMemoryFromUnmapMemBlock

Version NID
0.990-1.692.000 0x03DCBDCA

_sceCodecEngineChangeNumWorkerCoresMax

Version NID
0.990-1.692.000 0x04BA9415

_sceCodecEnginePmonStop

Version NID
0.990-1.692.000 0x04D5F36B

_sceCodecEngineGetMemoryState

Version NID
0.990 not present
1.000.071-1.692.000 0x1E9E5A79

_sceCodecEngineGetProcessorLoad

Version NID
0.990 not present
1.000.071-1.692.000 0x241B194B

_sceCodecEngineChangeNumWorkerCoresDefault

Version NID
0.990-1.692.000 0x362E9415

_sceCodecEnginePmonGetProcessorLoad

Version NID
0.990-1.692.000 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.692.000 0x489FF965

_sceCodecEnginePmonStart

Version NID
0.990-1.692.000 0x6AF71F08

_sceCodecEngineChangeNumWorkerCores

Version NID
0.990 not present
1.000.071-1.692.000 0x7E5E1F38

_sceCodecEngineResetNumRpcCalled

Version NID
0.990 not present
1.000.071-1.692.000 0x8EFF2DAA

_sceCodecEngineGetNumRpcCalled

Version NID
0.990 not present
1.000.071-1.692.000 0x9B157692

_sceCodecEngineCloseUnmapMemBlock

Version NID
0.990-1.692.000 0xAD30912D

_sceCodecEngineOpenUnmapMemBlock

Version NID
0.990-1.692.000 0xB0E654EE

_sceCodecEnginePmonReset

Version NID
0.990-1.692.000 0xCA79BFC4

_sceCodecEngineSetClockFrequency

Version NID
0.990 not present
1.000.071-1.692.000 0xDE5EF6CC