SceCodecEngineWrapper: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 18: Line 18:
! Version !! Name !! World !! Visibility !! NID
! Version !! Name !! World !! Visibility !! NID
|-
|-
| 3.60-3.74 || [[SceCodecEngineWrapper#SceCodecEngineWrapperForDriver|SceCodecEngineWrapperForDriver]] || Non-secure || Kernel || 0x51593F20
| 1.800.071-3.740.011 || [[SceCodecEngineWrapper#SceCodecEngineWrapperForDriver|SceCodecEngineWrapperForDriver]] || Non-secure || Kernel || 0x51593F20
|-
|-
| 3.60-3.74 || [[SceCodecEngineWrapper#SceCodecEngineWrapperForDebugger|SceCodecEngineWrapperForDebugger]] || Non-secure || Kernel || 0x615771E2
| 1.800.071-3.740.011 || [[SceCodecEngineWrapper#SceCodecEngineWrapperForDebugger|SceCodecEngineWrapperForDebugger]] || Non-secure || Kernel || 0x615771E2
|-
|-
| 3.60-3.74 || [[SceCodecEngineWrapper#SceCodecEngineWrapper|SceCodecEngineWrapper]] || Non-secure || User || 0x5C9EE5B9
| 1.800.071-3.740.011 || [[SceCodecEngineWrapper#SceCodecEngineWrapper|SceCodecEngineWrapper]] || Non-secure || User || 0x5C9EE5B9
|}
|}



Revision as of 19:22, 28 April 2023

Module

For the firmware 1.69 and lower version of this module, see SceVeneziaWrapper.

Version World Privilege
3.60-3.65 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.800.071-3.740.011 SceCodecEngineWrapperForDriver Non-secure Kernel 0x51593F20
1.800.071-3.740.011 SceCodecEngineWrapperForDebugger Non-secure Kernel 0x615771E2
1.800.071-3.740.011 SceCodecEngineWrapper Non-secure User 0x5C9EE5B9

Types

typedef void* SceVeneziaRpcMemoryContext;

typedef struct SceVeneziaThunkArg {
	void *pVThreadProcessingResource;
	void *userArg2;
	void *userArg3;
	void *userArg4;
} SceVeneziaThunkArg;

typedef struct SceVeneziaConvertOpt {
	int flags;
	unsigned int size;
} SceVeneziaConvertOpt;

typedef SceVoid(*SceVeneziaRpcMemoryCommBegin)(SceVeneziaRpcMemoryContext context, SceVeneziaThunkArg *in, SceVeneziaThunkArg *out);
typedef SceVoid(*SceVeneziaRpcMemoryCommEnd)(SceVeneziaRpcMemoryContext context);

SceCodecEngineWrapperForDriver

sceVeneziaInitRpcMemoryForDriver

Version NID
3.60-3.74 0x03EA6C2A

This is a guessed name.

int sceVeneziaInitRpcMemoryForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaConvertPhysicalToVirtualForDriver

Version NID
3.60-3.74 0x07C53B4E
int sceVeneziaConvertPhysicalToVirtualForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaUnlockProcessSuspendForDriver

Version NID
3.60-3.74 0x091B0231
int sceVeneziaUnlockProcessSuspendForDriver();

sceVeneziaRpcCallGenericThunk2ForDriver

Version NID
3.60-3.74 0x0D3BB164

This is a guessed name. Calls the same internal routine as sceVeneziaRpcCallGenericThunk with different arguments arragement.

int sceVeneziaRpcCallGenericThunk2ForDriver(unsigned int id, int arg1, int arg2);

sceVeneziaOpenPublicMemoryForDriver

Version NID
3.60-3.74 0x0F235F44
void *sceVeneziaOpenPublicMemoryForDriver(void *paddr, SceUInt32 size);

sceVeneziaTermRpcMemoryForDriver

Version NID
3.60-3.74 0x1C2BC9F7

This is a guessed name.

int sceVeneziaTermRpcMemoryForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaClosePublicMemoryForDriver

Version NID
3.60-3.74 0x26FAF6EC
void *sceVeneziaClosePublicMemoryForDriver(void *vnzVaddr, SceUInt32 size);

sceVeneziaHeapAllocForDriver

Version NID
3.60-3.74 0x2DD83BB0

This is a guessed name.

#define SCE_VENEZIA_HEAP_IMAGE_0	0 // First allocation paddr = 0x40963900, heap size = 0x80600
#define SCE_VENEZIA_HEAP_IMAGE		1 // First allocation paddr = 0x40A45700, heap size = 0x1BAA00
#define SCE_VENEZIA_HEAP_VRAM		2 // First allocation paddr = 0x20000000, heap size = 0x8000100

void *sceVeneziaHeapAllocForDriver(unsigned int heapType, int size);

sceVeneziaRpcCallGenericThunkForDriver

Version NID
3.60-3.74 0x391BD4FD
int sceVeneziaRpcCallGenericThunkForDriver(unsigned int id, SceVeneziaThunkArg *arg, SceVeneziaRpcMemoryCommBegin beginCallback, SceVeneziaRpcMemoryCommEnd endCallback);

sceVeneziaHeapFreeForDriver

Version NID
3.60-3.74 0x3C5E9CC3

This is a guessed name.

void sceVeneziaHeapFreeForDriver(unsigned int heapType, void *addr, int size);

sceVeneziaConvertVirtualToPhysicalForDriver

Version NID
3.60-3.74 0x47AED6FF
int sceVeneziaConvertVirtualToPhysicalForDriver(SceVeneziaRpcMemoryContext context, void *vaddr, unsigned int size, SceVeneziaConvertOpt *opt);

sceVeneziaGetVThreadProcessingResourceForDriver

Version NID
3.60-3.74 0x6A1184EA
void *sceVeneziaGetVThreadProcessingResourceForDriver(unsigned int key);

sceCodecEngineUnmapUserVAtoPAForDriver

Version NID
3.60-3.74 0x6D41287F
int sceCodecEngineUnmapUserVAtoPAForDriver(SceUID pid, SceUIntVAddr memory, void **paddr);

sceCodecEngineUnmapKernelVAtoUserVAForDriver

Version NID
3.60-3.74 0x744D4C3F
int sceCodecEngineUnmapKernelVAtoUserVAForDriver(SceUID pid, SceUIntVAddr kernelMemory, SceUIntVAddr *memory);

sceCodecEngineUnmapUserVAtoKernelVAForDriver

Version NID
3.60-3.74 0x82E378BD
int sceCodecEngineUnmapUserVAtoKernelVAForDriver(SceUID pid, SceUIntVAddr memory, SceUIntVAddr *kernelMemory);

sceCodecEngineUnmapPAtoUserVAForDriver

Version NID
3.60-3.74 0xBCDCEA13
int sceCodecEngineUnmapPAtoUserVAForDriver(SceUID pid, void *paddr, SceUIntVAddr *memory);

sceCodecEngineUnregisterUnmapMemoryForDriver

Version NID
3.60-3.74 0xC5478DD5
int sceCodecEngineUnregisterUnmapMemoryForDriver(SceUID pid, SceUIntVAddr memory, SceUInt32 size);

sceVeneziaConvertVirtualToPhysicalForVeneziaForDriver

Version NID
3.60-3.74 0xC7C150AE

This is a guessed name.

void *sceVeneziaConvertVirtualToPhysicalForVeneziaForDriver(void *vaddr);

sceVeneziaLockProcessSuspendForDriver

Version NID
3.60-3.74 0xCB8703D8
int sceVeneziaLockProcessSuspendForDriver();

sceVeneziaMemcpyChainForDriver

Version NID
3.60-3.74 0xD1F94D9D
int sceVeneziaMemcpyChainForDriver(SceVeneziaRpcMemoryContext context);

sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver

Version NID
3.60-3.74 0xF9495589

This is a guessed name. Used to convert return value of sceVeneziaHeapAlloc().

void *sceVeneziaConvertPhysicalToVirtualForVeneziaForDriver(void *paddr);

sceCodecEngineRegisterUnmapMemoryForDriver

Version NID
3.60-3.74 0xFBD4853E
int sceCodecEngineRegisterUnmapMemoryForDriver(SceUID pid, SceUIntVAddr memory, SceUInt32 size);

SceCodecEngineWrapperForDriver_0D140628

Version NID
3.60 0x0D140628

SceCodecEngineWrapperForDriver_0E38B133

Version NID
3.60 0x0E38B133

SceCodecEngineWrapperForDriver_16506603

Version NID
3.60 0x16506603

SceCodecEngineWrapperForDriver_18197103

Version NID
3.60 0x18197103

SceCodecEngineWrapperForDriver_2B74706E

Version NID
3.60 0x2B74706E

SceCodecEngineWrapperForDriver_2B7CC150

Version NID
3.60 0x2B7CC150

SceCodecEngineWrapperForDriver_30F6AFD4

Version NID
3.60 0x30F6AFD4

SceCodecEngineWrapperForDriver_3A79A935

Version NID
3.60 0x3A79A935

SceCodecEngineWrapperForDriver_54F39D1D

Version NID
3.60 0x54F39D1D

SceCodecEngineWrapperForDriver_62996F94

Version NID
3.60 0x62996F94

SceCodecEngineWrapperForDriver_6A3638A8

Version NID
3.60 0x6A3638A8

SceCodecEngineWrapperForDriver_7492DE05

Version NID
3.60 0x7492DE05

SceCodecEngineWrapperForDriver_86861877

Version NID
3.60 0x86861877

SceCodecEngineWrapperForDriver_8CD35820

Version NID
3.60 0x8CD35820

SceCodecEngineWrapperForDriver_8DEF9631

Version NID
3.60 0x8DEF9631

SceCodecEngineWrapperForDriver_8FE370E6

Version NID
3.60 0x8FE370E6

SceCodecEngineWrapperForDriver_91535820

Version NID
3.60 0x91535820

SceCodecEngineWrapperForDriver_972F0D0F

Version NID
3.60 0x972F0D0F

SceCodecEngineWrapperForDriver_9D3B1425

Version NID
3.60 0x9D3B1425

SceCodecEngineWrapperForDriver_9EB3D63E

Version NID
3.60 0x9EB3D63E

SceCodecEngineWrapperForDriver_B280BA55

Version NID
3.60 0xB280BA55

SceCodecEngineWrapperForDriver_B420ABAC

Version NID
3.60 0xB420ABAC

SceCodecEngineWrapperForDriver_B48B02A3

Version NID
3.60 0xB48B02A3

SceCodecEngineWrapperForDriver_BB02EB22

Version NID
3.60 0xBB02EB22

SceCodecEngineWrapperForDriver_BB388700

Version NID
3.60 0xBB388700

SceCodecEngineWrapperForDriver_EA88ABE5

Version NID
3.60 0xEA88ABE5

SceCodecEngineWrapperForDriver_F3F71CEF

Version NID
3.60 0xF3F71CEF

SceCodecEngineWrapperForDriver_FAF590A6

Version NID
3.60 0xFAF590A6

SceCodecEngineWrapperForDebugger

SceCodecEngineWrapperForDebugger_771190E7

Version NID
3.60 0x771190E7

SceCodecEngineWrapper

FUNCTION: SceCodecEngineWrapper_03DCBDCA
FUNCTION_NID: 0x03DCBDCA 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_04BA9415
FUNCTION_NID: 0x04BA9415 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_04D5F36B
FUNCTION_NID: 0x04D5F36B 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_1E9E5A79
FUNCTION_NID: 0x1E9E5A79 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_241B194B
FUNCTION_NID: 0x241B194B 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_362E9415
FUNCTION_NID: 0x362E9415 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_3EBA4982
FUNCTION_NID: 0x3EBA4982 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_489FF965
FUNCTION_NID: 0x489FF965 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_6AF71F08
FUNCTION_NID: 0x6AF71F08 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_7E5E1F38
FUNCTION_NID: 0x7E5E1F38 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_8EFF2DAA
FUNCTION_NID: 0x8EFF2DAA 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_9B157692
FUNCTION_NID: 0x9B157692 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_AD30912D
FUNCTION_NID: 0xAD30912D 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_B0E654EE
FUNCTION_NID: 0xB0E654EE 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_CA79BFC4
FUNCTION_NID: 0xCA79BFC4 1.800.071-3.740.011

FUNCTION: SceCodecEngineWrapper_DE5EF6CC
FUNCTION_NID: 0xDE5EF6CC 1.800.071-3.740.011