SceDeci4pSDfMgr: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(→‎SceDeci4pSDfMgrForKernel: Add official name "sceSDfMgrRegisterExcpHandler" found in 0.990.030 SceDeci4pSDbgp)
(→‎SceDeci4pSDfMgrForKernel: Add SceDeci4pSDfMgrForKernel_8A3B06F2/memset)
Line 31: Line 31:


== SceDeci4pSDfMgrForKernel ==
== SceDeci4pSDfMgrForKernel ==
=== SceDeci4pSDfMgrForKernel_8A3B06F2 ===
{| class="wikitable"
|-
! Version !! NID
|-
| 0.990 || 0x8A3B06F2
|}
Equivalent to <code>memset</code>.
<source lang="C">void* SceDeci4pSDfMgrForKernel_8A3B06F2(void* dst, int ch, size_t len);</source>


=== sceSDfMgrUnregisterExcpHandlerForKernel ===
=== sceSDfMgrUnregisterExcpHandlerForKernel ===
Line 83: Line 94:
           SceDeci4pSDfMgrForKernel_81E7C5BD: 0x81E7C5BD
           SceDeci4pSDfMgrForKernel_81E7C5BD: 0x81E7C5BD
           SceDeci4pSDfMgrForKernel_86CFC8C6: 0x86CFC8C6
           SceDeci4pSDfMgrForKernel_86CFC8C6: 0x86CFC8C6
          SceDeci4pSDfMgrForKernel_8A3B06F2: 0x8A3B06F2
           SceDeci4pSDfMgrForKernel_90E8D453: 0x90E8D453
           SceDeci4pSDfMgrForKernel_90E8D453: 0x90E8D453
           SceDeci4pSDfMgrForKernel_98AEC60E: 0x98AEC60E
           SceDeci4pSDfMgrForKernel_98AEC60E: 0x98AEC60E

Revision as of 16:13, 22 March 2022

Module

Version World Privilege
3.60-3.65 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
0.990-3.65 SceDeci4pSDfMgrForKernel Non-secure Kernel 0xA1386CB2

Types

#define SCE_SDFMGR_EXCP_TYPE_PABT  (0)
#define SCE_SDFMGR_EXCP_TYPE_DABT  (1)
#define SCE_SDFMGR_EXCP_TYPE_UNDEF (2)
#define SCE_SDFMGR_EXCP_TYPE_BUS   (3)

typedef int (* SceSDfMgrExceptionCallback)(SceExcpmgrExceptionContext *context, SceUInt32 pc, SceUInt32 cpsr);

SceDeci4pSDfMgrForKernel

SceDeci4pSDfMgrForKernel_8A3B06F2

Version NID
0.990 0x8A3B06F2

Equivalent to memset.

void* SceDeci4pSDfMgrForKernel_8A3B06F2(void* dst, int ch, size_t len);

sceSDfMgrUnregisterExcpHandlerForKernel

Version NID
0.990 0xB050A0D5

Guessed name was sceSDfMgrUnregisterCpuExcpCallbackForKernel. This name is a deduction from sceSDfMgrRegisterExcpHandlerForKernel.

Unregisters an exception handler previously registered using sceSDfMgrRegisterExcpHandlerForKernel.

//Returns 0x80090001 if type >= 4, or func isn't the already registered callback
SceInt32 sceSDfMgrUnregisterExcpHandlerForKernel(SceSDfMgrExceptionCallback func, SceUInt32 type);

sceSDfMgrRegisterExcpHandlerForKernel

Version NID
0.990-3.60 0x6BF5553C

Guessed name was sceSDfMgrRegisterCpuExcpCallbackForKernel.

Used by SceDeci4pSDbgp.

//Returns 0x80090001 if type >= 4
//Returns 0x80090003 if a callback is already registered for this type
SceInt32 sceSDfMgrRegisterExcpHandlerForKernel(SceSDfMgrExceptionCallback func, SceUInt32 type);
         SceDeci4pSDfMgrForKernel_0A6437B6: 0x0A6437B6
         SceDeci4pSDfMgrForKernel_11340BD4: 0x11340BD4
         SceDeci4pSDfMgrForKernel_152D98DF: 0x152D98DF
         SceUInt32 SceDeci4pSDfMgrForKernel_35238B8A(void); // sceDeci4pSDfMgrGetMemoryTypeForKernel
         SceDeci4pSDfMgrForKernel_3A25594F: 0x3A25594F
         SceDeci4pSDfMgrForKernel_4D974C08: 0x4D974C08
         SceDeci4pSDfMgrForKernel_4EA65698: 0x4EA65698
         SceDeci4pSDfMgrForKernel_501CE61D: 0x501CE61D
         SceDeci4pSDfMgrForKernel_58D7597A: 0x58D7597A
         SceDeci4pSDfMgrForKernel_5996E2DB: 0x5996E2DB
         SceDeci4pSDfMgrForKernel_59C077B3: 0x59C077B3
         SceDeci4pSDfMgrForKernel_682D0EFB: 0x682D0EFB
         SceDeci4pSDfMgrForKernel_68903C1D: 0x68903C1D
         SceDeci4pSDfMgrForKernel_81E7C5BD: 0x81E7C5BD
         SceDeci4pSDfMgrForKernel_86CFC8C6: 0x86CFC8C6
         SceDeci4pSDfMgrForKernel_90E8D453: 0x90E8D453
         SceDeci4pSDfMgrForKernel_98AEC60E: 0x98AEC60E
         SceDeci4pSDfMgrForKernel_9A653F19: 0x9A653F19
         int SceDeci4pSDfMgrForKernel_A55F5F0D(const void *func, void *a2, void *a3); // set some cb
         SceDeci4pSDfMgrForKernel_A963E333: 0xA963E333 // trigger some SGI
         SceDeci4pSDfMgrForKernel_B050A0D5: 0xB050A0D5
         SceDeci4pSDfMgrForKernel_B22B42FB: 0xB22B42FB
         SceDeci4pSDfMgrForKernel_B44083E1: 0xB44083E1
         SceDeci4pSDfMgrForKernel_BFB482D8: 0xBFB482D8
         SceDeci4pSDfMgrForKernel_C38EA67A: 0xC38EA67A
         SceDeci4pSDfMgrForKernel_CF4A3E03: 0xCF4A3E03
         SceDeci4pSDfMgrForKernel_DAFE03AD: 0xDAFE03AD // maybe write sdbgsdio
         SceDeci4pSDfMgrForKernel_E53400AE: 0xE53400AE
         SceDeci4pSDfMgrForKernel_EDFBA012: 0xEDFBA012
         SceDeci4pSDfMgrForKernel_F43F5941: 0xF43F5941 // maybe read sdbgsdio
         SceDeci4pSDfMgrForKernel_FCF211FB: 0xFCF211FB
         void SceDeci4pSDfMgrForKernel_FFC95B63(void *a1, int a2); // set some param