SceKernelDmacMgr: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Tags: mobile edit mobile web edit
Line 49: Line 49:
== SceDmacmgrForDriver ==
== SceDmacmgrForDriver ==


=== dmac_enter ===
=== sceKernelDmaOpAllocForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 58: Line 58:


Usages:
Usages:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 72: Line 71:
|}
|}


<source lang = "C">int dmac_enter(char* name);</source>
<source lang="C">int sceKernelDmaOpAllocForDriver(char* name);</source>


=== exec_dmac_command ===
=== sceKernelDmaOpAssignForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 82: Line 81:
|}
|}


executes [[Dmac5|Dmac5 command]]
Executes [[Dmac5|Dmac5 command]].


<source lang = "C">int exec_dmac_command(int id, int unk1, int unk2);</source>
<source lang="C">int sceKernelDmaOpAssignForDriver(int id, int unk1, int unk2);</source>


=== dmac_exit ===
=== sceKernelDmaOpFreeForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 94: Line 93:
|}
|}


<source lang = "C">int dmac_exit(int id);</source>
<source lang="C">int sceKernelDmaOpFreeForDriver(int id);</source>


=== sceDmacMemcpyForDriver ===
=== sceDmacMemcpyForDriver ===

Revision as of 22:40, 23 January 2019

Module

Known NIDs

Version Name World Privilege NID
1.69 SceKernelDmacMgr Non-secure Kernel 0x67E3D2D2
3.60 SceKernelDmacMgr Non-secure Kernel 0xF926C804

Libraries

Known NIDs

Version Name World Visibility NID
1.69-3.60 SceDmacmgrForDriver Non-secure Kernel 0xEB4E3738
3.60 SceDmacmgr Non-secure User 0xA9E5B2F0

Data segment layout

Address Size Description
0x0000 0x04 void* SceDmacmgrDmac0Reg membase
0x0004 0x04 void* SceDmacmgrDmac1Reg membase
0x0008 0x04 void* SceDmacmgrDmac2Reg membase
0x000C 0x04 void* SceDmacmgrDmac3Reg membase
0x0010 0x04 void* SceDmacmgrDmac4Reg membase
0x0014 0x04 void* SceDmacmgrDmac5Reg membase
0x0018 0x04 void* SceDmacmgrDmac6Reg membase
0x001C 0x1284

SceDmacmgrForDriver

sceKernelDmaOpAllocForDriver

Version NID
3.60 0x7CD5088A

Usages:

Module Name
SceSblSsMgr SceSblDmac5Common
SceDisplay SceDisplay
SceAudio SceSrcMix%d%d
SceCodecEngineWrapper SceVeneziaDmacMemcpy%02u, SceHwd0DmacMemcpy%02u
int sceKernelDmaOpAllocForDriver(char* name);

sceKernelDmaOpAssignForDriver

Version NID
3.60 0xFCE4171A

Executes Dmac5 command.

int sceKernelDmaOpAssignForDriver(int id, int unk1, int unk2);

sceKernelDmaOpFreeForDriver

Version NID
3.60 0xADFF1186
int sceKernelDmaOpFreeForDriver(int id);

sceDmacMemcpyForDriver

Version NID
3.60 0x00896B11

sceDmacMemsetForDriver

Version NID
3.60 0x4BAC049B

SceDmacmgr

sceDmacMemcpy

Version NID
3.60 0x9B2FF739

sceDmacMemset

Version NID
3.60 0xA4C33F11