SceDeci4pSDbgp: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
(Reformulate functionalities + move protocol/debugger to dedicated page)
 
(2 intermediate revisions by one other user not shown)
Line 55: Line 55:
<source lang="C">SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);</source>
<source lang="C">SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);</source>


== SDbgp's functionalities ==
== Functionalities ==


=== sysmemChecker ===
=== Protocol ===


sdbgp starts sysmemChecker if DIP switch 224 is on.
It is possible to interact with SDbgp from host computer via PSP2TMAPI. See [[Dbgp protocol]] for details.


sysmemChecker has 4 operations:
=== Background Sysmem Checker ===
   0: verify heap
 
If DIP switch 224 is on, SceDeci4pSDbgp creates a workqueue and schedules the <code>sysmemChecker</code> task on it.
 
The Sysmem checker performs one check at a time before scheduling the next one (modulo 3).
A 20 seconds delay is observed after check completion before scheduling the next check on the workqueue.
 
The checks are performed in this order:
   0: Verify Sysmem heap
   1: PhyMemPart check
   1: PhyMemPart check
   2: Partition check
   2: Partition check
   3: FixedHeap check
   3: FixedHeap check


=== Unknown system debugger ===
[[Category:ARM]]
 
[[Category:Kernel]]
sdbgp has probably an unknown debugger via [[UART_Console|UART6]].
 
 
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 15:18, 1 November 2023

DECI4P System Debug Process.

Module

Version World Privilege
1.800.071-3.720.011 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.800.071-3.720.011 SceDeci4pSdbgpForKernel Non-secure Kernel 0x085209B0
1.800.071-3.720.011 SceDeci4pSdbgpTest Non-secure User 0x900E5367

SceDeci4pSdbgpTest

SceDeci4pSdbgpTest_B671059C

Version NID
2.100.081-3.720.011 0xB671059C
int SceDeci4pSdbgpTest_B671059C(void);

sceDeci4pSdbgpTestGetTimeStamp

Version NID
2.100.081-3.720.011 0x50DA251E
int sceDeci4pSdbgpTestGetTimeStamp(SceSize max, char *dst);

sceDeci4pSdbgpTestFindMemBlock

Version NID
1.800.071-3.720.011 0x462DC57D
SceUID sceDeci4pSdbgpTestFindMemBlock(int flags, void *addr, SceSize size);

Functionalities

Protocol

It is possible to interact with SDbgp from host computer via PSP2TMAPI. See Dbgp protocol for details.

Background Sysmem Checker

If DIP switch 224 is on, SceDeci4pSDbgp creates a workqueue and schedules the sysmemChecker task on it.

The Sysmem checker performs one check at a time before scheduling the next one (modulo 3). A 20 seconds delay is observed after check completion before scheduling the next check on the workqueue.

The checks are performed in this order:

 0: Verify Sysmem heap
 1: PhyMemPart check
 2: Partition check
 3: FixedHeap check