ScePfsMgr: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 38: Line 38:
| 0x0040 || 0x20 || [[SceIofilemgr#sceVfsAddVfs|vfs_add_data]] <code>PFS_AC_INF</code> node (<code>AC Pseudo Drive.</code>)
| 0x0040 || 0x20 || [[SceIofilemgr#sceVfsAddVfs|vfs_add_data]] <code>PFS_AC_INF</code> node (<code>AC Pseudo Drive.</code>)
|-
|-
| 0x0060 || 0xD20 || unknown
| 0x0060 || 0xE0 || unknown
|-
|-
| 0x0D80 || 4 || mutex SceUID <code>ScePfsCryptBufMutexVC</code>
| 0x0140 || 0x4 || unknown
|-
|-
| 0x0D84 || 4 || mutex SceUID <code>ScePfsCryptBufMutexRM</code>
| 0x0144 || 0x4 || unknown
|-
|-
| 0x0D88 || 4 || mutex SceUID <code>ScePfsCryptBufMutexEMMC</code>
| 0x0148 || 0x4 || unknown
|-
|-
| 0x0D8C || 4 || memblock SceUID <code>ScePfsCryptBufVC</code> - size 0x40000
| 0x014C || 0x4 || unknown
|-
|-
| 0x0D90 || 4 || memblock SceUID <code>ScePfsCryptBufVCForShared</code>
| 0x0150 || 0x4 || unknown
|-
|-
| 0x0D94 || 4 || memblock base of <code>ScePfsCryptBufVC</code>
| 0x0154 || 0x4 || unknown
|-
|-
| 0x0D98 || 4 || memblock base of <code>ScePfsCryptBufVCForShared</code>
| 0x0158 || 0x4 || unknown
|-
|-
| 0x0D9C || 4 || 0x000000FF
| 0x015C || 0x4 || unknown
|-
|-
| 0x0DA0 || 4 || memblock SceUID <code>ScePfsCryptBufRM</code> - size 0x40000
| 0x0160 || 0x4 || unknown
|-
|-
| 0x0DA4 || 4 || memblock SceUID <code>ScePfsCryptBufRMForShared</code>
| 0x0164 || 0x4 || unknown
|-
|-
| 0x0DA8 || 4 || memblock base of <code>ScePfsCryptBufRM</code>
| 0x0168 || 0xC18 || unknown
|-
|-
| 0x0DAC || 4 || memblock base of <code>ScePfsCryptBufRMForShared</code>
| 0x0D80 || 0x4 || mutex SceUID <code>ScePfsCryptBufMutexVC</code>
|-
|-
| 0x0DB0 || 4 || 0x000000FF
| 0x0D84 || 0x4 || mutex SceUID <code>ScePfsCryptBufMutexRM</code>
|-
|-
| 0x0DB4 || 4 || memblock SceUID <code>ScePfsCryptBufEMM</code> - size 0x40000
| 0x0D88 || 0x4 || mutex SceUID <code>ScePfsCryptBufMutexEMMC</code>
|-
|-
| 0x0DB8 || 4 || memblock SceUID <code>ScePfsCryptBufEMMCForShared</code>
| 0x0D8C || 0x4 || memblock SceUID <code>ScePfsCryptBufVC</code> - size 0x40000
|-
|-
| 0x0DBC || 4 || memblock base of <code>ScePfsCryptBufEMM</code>
| 0x0D90 || 0x4 || memblock SceUID <code>ScePfsCryptBufVCForShared</code>
|-
|-
| 0x0DC0 || 4 || memblock base of <code>ScePfsCryptBufEMMCForShared</code>
| 0x0D94 || 0x4 || memblock base of <code>ScePfsCryptBufVC</code>
|-
|-
| 0x0DC4 || 4 || 0x000000FF
| 0x0D98 || 0x4 || memblock base of <code>ScePfsCryptBufVCForShared</code>
|-
|-
| 0x0DC8 || 4 || cond SceUID <code>ScePfsCryptBufCondVarVC</code>
| 0x0D9C || 0x4 || 0x000000FF
|-
|-
| 0x0DCC || 4 || cond SceUID <code>ScePfsCryptBufCondVarRM</code>
| 0x0DA0 || 0x4 || memblock SceUID <code>ScePfsCryptBufRM</code> - size 0x40000
|-
|-
| 0x0DD0 || 4 || cond SceUID <code>ScePfsCryptBufCondVarEMMC</code>
| 0x0DA4 || 0x4 || memblock SceUID <code>ScePfsCryptBufRMForShared</code>
|-
| 0x0DA8 || 0x4 || memblock base of <code>ScePfsCryptBufRM</code>
|-
| 0x0DAC || 0x4 || memblock base of <code>ScePfsCryptBufRMForShared</code>
|-
| 0x0DB0 || 0x4 || 0x000000FF
|-
| 0x0DB4 || 0x4 || memblock SceUID <code>ScePfsCryptBufEMM</code> - size 0x40000
|-
| 0x0DB8 || 0x4 || memblock SceUID <code>ScePfsCryptBufEMMCForShared</code>
|-
| 0x0DBC || 0x4 || memblock base of <code>ScePfsCryptBufEMM</code>
|-
| 0x0DC0 || 0x4 || memblock base of <code>ScePfsCryptBufEMMCForShared</code>
|-
| 0x0DC4 || 0x4 || 0x000000FF
|-
| 0x0DC8 || 0x4 || cond SceUID <code>ScePfsCryptBufCondVarVC</code>
|-
| 0x0DCC || 0x4 || cond SceUID <code>ScePfsCryptBufCondVarRM</code>
|-
| 0x0DD0 || 0x4 || cond SceUID <code>ScePfsCryptBufCondVarEMMC</code>
|-
|-
|}
|}

Revision as of 23:14, 1 June 2017

Module

Known NIDs

Version Name World Privilege NID
1.69 ScePfsMgr Non-secure Kernel 0x3CF10F0
3.60 ScePfsMgr ? Kernel 0x538BA86B

Libraries

Known NIDs

Version Name World Visibility NID
1.69 ScePfsMgrForKernel Non-secure Kernel 0xA067B56F
3.60 ScePfsMgrForKernel ? Kernel 0xA067B56F
3.60 ScePfsFacadeForKernel ? Kernel 0xC26DC7BD

Data segment layout

Address Size Description
0x0000 0x20 vfs_add_data PFS_REDIRECT_INF node (Redirect Pseudo Drive.)
0x0020 0x20 vfs_add_data PFS_GDSD_INF node (Gamedata/Savedata Pseudo Drive.)
0x0040 0x20 vfs_add_data PFS_AC_INF node (AC Pseudo Drive.)
0x0060 0xE0 unknown
0x0140 0x4 unknown
0x0144 0x4 unknown
0x0148 0x4 unknown
0x014C 0x4 unknown
0x0150 0x4 unknown
0x0154 0x4 unknown
0x0158 0x4 unknown
0x015C 0x4 unknown
0x0160 0x4 unknown
0x0164 0x4 unknown
0x0168 0xC18 unknown
0x0D80 0x4 mutex SceUID ScePfsCryptBufMutexVC
0x0D84 0x4 mutex SceUID ScePfsCryptBufMutexRM
0x0D88 0x4 mutex SceUID ScePfsCryptBufMutexEMMC
0x0D8C 0x4 memblock SceUID ScePfsCryptBufVC - size 0x40000
0x0D90 0x4 memblock SceUID ScePfsCryptBufVCForShared
0x0D94 0x4 memblock base of ScePfsCryptBufVC
0x0D98 0x4 memblock base of ScePfsCryptBufVCForShared
0x0D9C 0x4 0x000000FF
0x0DA0 0x4 memblock SceUID ScePfsCryptBufRM - size 0x40000
0x0DA4 0x4 memblock SceUID ScePfsCryptBufRMForShared
0x0DA8 0x4 memblock base of ScePfsCryptBufRM
0x0DAC 0x4 memblock base of ScePfsCryptBufRMForShared
0x0DB0 0x4 0x000000FF
0x0DB4 0x4 memblock SceUID ScePfsCryptBufEMM - size 0x40000
0x0DB8 0x4 memblock SceUID ScePfsCryptBufEMMCForShared
0x0DBC 0x4 memblock base of ScePfsCryptBufEMM
0x0DC0 0x4 memblock base of ScePfsCryptBufEMMCForShared
0x0DC4 0x4 0x000000FF
0x0DC8 0x4 cond SceUID ScePfsCryptBufCondVarVC
0x0DCC 0x4 cond SceUID ScePfsCryptBufCondVarRM
0x0DD0 0x4 cond SceUID ScePfsCryptBufCondVarEMMC

ScePfsMgrForKernel

ScePfsFacadeForKernel

t_scePfsFacadeReadForDriver

Version NID
3.60 0xBD5B21F6

This is a thread callback used by SceIofilemgr

This function is not implemented and throws 0x8014231C error

int t_scePfsFacadeReadForDriver(sceIoReadForDriver_args *args);

t_scePfsFacadeWriteForDriver

Version NID
3.60 0xCB622FFE

This is a thread callback used by SceIofilemgr

int t_scePfsFacadeWriteForDriver(sceIoWriteForDriver_args *args);

t_scePfsFacadePreadForDriver

Version NID
3.60 0x4238D2D2

This is a thread callback used by SceIofilemgr

int t_scePfsFacadePreadForDriver(sceIoPreadForDriver_args *args);

t_scePfsFacadePwriteForDriver

Version NID
3.60 0x58E643C5

This is a thread callback used by SceIofilemgr

int t_scePfsFacadePwriteForDriver(sceIoPwriteForDriver_args *args);